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

diff --git a/packaging/unzip.manifest b/packaging/unzip.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
index a02ced0..be42e47 100644 (file)
@@ -6,6 +6,7 @@ Release: 9
 License: BSD
 Group: Applications/Archiving
 Source: ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tar.gz
+Source1001: packaging/unzip.manifest 
 # Not sent to upstream.
 Patch1: unzip-6.0-bzip2-configure.patch
 # Upstream plans to do this in zip (hopefully also in unzip).
@@ -42,6 +43,7 @@ a zip archive.
 ln -s unix/Makefile Makefile
 
 %build
+cp %{SOURCE1001} .
 make CFLAGS="-D_LARGEFILE64_SOURCE" linux_noasm LF2="" %{?_smp_mflags}
 
 %install
@@ -53,6 +55,7 @@ make prefix=$RPM_BUILD_ROOT%{_prefix} MANDIR=$RPM_BUILD_ROOT/%{_mandir}/man1 INS
 rm -rf $RPM_BUILD_ROOT
 
 %files
+%manifest unzip.manifest
 %defattr(-,root,root)
 %doc README BUGS LICENSE 
 %{_bindir}/*