[packages/rpmlint] - use NODSAHEADER in place of NOSIGNATURES for rpm5 - rel 5

baggins baggins at pld-linux.org
Sun Apr 21 03:02:50 CEST 2013


commit 6ba82f61512cb71dd385657ee5d21b61abd68107
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Apr 21 03:02:18 2013 +0200

    - use NODSAHEADER in place of NOSIGNATURES for rpm5
    - rel 5

 rpm5.patch   | 6 +++---
 rpmlint.spec | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/rpmlint.spec b/rpmlint.spec
index 76dcfa0..01c60f0 100644
--- a/rpmlint.spec
+++ b/rpmlint.spec
@@ -5,7 +5,7 @@
 Summary:	Tool for checking common errors in RPM packages
 Name:		rpmlint
 Version:	1.4
-Release:	4
+Release:	5
 License:	GPL v2
 Group:		Development/Building
 Source0:	http://rpmlint.zarb.org/download/%{name}-%{version}.tar.xz
diff --git a/rpm5.patch b/rpm5.patch
index 513d259..1bd8e47 100644
--- a/rpm5.patch
+++ b/rpm5.patch
@@ -1,11 +1,11 @@
 --- rpmlint-1.4/Pkg.py~	2012-09-25 22:39:39.673226624 +0200
 +++ rpmlint-1.4/Pkg.py	2012-09-25 22:40:12.223225476 +0200
-@@ -434,8 +434,6 @@
-         else:
+@@ -434,7 +434,7 @@
              # Create a package object from the file name
              ts = rpm.TransactionSet()
--            # Don't check signatures here...
+             # Don't check signatures here...
 -            ts.setVSFlags(rpm._RPMVSF_NOSIGNATURES)
++            ts.setVSFlags(rpm.RPMVSF_NODSAHEADER)
              fd = os.open(filename, os.O_RDONLY)
              try:
                  self.header = ts.hdrFromFdno(fd)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpmlint.git/commitdiff/6ba82f61512cb71dd385657ee5d21b61abd68107



More information about the pld-cvs-commit mailing list