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

diff --git a/packaging/libxdamage.manifest b/packaging/libxdamage.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
index c52697b..27c9ee0 100644 (file)
@@ -7,6 +7,7 @@ Group:      System/Libraries
 License:    MIT
 URL:        http://www.x.org
 Source0:    http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.gz
+Source1001: packaging/libxdamage.manifest 
 Requires(post):  /sbin/ldconfig
 Requires(postun):  /sbin/ldconfig
 BuildRequires:  pkgconfig(x11)
@@ -33,6 +34,7 @@ Description: %{summary}
 
 
 %build
+cp %{SOURCE1001} .
 export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed"
 %reconfigure --disable-static
 # Call make instruction with smp support
@@ -55,6 +57,7 @@ rm -rf %{buildroot}
 
 
 %files
+%manifest libxdamage.manifest
 %defattr(-,root,root,-)
 %doc COPYING
 %{_libdir}/libXdamage.so.1
@@ -62,6 +65,7 @@ rm -rf %{buildroot}
 
 
 %files devel
+%manifest libxdamage.manifest
 %defattr(-,root,root,-)
 %doc AUTHORS README ChangeLog
 %dir %{_includedir}/X11