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

diff --git a/packaging/python-lxml.manifest b/packaging/python-lxml.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
index d619dae..f5aab7a 100644 (file)
@@ -15,6 +15,7 @@ Group:          Development/Libraries
 License:        BSD
 URL:            http://codespeak.net/lxml/
 Source0:        http://cheeseshop.python.org/packages/source/l/lxml/lxml-%{version}.tar.gz
 License:        BSD
 URL:            http://codespeak.net/lxml/
 Source0:        http://cheeseshop.python.org/packages/source/l/lxml/lxml-%{version}.tar.gz
+Source1001: packaging/python-lxml.manifest 
 #Source0:        http://codespeak.net/lxml/lxml-%{version}.tgz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 #Source0:        http://codespeak.net/lxml/lxml-%{version}.tgz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -62,6 +63,7 @@ chmod a-x %{py3dir}/doc/rest2html.py
 %endif
 
 %build
 %endif
 
 %build
+cp %{SOURCE1001} .
 CFLAGS="%{optflags}" %{__python} -c 'import setuptools; execfile("setup.py")' build
 
 %if %{with_python3}
 CFLAGS="%{optflags}" %{__python} -c 'import setuptools; execfile("setup.py")' build
 
 %if %{with_python3}
@@ -84,12 +86,14 @@ popd
 rm -rf %{buildroot}
 
 %files
 rm -rf %{buildroot}
 
 %files
+%manifest python-lxml.manifest
 %defattr(-,root,root,-)
 %doc README.txt LICENSES.txt PKG-INFO CREDITS.txt CHANGES.txt doc/
 %{python_sitearch}/*
 
 %if %{with_python3}
 %files -n python3-lxml
 %defattr(-,root,root,-)
 %doc README.txt LICENSES.txt PKG-INFO CREDITS.txt CHANGES.txt doc/
 %{python_sitearch}/*
 
 %if %{with_python3}
 %files -n python3-lxml
+%manifest python-lxml.manifest
 %defattr(-,root,root,-)
 %doc README.txt LICENSES.txt PKG-INFO CREDITS.txt CHANGES.txt doc/
 %{python3_sitearch}/*
 %defattr(-,root,root,-)
 %doc README.txt LICENSES.txt PKG-INFO CREDITS.txt CHANGES.txt doc/
 %{python3_sitearch}/*