summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/python-urlgrabber.manifest5
-rw-r--r--packaging/python-urlgrabber.spec3
2 files changed, 8 insertions, 0 deletions
diff --git a/packaging/python-urlgrabber.manifest b/packaging/python-urlgrabber.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/python-urlgrabber.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/python-urlgrabber.spec b/packaging/python-urlgrabber.spec
index d7631fa..7b6e139 100644
--- a/packaging/python-urlgrabber.spec
+++ b/packaging/python-urlgrabber.spec
@@ -9,6 +9,7 @@ License: LGPLv2+
BuildArch: noarch
URL: http://urlgrabber.baseurl.org/
Source0: http://urlgrabber.baseurl.org/download/urlgrabber-%{version}.tar.gz
+Source1001: packaging/python-urlgrabber.manifest
Patch0: urlgrabber-HEAD.patch
Patch1: urlgrabber-libproxy-httponly.patch
Requires: python-pycurl
@@ -34,6 +35,7 @@ authentication, proxies and more.
%patch1 -p1
%build
+cp %{SOURCE1001} .
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
@@ -52,6 +54,7 @@ rm -rf %{buildroot}
%files
+%manifest python-urlgrabber.manifest
%defattr(-,root,root,-)
%doc ChangeLog LICENSE README TODO
%{python_sitelib}/urlgrabber*