summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:49:44 -0700
committerRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:49:44 -0700
commitf86053dd05b02441d0c27eb68524ae3c1cf0fe81 (patch)
treea1d6f02bbf402f06e1469e02d6dd8da2b2db77a0
parent5fab833656f8722f000d40da4733c164690a18df (diff)
downloadcpio-f86053dd05b02441d0c27eb68524ae3c1cf0fe81.tar.gz
cpio-f86053dd05b02441d0c27eb68524ae3c1cf0fe81.tar.bz2
cpio-f86053dd05b02441d0c27eb68524ae3c1cf0fe81.zip
Add default Smack manifest for cpio.spec
Change-Id: I1db4f3414435d3bc099a839e178f77c9addb7dee Signed-off-by: Ryan Ware <ryan.r.ware@intel.com>
-rw-r--r--packaging/cpio.manifest5
-rw-r--r--packaging/cpio.spec3
2 files changed, 8 insertions, 0 deletions
diff --git a/packaging/cpio.manifest b/packaging/cpio.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/cpio.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/cpio.spec b/packaging/cpio.spec
index 0a86eac..faeaa22 100644
--- a/packaging/cpio.spec
+++ b/packaging/cpio.spec
@@ -15,6 +15,7 @@ URL: http://www.gnu.org/software/cpio/
Source0: ftp://ftp.gnu.org/gnu/cpio/cpio-%{version}.tar.gz
Source1: cpio.1
Source100: cpio.yaml
+Source1001: packaging/cpio.manifest
Patch0: cpio-2.6-setLocale.patch
Patch1: cpio-2.9-rh.patch
Patch2: cpio-2.9-exitCode.patch
@@ -60,6 +61,7 @@ Install cpio if you need a program to manage file archives.
# << setup
%build
+cp %{SOURCE1001} .
# >> build pre
# << build pre
@@ -91,6 +93,7 @@ rm -rf %{buildroot}%{_prefix}/libexec/rmt
%files
+%manifest cpio.manifest
%defattr(-,root,root,-)
# >> files
%doc COPYING