diff options
author | Ryan Ware <ryan.r.ware@intel.com> | 2012-05-29 17:50:32 -0700 |
---|---|---|
committer | Ryan Ware <ryan.r.ware@intel.com> | 2012-05-29 17:50:32 -0700 |
commit | 4e9cc63c776328caebf8376e2b2bb4c848519229 (patch) | |
tree | 05c153a01cf830207da58b50520a16bf2028007f | |
parent | 591eaff301c155efe4ce89ea36c81377c91d1c80 (diff) | |
download | libxtrap-4e9cc63c776328caebf8376e2b2bb4c848519229.tar.gz libxtrap-4e9cc63c776328caebf8376e2b2bb4c848519229.tar.bz2 libxtrap-4e9cc63c776328caebf8376e2b2bb4c848519229.zip |
Add default Smack manifest for libXTrap.spec
Change-Id: If19b5f61f1629321ea115730c54c321e5fd63630
Signed-off-by: Ryan Ware <ryan.r.ware@intel.com>
-rw-r--r-- | packaging/libXTrap.manifest | 5 | ||||
-rw-r--r-- | packaging/libXTrap.spec | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/packaging/libXTrap.manifest b/packaging/libXTrap.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/libXTrap.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/libXTrap.spec b/packaging/libXTrap.spec index 5947490..da2ddeb 100644 --- a/packaging/libXTrap.spec +++ b/packaging/libXTrap.spec @@ -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 |