1 diff -urN rpm-4.5/macros.in rpm-4.5.new//macros.in
2 --- rpm-4.5/macros.in 2010-05-28 20:56:02.854032755 +0200
3 +++ rpm-4.5.new//macros.in 2010-05-28 20:59:04.177348180 +0200
11 # Configurable distribution URL, same as DistURL: tag in a specfile.
12 # The URL will be used to supply reliable information to tools like
15 # Note: Used iff _use_internal_dependency_generator is non-zero. The
16 # helpers are also used by %{_rpmhome}/rpmdeps {--provides|--requires}.
17 %__libtool_provides %{_rpmhome}/libtooldeps.sh --provides %{buildroot} %{name}
18 -%__libtool_requires %{_rpmhome}/libtooldeps.sh --requires %{buildroot} %{name}
19 +%__libtool_requires %{nil}
21 #------------------------------------------------------------------------
22 # pkgconfig(...) configuration.
24 # Note: Used iff _use_internal_dependency_generator is non-zero. The
25 # helpers are also used by %{_rpmhome}/rpmdeps {--provides|--requires}.
26 %__pkgconfig_provides %{_rpmhome}/pkgconfigdeps.sh --provides
27 -%__pkgconfig_requires %{_rpmhome}/pkgconfigdeps.sh --requires
28 +%__pkgconfig_requires %{nil}
30 #------------------------------------------------------------------------
31 # executable(...) configuration.
33 # -feliminate-dwarf2-dups disabled until PR ld/3290 is fixed.
35 %debugcflags -O0 -g -Wall
36 +%optldflags -Wl,--as-needed
39 # Warning: those macros are overwritten by macros.build,
40 # left here for compatibility