packages: rpm/rpm-configure-autoconf.patch, rpm/rpm-macros.patch, rpm/rpm-o...

wiget wiget at pld-linux.org
Sun Apr 25 23:33:57 CEST 2010


Author: wiget                        Date: Sun Apr 25 21:33:57 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 5.2.0

---- Files affected:
packages/rpm:
   rpm-configure-autoconf.patch (1.1 -> 1.2) , rpm-macros.patch (1.47 -> 1.48) , rpm-old-fileconflicts-behaviour.patch (1.3 -> 1.4) , rpm.spec (1.926 -> 1.927) 

---- Diffs:

================================================================
Index: packages/rpm/rpm-configure-autoconf.patch
diff -u packages/rpm/rpm-configure-autoconf.patch:1.1 packages/rpm/rpm-configure-autoconf.patch:1.2
--- packages/rpm/rpm-configure-autoconf.patch:1.1	Thu Apr  8 23:45:00 2010
+++ packages/rpm/rpm-configure-autoconf.patch	Sun Apr 25 23:33:51 2010
@@ -1,11 +1,11 @@
---- rpm-5.1.9/configure.ac	2009-04-18 18:47:02.000000000 +0200
-+++ rpm-5.1.9/configure.ac.new	2010-04-08 23:26:48.148666508 +0200
-@@ -8,7 +8,7 @@
+--- rpm-5.2.0/configure.ac.wiget	2010-04-25 23:03:56.000000000 +0200
++++ rpm-5.2.0/configure.ac	2010-04-25 23:04:35.190129911 +0200
+@@ -8,7 +8,7 @@ dnl ##
  
- AC_PREREQ(2.60)
+ AC_PREREQ(2.63)
  AC_DEFUN([PACKAGE_BUGREPORT_DEFAULT], [rpm-devel at rpm5.org])
--AC_INIT(rpm, [5.1.9], [PACKAGE_BUGREPORT_DEFAULT])
-+AC_INIT(rpm, [5.1.9], PACKAGE_BUGREPORT_DEFAULT)
- PACKAGE_TIMESTAMP="2009-04-18" dnl # YYYY[-MM[-DD[ HH[:MM]]]]
+-AC_INIT([rpm],[5.2.0],[PACKAGE_BUGREPORT_DEFAULT])
++AC_INIT([rpm],[5.2.0],PACKAGE_BUGREPORT_DEFAULT)
+ PACKAGE_TIMESTAMP="2009" dnl # YYYY[-MM[-DD[ HH[:MM]]]]
  AC_MSG_TITLE([RPM Package Manager (RPM)], [$PACKAGE_VERSION])
  

================================================================
Index: packages/rpm/rpm-macros.patch
diff -u packages/rpm/rpm-macros.patch:1.47 packages/rpm/rpm-macros.patch:1.48
--- packages/rpm/rpm-macros.patch:1.47	Tue Oct 28 23:12:13 2008
+++ packages/rpm/rpm-macros.patch	Sun Apr 25 23:33:51 2010
@@ -1,7 +1,6 @@
-diff -urN rpm.org/macros.in rpm/macros.in
---- rpm.org/macros.in	2007-10-02 20:46:56.430390000 +0200
-+++ rpm/macros.in	2007-10-02 20:49:01.480941544 +0200
-@@ -213,7 +213,7 @@
+--- rpm-5.2.0/macros.in.wiget	2010-04-24 18:05:03.413900239 +0200
++++ rpm-5.2.0/macros.in	2010-04-24 18:06:23.963891557 +0200
+@@ -220,7 +220,7 @@ pakietu oraz przy odpluskwianiu samego p
  %endif\
  %{nil}
  
@@ -10,9 +9,12 @@
  
  #	The path to the pgp executable (legacy, use %{__pgp} instead).
  %_pgpbin		%{__pgp}
