1 --- rpm-4.5/macros.in 2008-09-03 16:47:30.861766714 +0300
2 +++ rpm-4.5/macros.in 2010-08-23 13:22:02.633790949 +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 @@ -1478,10 +1482,13 @@
42 #-----------------------------------------------------------------
43 # CFLAGS and LDFLAGS used to build
45 -%debuginfocflags %{expand:%%define __dic_%{?_enable_debug_packages} 1}%{?__dic_1: -gdwarf-3 -g2}%{expand:%%undefine __dic_%{?_enable_debug_packages}}
46 +%debuginfocflags %{expand:%%define __dic_%{?_enable_debug_packages} 1}%{?__dic_1: -gdwarf-2 -g2}%{expand:%%undefine __dic_%{?_enable_debug_packages}}
47 # -feliminate-dwarf2-dups disabled until PR ld/3290 is fixed.
49 %debugcflags -O0 -g -Wall
50 +%debugcppflags %{nil}
51 +%optldflags -Wl,--as-needed
54 # Warning: those macros are overwritten by macros.build,
55 # left here for compatibility
58 # Note: Used if _use_internal_dependency_generator is non-zero. The
59 # helper is also used by %{_rpmhome}/rpmdeps --provides
60 -%__mimetype_provides %{_rpmhome}/mimetypedeps.sh --provides
61 +#%__mimetype_provides %{_rpmhome}/mimetypedeps.sh --provides