]> git.pld-linux.org Git - packages/mock.git/commitdiff
do not verify for rpm.RPMTAG_SOURCEPACKAGE
authorElan Ruusamäe <glen@delfi.ee>
Tue, 10 Jun 2014 12:52:42 +0000 (15:52 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 10 Jun 2014 12:52:42 +0000 (15:52 +0300)
see http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2014-June/023949.html

mock.spec
no-srpm-header.patch [new file with mode: 0644]

index c566f74ab66889abd786ea1305f514f09bbf73cf..3cb7e28887dd722f48f5feb342fd9dd37d25062a 100644 (file)
--- a/mock.spec
+++ b/mock.spec
@@ -9,6 +9,7 @@ License:        GPL v2+
 Group:         Development/Tools
 Source0:       https://git.fedorahosted.org/cgit/mock.git/snapshot/%{name}-%{version}.tar.xz
 # Source0-md5: dc3d5c4ed6657d158a30d949f7baac88
+Patch0:                no-srpm-header.patch
 URL:           https://fedoraproject.org/wiki/Projects/Mock
 BuildRequires: autoconf
 BuildRequires: automake
@@ -63,6 +64,7 @@ bash-completion for Mock.
 
 %prep
 %setup -q
+%patch0 -p1
 
 # keep for reference to build pld files
 install -d sample-configs
diff --git a/no-srpm-header.patch b/no-srpm-header.patch
new file mode 100644 (file)
index 0000000..4e8b470
--- /dev/null
@@ -0,0 +1,11 @@
+--- mock-1.1.38/py/mockbuild/util.py~  2014-03-31 21:46:15.000000000 +0300
++++ mock-1.1.38/py/mockbuild/util.py   2014-06-10 15:52:00.002122289 +0300
+@@ -131,7 +131,7 @@
+ decorate(traceLog())
+-def yieldSrpmHeaders(srpms, plainRpmOk=0):
++def yieldSrpmHeaders(srpms, plainRpmOk=1):
+     ts = rpmUtils.transaction.initReadOnlyTransaction()
+     for srpm in srpms:
+         try:
This page took 0.092411 seconds and 4 git commands to generate.