-@@ -242,12 +242,12 @@
- #	The directory where newly built source packages will be written.
- %_srcrpmdir		%{_topdir}/SRPMS
+@@ -253,14 +253,14 @@ pakietu oraz przy odpluskwianiu samego p
+ %_buildrootdir		@BUILDROOTDIR_MACRO@
+ 
+ #       Build root path, where %install installs the package during build.
+-%buildroot              %{_buildrootdir}/%{name}-root
++%buildroot		%{_tmppath}/%{name}-%{version}-root-%(id -u -n)
  
 -#	Directory where temporaray files can be created.
 -%_tmppath		%{_var}/tmp
@@ -25,19 +27,10 @@
 +%_topdir		%(echo $HOME)/rpm
  
  #==============================================================================
- # ---- Optional rpmrc macros.
-@@ -257,7 +257,7 @@
- #	Configurable build root path, same as BuildRoot: in a specfile.
- #	(Note: the configured macro value will override the spec file value).
- #
--%buildroot		%{_tmppath}/%{name}-root
-+%buildroot		%{_tmppath}/%{name}-%{version}-root-%(id -u -n)
- 
- #	The sub-directory (relative to %{_builddir}) where sources are compiled.
- #	This macro is set after processing %setup, either explicitly from the
-@@ -356,8 +356,8 @@
- #		"w9.bzdio"	bzip2 level 9.
- #		"w9.lzdio"	lzma level 9.
+ # ---- Optional macros.
+@@ -367,8 +367,8 @@ pakietu oraz przy odpluskwianiu samego p
+ #		"w6.lzdio"	lzma level 6 (legacy, stable).
+ #		"w6.xzdio"	xz level 6 (obsoletes lzma, unstable).
  #
 -#%_source_payload	w9.gzdio
 -#%_binary_payload	w9.gzdio
@@ -46,7 +39,7 @@
  
  #	Archive formats to use for source/binary package payloads.
  #		"cpio"		cpio archive (default)
-@@ -1224,17 +1224,17 @@
+@@ -1411,17 +1411,17 @@ print (t)\
  %_exec_prefix		%{_prefix}
  %_bindir		%{_exec_prefix}/bin
  %_sbindir		%{_exec_prefix}/sbin
@@ -69,8 +62,8 @@
 +%_mandir		%{_prefix}/share/man
  %_localedir		%{_datadir}/locale
  
- #==============================================================================
-@@ -1535,7 +1535,33 @@
+ %_initrddir		%{_sysconfdir}/rc.d/init.d
+@@ -1755,7 +1755,33 @@ PreReq: python >= %{python_version}, pyt
  # helpers are also used by %{_rpmhome}/rpmdeps {--provides|--requires}.
  #%__executable_provides	%{_rpmhome}/executabledeps.sh --provides
  #%__executable_requires	%{_rpmhome}/executabledeps.sh --requires

