Change-Id: I9005d2f5249a5719e13dd86384a3498a6ebc7862
Signed-off-by: Ryan Ware <ryan.r.ware@intel.com>
--- /dev/null
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
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
%build
+cp %{SOURCE1001} .
CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" \
cd python
CFLAGS="%{optflags}" %{__python} setup.py build
%files
+%manifest python-magic.manifest
%defattr(-,root,root,-)
%doc python/README COPYING python/example.py
%{python_sitearch}/magic.so