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

diff --git a/packaging/libxml2.manifest b/packaging/libxml2.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
index e4ff812..a0cc92e 100644 (file)
@@ -6,6 +6,7 @@ Summary:        Library providing XML and HTML support
 Url:            http://xmlsoft.org/
 Group:          System/Libraries
 Source:         ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz
+Source1001: packaging/libxml2.manifest 
 BuildRequires:  python-devel
 BuildRequires:  python
 BuildRequires:  python-xml
@@ -56,6 +57,7 @@ supplied by the libxml2 library to manipulate XML files.
 %setup -q
 
 %build
+cp %{SOURCE1001} .
 autoreconf
 %configure
 make 
@@ -75,11 +77,13 @@ rm -fr %{buildroot}%{_datadir}/doc/libxml2-python-2.7.8
 %postun -p /sbin/ldconfig
 
 %files
+%manifest libxml2.manifest
 %{_libdir}/lib*.so.*
 %{_bindir}/xmllint
 %{_bindir}/xmlcatalog
 
 %files devel
+%manifest libxml2.manifest
 %{_libdir}/lib*.so
 #needed to build python
 %{_libdir}/*.sh
@@ -89,5 +93,6 @@ rm -fr %{buildroot}%{_datadir}/doc/libxml2-python-2.7.8
 %{_libdir}/pkgconfig/libxml-2.0.pc
 
 %files python
+%manifest libxml2.manifest
 %{python_sitelib}/drv_libxml2*
 %{python_sitelib}/libxml2*