================================================================
Index: packages/rpm/rpm-old-fileconflicts-behaviour.patch
diff -u packages/rpm/rpm-old-fileconflicts-behaviour.patch:1.3 packages/rpm/rpm-old-fileconflicts-behaviour.patch:1.4
--- packages/rpm/rpm-old-fileconflicts-behaviour.patch:1.3	Tue Oct  2 15:12:40 2007
+++ packages/rpm/rpm-old-fileconflicts-behaviour.patch	Sun Apr 25 23:33:51 2010
@@ -1,23 +1,11 @@
---- rpm/lib/poptI.c.orig	2007-07-24 16:36:47.000000000 +0200
-+++ rpm/lib/poptI.c	2007-10-02 15:11:29.213848100 +0200
-@@ -17,7 +17,7 @@
+--- rpm-5.2.0/lib/poptI.c.wiget	2009-04-12 03:25:45.000000000 +0200
++++ rpm-5.2.0/lib/poptI.c	2010-04-25 22:59:14.467664549 +0200
+@@ -21,7 +21,7 @@ extern time_t get_date(const char * p, v
  /*@-fullinitblock@*/
  /*@unchecked@*/
  struct rpmQVKArguments_s rpmIArgs = {
--    .probFilter = (RPMPROB_FILTER_REPLACEOLDFILES | RPMPROB_FILTER_REPLACENEWFILES),
-+    .probFilter = 0,
- };
- /*@=fullinitblock@*/
- 
-@@ -275,10 +275,6 @@
- 	N_("skip files with leading component <path> "),
- 	N_("<path>") },
- 
-- { "fileconflicts", '\0', POPT_BIT_CLR, &rpmIArgs.probFilter,
--	(RPMPROB_FILTER_REPLACEOLDFILES | RPMPROB_FILTER_REPLACENEWFILES),
--	N_("detect file conflicts between packages"), NULL},
--
-  { "freshen", 'F', POPT_BIT_SET, &rpmIArgs.installInterfaceFlags,
- 	(INSTALL_UPGRADE|INSTALL_FRESHEN|INSTALL_INSTALL),
- 	N_("upgrade package(s) if already installed"),
-
+-#if defined(RPM_VENDOR_MANDRIVA) /* dont-filter-install-file-conflicts */
++#if defined(RPM_VENDOR_MANDRIVA) || defined(RPM_VENDOR_PLD) /* dont-filter-install-file-conflicts */
+     .probFilter = RPMPROB_FILTER_NONE,
+ #else
+     .probFilter = (RPMPROB_FILTER_REPLACEOLDFILES | RPMPROB_FILTER_REPLACENEWFILES),

================================================================
Index: packages/rpm/rpm.spec
diff -u packages/rpm/rpm.spec:1.926 packages/rpm/rpm.spec:1.927
--- packages/rpm/rpm.spec:1.926	Thu Apr  8 23:46:25 2010
+++ packages/rpm/rpm.spec	Sun Apr 25 23:33:51 2010
@@ -54,7 +54,7 @@
 %define		reqdb_ver	4.7.25
 %define		reqpopt_ver	1.15
 %define		beecrypt_ver	2:4.1.2-4
-%define		sover	5.0
+%define		sover	5.2
 
 Summary:	RPM Package Manager
 Summary(de.UTF-8):	RPM Packet-Manager
@@ -64,12 +64,12 @@
 Summary(ru.UTF-8):	Менеджер пакетов от RPM
 Summary(uk.UTF-8):	Менеджер пакетів від RPM
 Name:		rpm
-Version:	5.1.9
-Release:	0.2
+Version:	5.2.0
+Release:	0.1
 License:	LGPL
 Group:		Base
-Source0:	http://rpm5.org/files/rpm/rpm-5.1/%{name}-%{version}.tar.gz
-# Source0-md5:	2b6ff8f7abb1fe919402f00cc0ca56f7
+Source0:	http://rpm5.org/files/rpm/rpm-5.2/%{name}-%{version}.tar.gz
+# Source0-md5:	9126c960be02f2b0d6068801aa27fde7
 Source1:	%{name}.groups
 Source2:	%{name}.platform
 Source3:	%{name}-install-tree
@@ -139,6 +139,8 @@
 Patch39:	%{name}-perl_req-skip_multiline.patch
 Patch40:	%{name}-perl_req-heredocs_pod.patch
 
+Patch41:	vendor-pld.patch
+
 Patch42:	%{name}-old-fileconflicts-behaviour.patch
 
 Patch46:	%{name}-mono.patch
@@ -676,7 +678,7 @@
 # compress doc in upstream
 %patch10 -p1
 %{?with_system_lua:%patch11 -p1}
-%patch12 -p1
+#patch12 -p1
 # CHECK ME - macrofiles: ~/etc could be used
 #%%patch14 -p1
 %patch16 -p1
@@ -704,9 +706,10 @@
 %patch35 -p0
 %patch36 -p1
 %patch37 -p1
-%patch38 -p1
-%patch39 -p1
-%patch40 -p1
+#patch38 -p1 applied
+#patch39 -p1 applied
+#patch40 -p1 applied
+%patch41 -p1
 %patch42 -p1
 %patch46 -p1
 # port to new implementation
@@ -725,7 +728,7 @@
 %patch61 -p1
 %endif
 %patch62 -p1
-%patch70 -p1
+%patch70 -p1 -b .wiget
 
 cd scripts
 mv -f perl.req perl.req.in
@@ -1082,7 +1085,7 @@
 # wrong location, not used anyway
 rm $RPM_BUILD_ROOT%{_rpmlibdir}/rpm.{daily,log,xinetd}
 # utils dropped in 4.4.8 -- their manuals
-rm $RPM_BUILD_ROOT%{_mandir}/{,*/}/man8/rpmgraph.8
+#rm $RPM_BUILD_ROOT%{_mandir}/{,*/}/man8/rpmgraph.8
 
 %find_lang %{name}
 
@@ -1159,6 +1162,7 @@
 %{_rpmlibdir}/rpmpopt*
 %{_rpmlibdir}/macros
 %{_rpmlibdir}/macros.pld
+%{_rpmlibdir}/cpuinfo.yaml
 
 %attr(755,root,root) %{_rpmlibdir}/hrmib-cache
 
@@ -1204,18 +1208,20 @@
 %files utils
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/rpm2cpio
-%attr(755,root,root) %{_bindir}/rpmcache
 %attr(755,root,root) %{_bindir}/rpmconstant
-%attr(755,root,root) %{_bindir}/rpmdigest
-%attr(755,root,root) %{_bindir}/rpmgrep
-%attr(755,root,root) %{_bindir}/rpmrepo
-%attr(755,root,root) %{_bindir}/rpmmtree
-%attr(755,root,root) %{_rpmlibdir}/debugedit
 %attr(755,root,root) %{_rpmlibdir}/find-debuginfo.sh
-%attr(755,root,root) %{_rpmlibdir}/rpmcmp
 %attr(755,root,root) %{_rpmlibdir}/rpmdb_loadcvt
-%attr(755,root,root) %{_rpmlibdir}/rpmdeps
 %attr(755,root,root) %{_rpmlibdir}/tgpg
+%dir %{_rpmlibdir}/bin
+%attr(755,root,root) %{_rpmlibdir}/bin/debugedit
+%attr(755,root,root) %{_rpmlibdir}/bin/grep
+%attr(755,root,root) %{_rpmlibdir}/bin/mtree
+%attr(755,root,root) %{_rpmlibdir}/bin/rpmcache
+%attr(755,root,root) %{_rpmlibdir}/bin/rpmcmp
+%attr(755,root,root) %{_rpmlibdir}/bin/rpmdeps
+%attr(755,root,root) %{_rpmlibdir}/bin/rpmdigest
+%attr(755,root,root) %{_rpmlibdir}/bin/rpmkey
+%attr(755,root,root) %{_rpmlibdir}/bin/rpmrepo
 %{_mandir}/man1/rpmgrep.1*
 %{_mandir}/man8/rpm2cpio.8*
 %{_mandir}/man8/rpmcache.8*
@@ -1306,8 +1312,8 @@
 
 %attr(755,root,root) %{_bindir}/gendiff
 %attr(755,root,root) %{_bindir}/rpmbuild
-%attr(755,root,root) %{_bindir}/rpmspecdump
-%attr(755,root,root) %{_bindir}/rpmwget
+%attr(755,root,root) %{_rpmlibdir}/bin/rpmspecdump
+%attr(755,root,root) %{_rpmlibdir}/bin/wget
 
 %dir %{_rpmlibdir}/helpers
 %attr(755,root,root) %{_rpmlibdir}/helpers/makeshlibs
@@ -1365,6 +1371,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.927  2010/04/25 21:33:51  wiget
+- updated to 5.2.0
+
 Revision 1.926  2010/04/08 21:46:25  qwiat
 - rel up
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rpm/rpm-configure-autoconf.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rpm/rpm-macros.patch?r1=1.47&r2=1.48&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rpm/rpm-old-fileconflicts-behaviour.patch?r1=1.3&r2=1.4&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rpm/rpm.spec?r1=1.926&r2=1.927&f=u



More information about the pld-cvs-commit mailing list