Add default Smack manifest for python-magic.spec 1.0_post
authorRyan Ware <ryan.r.ware@intel.com>
Wed, 30 May 2012 00:49:42 +0000 (17:49 -0700)
committerRyan Ware <ryan.r.ware@intel.com>
Wed, 30 May 2012 00:49:42 +0000 (17:49 -0700)
Change-Id: I9005d2f5249a5719e13dd86384a3498a6ebc7862
Signed-off-by: Ryan Ware <ryan.r.ware@intel.com>
packaging/python-magic.manifest [new file with mode: 0644]
packaging/python-magic.spec

diff --git a/packaging/python-magic.manifest b/packaging/python-magic.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
index a6c3499..3e355fb 100644 (file)
@@ -9,6 +9,7 @@ Release: 3
 License: BSD
 Group: System/Libraries
 Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz
+Source1001: packaging/python-magic.manifest 
 URL: http://www.darwinsys.com/file/
 Patch0: file-4.21-pybuild.patch
 Patch1: file-4.26-devdrv.patch
@@ -34,6 +35,7 @@ file(1) command.
 
 
 %build
+cp %{SOURCE1001} .
 CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" \
 cd python
 CFLAGS="%{optflags}" %{__python} setup.py build
@@ -50,6 +52,7 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %files
+%manifest python-magic.manifest
 %defattr(-,root,root,-)
 %doc python/README COPYING python/example.py
 %{python_sitearch}/magic.so