]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-macros-ac.patch
- compress debuginfo sections with zlib (reduce /usr/lib/debug size).
[packages/rpm.git] / rpm-macros-ac.patch
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
3 @@ -198,7 +198,7 @@
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\
9  AutoReqProv: 0\
10  %description debuginfo\
11  This package provides debug information for package %{name}.\
12 @@ -243,8 +243,8 @@
13  %_srcrpmdir            %{_topdir}/SRPMS
14  
15  #      Directory where temporary files can be created.
16 -%_tmppath              %(echo "${TMPDIR:-/tmp}")
17 -%tmpdir                        %{_tmppath}
18 +%_tmppath              %{expand:%%global _tmppath %(echo "${TMPDIR:-/tmp}")}%_tmppath
19 +%tmpdir                        %{expand:%%global tmpdir %(echo "${TMPDIR:-/tmp}")}%tmpdir
20  
21  #      Path to top of build area.
22  %_topdir               %(echo $HOME)/rpm
23 @@ -277,6 +277,9 @@
24  #
25  #%distribution
26  
27 +# PLD Linux Release
28 +%pld_release   ac
29 +
30  #      Configurable distribution URL, same as DistURL: tag in a specfile.
31  #      The URL will be used to supply reliable information to tools like
32  #      rpmfind.
33 @@ -1178,6 +1181,7 @@
34  %_infodir              %{_prefix}/share/info
35  %_mandir               %{_prefix}/share/man
36  %_localedir            %{_datadir}/locale
37 +%_x_libraries  /usr/X11R6/%{_lib}
38  
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
45 -
46  # PLD rpm macros
47  %_enable_debug_packages 1
48  
49  #-----------------------------------------------------------------
50  # CFLAGS and LDFLAGS used to build
51  
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}}
54  
55  %debugcflags   -O0 -g -Wall
56 +%debugcppflags %{nil}
57 +%optldflags            -Wl,--as-needed
58 +%optcppflags   %{nil}
59  
60  # Warning: those macros are overwritten by macros.build,
61  #          left here for compatibility
62 @@ -1497,7 +1504,7 @@
63  #
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
68  
69  # \endverbatim
70  #*/
This page took 0.031485 seconds and 3 git commands to generate.