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

diff --git a/packaging/libXTrap.manifest b/packaging/libXTrap.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
index 5947490..da2ddeb 100644 (file)
@@ -6,6 +6,7 @@ Group:      System/Libraries
 License:    MIT
 URL:        http://www.x.org/
 Source0:    ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.gz
+Source1001: packaging/libXTrap.manifest 
 Requires(post):  /sbin/ldconfig
 Requires(postun):  /sbin/ldconfig
 BuildRequires:  pkgconfig(xproto)
@@ -33,6 +34,7 @@ Description: %{summary}
 %setup -q -n %{name}-%{version}
 
 %build
+cp %{SOURCE1001} .
 export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed"
 %reconfigure --disable-static
 make %{?jobs:-j%jobs}
@@ -54,6 +56,7 @@ rm -rf %{buildroot}
 
 
 %files
+%manifest libXTrap.manifest
 %defattr(-,root,root,-)
 %doc COPYING
 %{_libdir}/libXTrap.so.6
@@ -61,6 +64,7 @@ rm -rf %{buildroot}
 
 
 %files devel
+%manifest libXTrap.manifest
 %defattr(-,root,root,-)
 %doc AUTHORS README ChangeLog
 %{_libdir}/libXTrap.so