1 --- rpm-4.5/macros.in~ 2011-10-01 14:15:08.000000000 +0300
2 +++ rpm-4.5/macros.in 2011-10-01 14:55:12.132616372 +0300
4 Summary: Debug information for package %{name}\
5 Summary(pl.UTF-8): Informacje dla debuggera dla pakietu %{name}\
6 Group: Development/Debug\
7 -Requires: filesystem-debuginfo >= 3.0-16\
8 +Requires: filesystem-debuginfo >= 2.0-7\
10 %description debuginfo\
11 This package provides debug information for package %{name}.\
13 %_srcrpmdir %{_topdir}/SRPMS
15 # Directory where temporary files can be created.
16 -%_tmppath %(echo "${TMPDIR:-/tmp}")
18 +%_tmppath %{expand:%%global _tmppath %(echo "${TMPDIR:-/tmp}")}%_tmppath
19 +%tmpdir %{expand:%%global tmpdir %(echo "${TMPDIR:-/tmp}")}%tmpdir
21 # Path to top of build area.
22 %_topdir %(echo $HOME)/rpm
30 # Configurable distribution URL, same as DistURL: tag in a specfile.
31 # The URL will be used to supply reliable information to tools like
34 %_infodir %{_prefix}/share/info
35 %_mandir %{_prefix}/share/man
36 %_localedir %{_datadir}/locale
37 +%_x_libraries /usr/X11R6/%{_lib}
39 #==============================================================================
40 # ---- config.guess platform macros.
41 @@ -1475,16 +1475,18 @@
42 #%__executable_provides %{_rpmhome}/executabledeps.sh --provides
43 #%__executable_requires %{_rpmhome}/executabledeps.sh --requires
44 #%__scriptlet_requires /bin/bash --rpm-requires
47 %_enable_debug_packages 1
49 #-----------------------------------------------------------------
50 # CFLAGS and LDFLAGS used to build
52 -%debuginfocflags %{expand:%%define __dic_%{?_enable_debug_packages} 1}%{?__dic_1: -gdwarf-3 -g2}%{expand:%%undefine __dic_%{?_enable_debug_packages}}
53 +%debuginfocflags %{expand:%%define __dic_%{?_enable_debug_packages} 1}%{?__dic_1: -gdwarf-2 -g2}%{expand:%%undefine __dic_%{?_enable_debug_packages}}
55 %debugcflags -O0 -g -Wall
56 +%debugcppflags %{nil}
57 +%optldflags -Wl,--as-needed
60 # Warning: those macros are overwritten by macros.build,
61 # left here for compatibility
64 # Note: Used if _use_internal_dependency_generator is non-zero. The
65 # helper is also used by %{_rpmhome}/rpmdeps --provides
66 -%__mimetype_provides %{_rpmhome}/mimetypedeps.sh --provides
67 +#%__mimetype_provides %{_rpmhome}/mimetypedeps.sh --provides