From 07d49294105a09e6e802440371bdb887429162a6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 15 Jun 2014 15:10:41 +0300 Subject: [PATCH] add rpm5 patch --- rpm5.patch | 11 +++++++++++ yum-utils.spec | 4 +++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 rpm5.patch 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: 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 -- 2.44.0