]>
Commit | Line | Data |
---|---|---|
ebe974a8 AF |
1 | --- rpm-5.3.1/macros/macros.rpmbuild.in.wiget 2010-05-30 17:03:38.009271449 +0200 |
2 | +++ rpm-5.3.1/macros/macros.rpmbuild.in 2010-05-30 17:08:25.676741951 +0200 | |
3 | @@ -123,8 +123,8 @@ | |
4 | # "w6.lzdio" lzma level 6 (legacy, stable). | |
5 | # "w6.xzdio" xz level 6 (obsoletes lzma, unstable). | |
6 | # | |
7 | -#%_source_payload w9.gzdio | |
8 | -#%_binary_payload w9.gzdio | |
9 | +%_source_payload w9.gzdio | |
10 | +%_binary_payload w9.lzdio | |
11 | ||
12 | # Archive formats to use for source/binary package payloads. | |
13 | # "cpio" cpio archive (default) | |
14 | --- rpm-5.3.1/macros/macros.in.wiget 2010-05-30 17:03:38.009271449 +0200 | |
15 | +++ rpm-5.3.1/macros/macros.in 2010-05-30 17:06:26.886075137 +0200 | |
16 | @@ -150,7 +150,7 @@ pakietu oraz przy odpluskwianiu samego p | |
4d016095 AM |
17 | %endif\ |
18 | %{nil} | |
19 | ||
20 | -%_defaultdocdir %{_usr}/doc | |
21 | +%_defaultdocdir %{_usr}/share/doc | |
22 | ||
c9b276b0 JB |
23 | # The path to the pgp executable (legacy, use %{__pgp} instead). |
24 | %_pgpbin %{__pgp} | |
ebe974a8 | 25 | @@ -183,14 +183,14 @@ pakietu oraz przy odpluskwianiu samego p |
9282ffe4 AF |
26 | %_buildrootdir @BUILDROOTDIR_MACRO@ |
27 | ||
28 | # Build root path, where %install installs the package during build. | |
29 | -%buildroot %{_buildrootdir}/%{name}-root | |
30 | +%buildroot %{_tmppath}/%{name}-%{version}-root-%(id -u -n) | |
5bfda13a | 31 | |
c9b276b0 | 32 | -# Directory where temporaray files can be created. |
5bfda13a | 33 | -%_tmppath %{_var}/tmp |
c9b276b0 | 34 | +# Directory where temporary files can be created. |
5bfda13a | 35 | +%_tmppath %(echo "${TMPDIR:-/tmp}") |
c9b276b0 | 36 | %tmpdir %{_tmppath} |
e493253e ER |
37 | |
38 | # Path to top of build area. | |
fee89ffa | 39 | -%_topdir @PKGSRCDIR_MACRO@ |
dc6aae45 | 40 | +%_topdir %(echo $HOME)/rpm |
e493253e | 41 | |
c9b276b0 | 42 | #============================================================================== |
9282ffe4 | 43 | # ---- Optional macros. |
ebe974a8 AF |
44 | @@ -846,11 +846,11 @@ pakietu oraz przy odpluskwianiu samego p |
45 | %_datarootdir %{_prefix}/share | |
c9b276b0 JB |
46 | %_bindir %{_exec_prefix}/bin |
47 | %_sbindir %{_exec_prefix}/sbin | |
48 | -%_libexecdir %{_exec_prefix}/libexec | |
49 | +%_libexecdir %{_exec_prefix}/lib | |
ebe974a8 | 50 | %_datadir %{_datarootdir} |
c9b276b0 JB |
51 | -%_sysconfdir %{_prefix}/etc |
52 | -%_sharedstatedir %{_prefix}/com | |
53 | -%_localstatedir %{_prefix}/var | |
54 | +%_sysconfdir /etc | |
55 | +%_sharedstatedir /var/lib | |
56 | +%_localstatedir /var | |
57 | %_lib lib | |
58 | %_libdir %{_exec_prefix}/%{_lib} | |
3bf6878c | 59 | %_includedir %{_prefix}/include |
ebe974a8 | 60 | @@ -941,7 +941,33 @@ pakietu oraz przy odpluskwianiu samego p |
fee89ffa AM |
61 | # helpers are also used by %{_rpmhome}/rpmdeps {--provides|--requires}. |
62 | #%__executable_provides %{_rpmhome}/executabledeps.sh --provides | |
63 | #%__executable_requires %{_rpmhome}/executabledeps.sh --requires | |
fec17460 JR |
64 | -%__scriptlet_requires %{__bash} --rpm-requires |
65 | +#%__scriptlet_requires %{__bash} --rpm-requires | |
c9b276b0 | 66 | |
e493253e ER |
67 | +# PLD rpm macros |
68 | +%_enable_debug_packages 1 | |
69 | + | |
9ddee74b AM |
70 | +# provides don't obsolete |
71 | +%_upgrade_tag name | |
72 | + | |
e493253e ER |
73 | +#----------------------------------------------------------------- |
74 | +# CFLAGS and LDFLAGS used to build | |
75 | + | |
5dda5fa7 PS |
76 | +%debuginfocflags %{expand:%%define __dic_%{?_enable_debug_packages} 1}%{?__dic_1: -gdwarf-2 -g2}%{expand:%%undefine __dic_%{?_enable_debug_packages}} |
77 | +# -feliminate-dwarf2-dups disabled until PR ld/3290 is fixed. | |
e493253e ER |
78 | + |
79 | +%debugcflags -O0 -g -Wall | |
5b60995d | 80 | +%optldflags -Wl,--as-needed |
81 | + | |
82 | +# Warning: those macros are overwritten by macros.build, | |
83 | +# left here for compatibility | |
e493253e ER |
84 | +%rpmcflags %{?debug:%debugcflags}%{!?debug:%optflags}%{?debuginfocflags} |
85 | +%rpmcxxflags %{rpmcflags} | |
4126bfd3 | 86 | +%rpmldflags %{!?no_build_with_as_needed:-Wl,--as-needed} |
eb4e76ca AM |
87 | + |
88 | +# arch macros | |
89 | +%ix86 i386 i486 i586 i686 pentium3 pentium4 athlon | |
90 | +%x8664 x86_64 amd64 ia32e | |
91 | +%ppc ppc ppc7400 ppc7450 | |
c9b276b0 | 92 | + |
e493253e ER |
93 | # \endverbatim |
94 | #*/ |