/[packages]/updates/1/rpm/current/SPECS/rpm.spec
ViewVC logotype

Diff of /updates/1/rpm/current/SPECS/rpm.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 25213 by blino, Thu Jan 20 01:49:48 2011 UTC revision 46862 by dmorgan, Fri Feb 4 10:41:42 2011 UTC
# Line 50  Line 50 
50  %define __find_requires %{rpmdir}/%{_real_vendor}/find-requires %{?buildroot:%{buildroot}} %{?_target_cpu:%{_target_cpu}}  %define __find_requires %{rpmdir}/%{_real_vendor}/find-requires %{?buildroot:%{buildroot}} %{?_target_cpu:%{_target_cpu}}
51  %define __find_provides %{rpmdir}/%{_real_vendor}/find-provides  %define __find_provides %{rpmdir}/%{_real_vendor}/find-provides
52    
53  %define rpmversion      4.6.1  %define rpmversion      4.8.0
54  %define srcver          %rpmversion  %define srcver          %rpmversion
55  %define libver          4.6  %define libver          4.8
56  %define release         %mkrel 10  %define libmajor        1
57  %define librpmname      %mklibname rpm  %{libver}  %define release         %mkrel 1
58    %define librpmname   %mklibname rpm  %{libmajor}
59  %define librpmnamedevel %mklibname -d rpm  %define librpmnamedevel %mklibname -d rpm
60    
61  %define buildpython 1  %define buildpython 1
# Line 109  Patch70:       rpm-4.6.0-rc1-bb-shortcircuit.p Line 110  Patch70:       rpm-4.6.0-rc1-bb-shortcircuit.p
110  # http://www.redhat.com/archives/rpm-list/2005-April/msg00131.html  # http://www.redhat.com/archives/rpm-list/2005-April/msg00131.html
111  # http://www.redhat.com/archives/rpm-list/2005-April/msg00132.html  # http://www.redhat.com/archives/rpm-list/2005-April/msg00132.html
112  # is this useful? "at least erasure ordering is just as non-existent as it was in 4.4.x" says Panu  # is this useful? "at least erasure ordering is just as non-existent as it was in 4.4.x" says Panu
113  Patch71:    rpm-4.6.0-ordererase.patch  +#with rpm 4.8.0, breaks urpmi testsuite (ordering-scriptlets)
114    +#Patch71:    rpm-4.6.0-ordererase.patch#with rpm 4.8.0, breaks urpmi testsuite (ordering-scriptlets)
115    #Patch71:    rpm-4.6.0-ordererase.patch
116    
117  # don't conflict for doc files  # don't conflict for doc files
118  # (to be able to install lib*-devel together with lib64*-devel even if they have conflicting manpages)  # (to be able to install lib*-devel together with lib64*-devel even if they have conflicting manpages)
# Line 126  Patch111: rpm-check-file-trim-double-sla Line 129  Patch111: rpm-check-file-trim-double-sla
129  Patch114: rpm-4.6.0-rc1-read-macros_d-dot-macros.patch  Patch114: rpm-4.6.0-rc1-read-macros_d-dot-macros.patch
130    
131  # remove unused skipDir functionality that conflicts with patch124 below  # remove unused skipDir functionality that conflicts with patch124 below
132  Patch1124: rpm-4.6.0-rc1-revert-unused-skipDir-functionality.patch  #Patch1124: rpm-4.6.0-rc1-revert-unused-skipDir-functionality.patch
133    
134  # [pixel] without this patch, "rpm -e" or "rpm -U" will need to stat(2) every dirnames of  # [pixel] without this patch, "rpm -e" or "rpm -U" will need to stat(2) every dirnames of
135  # files from the package (eg COPYING) in the db. This is quite costly when not in cache  # files from the package (eg COPYING) in the db. This is quite costly when not in cache
136  # (eg on a test here: >300 stats, and so 3 seconds after a "echo 3 > /proc/sys/vm/drop_caches")  # (eg on a test here: >300 stats, and so 3 seconds after a "echo 3 > /proc/sys/vm/drop_caches")
137  # this breaks urpmi test case test_rpm_i_fail('gd') in superuser--file-conflicts.t,  # this breaks urpmi test case test_rpm_i_fail('gd') in superuser--file-conflicts.t,
138  # but this is bad design anyway  # but this is bad design anyway
139  Patch124: rpm-4.6.0-rc1-speedup-by-not-checking-same-files-with-different-paths-through-symlink.patch  #Patch124: rpm-4.6.0-rc1-speedup-by-not-checking-same-files-with-different-paths-through-symlink.patch
140    
141  # [from SuSE] handle "Suggests" via RPMTAG_SUGGESTSNAME  # [from SuSE] handle "Suggests" via RPMTAG_SUGGESTSNAME
142  Patch133: rpm-4.6.0-rc1-weakdeps.patch  Patch133: rpm-4.6.0-rc1-weakdeps.patch
# Line 141  Patch133: rpm-4.6.0-rc1-weakdeps.patch Line 144  Patch133: rpm-4.6.0-rc1-weakdeps.patch
144  # convert data in the header to a specific encoding which used in the selected locale.  # convert data in the header to a specific encoding which used in the selected locale.
145  Patch137: rpm-4.6.0-rc1-headerIconv.patch  Patch137: rpm-4.6.0-rc1-headerIconv.patch
146    
 Patch140: rpm-russian-translation.patch  
   
