--- /dev/null
+disable fetching sources.
+annoying if you just want to get .spec structure!
+
+it could be parameter to s.parseSpec(), but as prevous code hardcoded, i'll
+just "hardcode" different value here.
+
+http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2015-November/024529.html
+
+one could play with '__urlgetfile' macro, and just tell it 'OK':
+%__urlgetfile OK
+
+but then ugly "Fetching" messages are still displayed, which maybe even more confusing.
+
+http://comments.gmane.org/gmane.comp.package-management.rpm.user/159
+
+--- rpm-5.4.15/python/rpmts-py.c~ 2014-07-28 00:52:21.000000000 +0300
++++ rpm-5.4.15/python/rpmts-py.c 2015-11-04 22:00:33.989058412 +0200
+@@ -1333,13 +1333,15 @@
+ char * passPhrase = "";
+ char *cookie = NULL;
+ int anyarch = 1;
+- int verify = 1;
++ int verify;
+ int force = 1;
+ char * kwlist[] = {"specfile", NULL};
+
+ if (!PyArg_ParseTupleAndKeywords(args, kwds, "s:Parse", kwlist, &specfile))
+ return NULL;
+
++ verify = rpmExpandNumeric("%{?_py_parsespec_verify}%{?!_py_parsespec_verify:0}");
++
+ if (parseSpec(s->ts, specfile,"/", recursing, passPhrase,
+ cookie, anyarch, force, verify)!=0) {
+ PyErr_SetString(pyrpmError, "can't parse specfile\n");
Summary(uk.UTF-8): Менеджер пакетів від RPM
Name: rpm
Version: 5.4.15
-Release: 25
+Release: 26
License: LGPL v2.1
Group: Base
# http://rpm5.org/files/rpm/rpm-5.4/rpm-5.4.15-0.20140824.src.rpm
Patch88: %{name}-rpmtdnext.patch
Patch89: disable-header-verification.patch
Patch90: %{name}-cppcompat.patch
+Patch91: py-disable-fetch.patch
# Patches imported from Mandriva
%patch88 -p1
%patch89 -p1
%patch90 -p1
+%patch91 -p1
%patch1000 -p1
%patch1001 -p1