From bd45506d5b0fcf2ef539cb6dc25c14863e8030b0 Mon Sep 17 00:00:00 2001 From: Ryan Ware Date: Tue, 29 May 2012 17:49:45 -0700 Subject: [PATCH] Add default Smack manifest for gzip.spec Change-Id: I1683b974a3a618f015632a3403b4326f12db1f92 Signed-off-by: Ryan Ware --- packaging/gzip.manifest | 5 +++++ packaging/gzip.spec | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 packaging/gzip.manifest diff --git a/packaging/gzip.manifest b/packaging/gzip.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/gzip.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/gzip.spec b/packaging/gzip.spec index 23efaf8..fcfb91e 100644 --- a/packaging/gzip.spec +++ b/packaging/gzip.spec @@ -6,6 +6,7 @@ Group: Applications/File License: GPLv2 and GFDL URL: http://www.gzip.org/ Source0: ftp://alpha.gnu.org/gnu/gzip/gzip-%{version}.tar.gz +Source1001: packaging/gzip.manifest Patch0: gzip-1.3.12-openbsd-owl-tmp.patch Patch1: gzip-1.3.5-zforce.patch Patch2: gzip-1.3.9-stderr.patch @@ -69,6 +70,7 @@ having the command zless available is important to be worth providing it. %patch9 -p1 %build +cp %{SOURCE1001} . export CPPFLAGS="-DHAVE_LSTAT" %configure --disable-static \ @@ -103,6 +105,7 @@ rm -f %{buildroot}/bin/uncompress %files +%manifest gzip.manifest %defattr(-,root,root,-) /bin/* %{_bindir}/gzip @@ -119,6 +122,7 @@ rm -f %{buildroot}/bin/uncompress %files -n zless +%manifest gzip.manifest %defattr(-,root,root,-) %{_bindir}/zless -- 2.7.4