summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:50:31 -0700
committerRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:50:31 -0700
commitecfe2c4f9b59080a5d14b57a8dab888d88ae1b9d (patch)
treec5a9d3aaa5c55e27451b1db7023a960ea088472b
parentd213c659a5ae80defec3e4ecb3b6511f787cd9e1 (diff)
downloadlibxxf86misc-ecfe2c4f9b59080a5d14b57a8dab888d88ae1b9d.tar.gz
libxxf86misc-ecfe2c4f9b59080a5d14b57a8dab888d88ae1b9d.tar.bz2
libxxf86misc-ecfe2c4f9b59080a5d14b57a8dab888d88ae1b9d.zip
Add default Smack manifest for libxxf86misc.spec
Change-Id: I450f0435af42a6e005d8ac2fe56bb21449eb08c6 Signed-off-by: Ryan Ware <ryan.r.ware@intel.com>
-rw-r--r--packaging/libxxf86misc.manifest5
-rw-r--r--packaging/libxxf86misc.spec4
2 files changed, 9 insertions, 0 deletions
diff --git a/packaging/libxxf86misc.manifest b/packaging/libxxf86misc.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/libxxf86misc.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/libxxf86misc.spec b/packaging/libxxf86misc.spec
index c1c154d..d8bc936 100644
--- a/packaging/libxxf86misc.spec
+++ b/packaging/libxxf86misc.spec
@@ -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/libxxf86misc.manifest
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig(xorg-macros)
@@ -55,6 +56,7 @@ git://anongit.freedesktop.org/git/xorg/lib/libXxf86misc
%build
+cp %{SOURCE1001} .
export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed"
%reconfigure --disable-static
make %{?jobs:-j%jobs}
@@ -73,12 +75,14 @@ rm -rf %{buildroot}
%files
+%manifest libxxf86misc.manifest
%defattr(-,root,root,-)
%{_libdir}/libXxf86misc.so.1
%{_libdir}/libXxf86misc.so.1.1.0
%files devel
+%manifest libxxf86misc.manifest
%defattr(-,root,root,-)
%{_libdir}/libXxf86misc.so
%{_libdir}/pkgconfig/xxf86misc.pc