147  # Mandriva does not need the (broken) ldconfig hack since it uses filetriggers  # Mandriva does not need the (broken) ldconfig hack since it uses filetriggers
148  Patch141: rpm-4.6.0-rc1-drop-skipping-ldconfig-hack.patch  #Patch141: rpm-4.6.0-rc1-drop-skipping-ldconfig-hack.patch
149    
150  # without this patch, "#%define foo bar" is surprisingly equivalent to "%define foo bar"  # without this patch, "#%define foo bar" is surprisingly equivalent to "%define foo bar"
151  # with this patch, "#%define foo bar" is a fatal error  # with this patch, "#%define foo bar" is a fatal error
# Line 165  Patch157: introduce-_after_setup-which-i Line 166  Patch157: introduce-_after_setup-which-i
166  Patch158: introduce-_patch-and-allow-easy-override-when-the-p.patch  Patch158: introduce-_patch-and-allow-easy-override-when-the-p.patch
167  Patch159: introduce-apply_patches-and-lua-var-patches_num.patch  Patch159: introduce-apply_patches-and-lua-var-patches_num.patch
168    
 # fixes backported from 4.7.1, see patch files for full changelog entries  
 # fixes ignored Requires(pre) and (post) when they have a plain Requires counterpart  
 Patch161: rpm-fix-corequisites.patch  
 Patch162: rpm-fix-islegacyprereq.patch  
 # map PreReq into Requires(pre,preun) at build  
 Patch163: rpm-map-prereq.patch  
   
169  # avoid "canonicalization unexpectedly shrank by one character" error from  # avoid "canonicalization unexpectedly shrank by one character" error from
170  # debugedit by adding '/' to the end of the string when the error would be  # debugedit by adding '/' to the end of the string when the error would be
171  # triggered  # triggered
# Line 186  Patch165: rpm-4.6.0-fix-debugedit-canoni Line 180  Patch165: rpm-4.6.0-fix-debugedit-canoni
180  # default behaviour in rpm-jbj >= 4.4.6  # default behaviour in rpm-jbj >= 4.4.6
181  Patch1005: rpm-allow-conflicting-ghost-files.patch  Patch1005: rpm-allow-conflicting-ghost-files.patch
182    
 # (nb: see the patch for more info about this issue)  
 Patch1006: rpm-4.6.0-rc1-compat-PayloadIsLzma.patch  
   
183  Patch1007: rpm-4.6.0-rc3-xz-support.patch  Patch1007: rpm-4.6.0-rc3-xz-support.patch
184    
185  # Prevents $DOCDIR from being wiped out when using %%doc <fileinbuilddir>,  # Prevents $DOCDIR from being wiped out when using %%doc <fileinbuilddir>,
# Line 200  Patch1008: rpm-4.6.0-rc3-no_rm_-rf_DOCDI Line 191  Patch1008: rpm-4.6.0-rc3-no_rm_-rf_DOCDI
191  # will only make rpm recognize these, not implement actual support for them..  # will only make rpm recognize these, not implement actual support for them..
192  Patch1009: rpm-4.6.0-rpm5-tags.patch  Patch1009: rpm-4.6.0-rpm5-tags.patch
193    
 # Avoid adding Lua sources/patches twice when recursing. (backport from upstream git)  
 Patch1010: rpm-4.6.0-lua-add-sources-and-patches-only-once.patch  
   
