[packages/yum-utils] add rpm5 patch

glen glen at pld-linux.org
Sun Jun 15 14:10:50 CEST 2014


commit 07d49294105a09e6e802440371bdb887429162a6
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Jun 15 15:10:41 2014 +0300

    add rpm5 patch

 rpm5.patch     | 11 +++++++++++
 yum-utils.spec |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/yum-utils.spec b/yum-utils.spec
index 740529c..725d572 100644
--- a/yum-utils.spec
+++ b/yum-utils.spec
@@ -6,13 +6,14 @@ Summary:	A collection of utilities related to yum
 Summary(pl.UTF-8):	Zestaw narzędzi związanych z yumem
 Name:		yum-utils
 Version:	1.1.31
-Release:	8
+Release:	9
 License:	GPL
 Group:		Applications/System
 Source0:	http://yum.baseurl.org/download/yum-utils/%{name}-%{version}.tar.gz
 # Source0-md5:	b2859b89321b98f2581243536e1b4993
 Source1:	yum-plugin-pld-kernel.py
 Source2:	yum-plugin-pld-kernel.conf
+Patch0:		rpm5.patch
 URL:		http://yum.baseurl.org/download/yum-utils/
 BuildRequires:	gettext-devel
 BuildRequires:	rpm-pythonprov
@@ -543,6 +544,7 @@ bashowe uzupełnianie nazw dla Yum Utils.
 
 %prep
 %setup -q
+%patch0 -p1
 
 mv plugins/README README.plugins
 
diff --git a/rpm5.patch b/rpm5.patch
new file mode 100644
index 0000000..27c8cbd
--- /dev/null
+++ b/rpm5.patch
@@ -0,0 +1,11 @@
+--- yum-utils-1.1.31/yum-builddep.py~	2011-08-10 18:20:19.000000000 +0300
++++ yum-utils-1.1.31/yum-builddep.py	2014-06-15 15:08:36.255675879 +0300
+@@ -75,7 +75,7 @@
+         # off for repos :)
+         if (opts.nogpgcheck or
+             not self.conf.localpkg_gpgcheck or not self.conf.gpgcheck):
+-            self.ts.pushVSFlags((rpm._RPMVSF_NOSIGNATURES|rpm._RPMVSF_NODIGESTS))
++            self.ts.pushVSFlags(rpm.RPMVSF_NODSAHEADER)
+ 
+         # Check if there is anything to do.
+         if len(self.cmds) < 1: 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/yum-utils.git/commitdiff/07d49294105a09e6e802440371bdb887429162a6



More information about the pld-cvs-commit mailing list