summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:49:46 -0700
committerRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:49:46 -0700
commit13e104f2bd7d2df81f8685cc161d4f84f7ab02da (patch)
tree6cccdbecf8f211b04f36f77abb846b3df85d26b4
parenta58ee624924dac6c5a210c03896d8d2f760faccc (diff)
downloadpython-urlgrabber-13e104f2bd7d2df81f8685cc161d4f84f7ab02da.tar.gz
python-urlgrabber-13e104f2bd7d2df81f8685cc161d4f84f7ab02da.tar.bz2
python-urlgrabber-13e104f2bd7d2df81f8685cc161d4f84f7ab02da.zip
Add default Smack manifest for python-urlgrabber.spec
Change-Id: I9900b5ab3a4000b4cf238e11a89eeed71dd16b78 Signed-off-by: Ryan Ware <ryan.r.ware@intel.com>
-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*