194  # Check chroot return code before running lua script  # Check chroot return code before running lua script
195  Patch1011: rpm-4.6.0-do-not-run-lua-scripts-when-chroot-fails.patch  Patch1011: rpm-4.6.0-do-not-run-lua-scripts-when-chroot-fails.patch
196    
# Line 233  PAtch1018: rpm-4.6.1-setup-rubygems.patc Line 221  PAtch1018: rpm-4.6.1-setup-rubygems.patc
221    
222  # Turbolinux patches  # Turbolinux patches
223  # add writeHeaderListTofile function into rpm-python (needed by "buildman" build system) (Toshihiro, 2003)  # add writeHeaderListTofile function into rpm-python (needed by "buildman" build system) (Toshihiro, 2003)
224  Patch2002: rpm-4.6.0-rc1-python-writeHdlist.patch  #Patch2002: rpm-4.6.0-rc1-python-writeHdlist.patch
225  # Crusoe CPUs say that their CPU family is "5" but they have enough features for i686.  # Crusoe CPUs say that their CPU family is "5" but they have enough features for i686.
226  Patch2003: rpm-4.4.2.3-rc1-transmeta-crusoe-is-686.patch  Patch2003: rpm-4.4.2.3-rc1-transmeta-crusoe-is-686.patch
227    
# Line 625  fi Line 613  fi
613  %rpmattr        %{_prefix}/lib/rpm/brp-*  %rpmattr        %{_prefix}/lib/rpm/brp-*
614  %rpmattr        %{_prefix}/lib/rpm/check-files  %rpmattr        %{_prefix}/lib/rpm/check-files
615  %rpmattr        %{_prefix}/lib/rpm/debugedit  %rpmattr        %{_prefix}/lib/rpm/debugedit
616    %rpmattr        %{_prefix}/lib/rpm/desktop-file.prov
617  %rpmattr        %{_prefix}/lib/rpm/find-debuginfo.sh  %rpmattr        %{_prefix}/lib/rpm/find-debuginfo.sh
618  %rpmattr        %{_prefix}/lib/rpm/find-lang.sh  %rpmattr        %{_prefix}/lib/rpm/find-lang.sh
619  %rpmattr        %{_prefix}/lib/rpm/find-provides  %rpmattr        %{_prefix}/lib/rpm/find-provides
620  %rpmattr        %{_prefix}/lib/rpm/find-requires  %rpmattr        %{_prefix}/lib/rpm/find-requires
621    %rpmattr        %{_prefix}/lib/rpm/fontconfig.prov
622  %rpmattr        %{_prefix}/lib/rpm/perldeps.pl  %rpmattr        %{_prefix}/lib/rpm/perldeps.pl
623  %rpmattr        %{_prefix}/lib/rpm/perl.prov  %rpmattr        %{_prefix}/lib/rpm/perl.prov
624  %rpmattr        %{_prefix}/lib/rpm/perl.req  %rpmattr        %{_prefix}/lib/rpm/perl.req
# Line 644  fi Line 634  fi
634  %rpmattr        %{_prefix}/lib/rpm/macros.python  %rpmattr        %{_prefix}/lib/rpm/macros.python
635  %rpmattr        %{_prefix}/lib/rpm/mono-find-provides  %rpmattr        %{_prefix}/lib/rpm/mono-find-provides
636  %rpmattr        %{_prefix}/lib/rpm/mono-find-requires  %rpmattr        %{_prefix}/lib/rpm/mono-find-requires
637    %rpmattr        %{_prefix}/lib/rpm/ocaml-find-provides.sh
638    %rpmattr        %{_prefix}/lib/rpm/ocaml-find-requires.sh
639  %rpmattr        %{_prefix}/lib/rpm/osgideps.pl  %rpmattr        %{_prefix}/lib/rpm/osgideps.pl
640  %rpmattr        %{_prefix}/lib/rpm/pkgconfigdeps.sh  %rpmattr        %{_prefix}/lib/rpm/pkgconfigdeps.sh
641  %rpmattr        %{_prefix}/lib/rpm/rpmdiff  %rpmattr        %{_prefix}/lib/rpm/rpmdiff
# Line 663  fi Line 655  fi
655    
656  %files -n %librpmname  %files -n %librpmname
657  %defattr(-,root,root)  %defattr(-,root,root)
658  %{_libdir}/librpm-%{libver}.so  %{_libdir}/librpm.so.%{libmajor}*
659  %{_libdir}/librpmio-%{libver}.so  %{_libdir}/librpmio.so.%{libmajor}*
660  %{_libdir}/librpmbuild-%{libver}.so  %{_libdir}/librpmbuild.so.%{libmajor}*
661    
662  %files -n %librpmnamedevel  %files -n %librpmnamedevel
663  %defattr(-,root,root)  %defattr(-,root,root)

Legend:
Removed from v.25213  
changed lines
  Added in v.46862

  ViewVC Help
Powered by ViewVC 1.1.30