summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/cpio.changes5
-rw-r--r--packaging/cpio.manifest10
-rw-r--r--packaging/cpio.spec10
3 files changed, 14 insertions, 11 deletions
diff --git a/packaging/cpio.changes b/packaging/cpio.changes
deleted file mode 100644
index 79e2579..0000000
--- a/packaging/cpio.changes
+++ /dev/null
@@ -1,5 +0,0 @@
-* Mon Jul 23 2012 Anas Nashif <anas.nashif@intel.com> 30a3c52
-- downgrade to 2.8 (GPLv2)
-- Add default Smack manifest for cpio.spec
-- Upload Tizen:Base source
-- Initial empty repository
diff --git a/packaging/cpio.manifest b/packaging/cpio.manifest
index 017d22d..ede5999 100644
--- a/packaging/cpio.manifest
+++ b/packaging/cpio.manifest
@@ -1,5 +1,11 @@
<manifest>
- <request>
+ <request>
<domain name="_"/>
- </request>
+ </request>
+ <assign>
+ <filesystem path="/bin/*" label="_" exec_label="none" />
+ <filesystem path="/sbin/*" label="_" exec_label="none" />
+ <filesystem path="/usr/bin/*" label="_" exec_label="none" />
+ <filesystem path="/usr/sbin/*" label="_" exec_label="none" />
+ </assign>
</manifest>
diff --git a/packaging/cpio.spec b/packaging/cpio.spec
index f20214f..1c26b48 100644
--- a/packaging/cpio.spec
+++ b/packaging/cpio.spec
@@ -1,7 +1,7 @@
Name: cpio
Version: 2.8
-Release: 3
-License: GPL-3.0+
+Release: 4
+License: GPL-2.0+
Summary: A GNU archiving program
Url: http://www.gnu.org/software/cpio/
Group: Applications/Archiving
@@ -44,15 +44,17 @@ cp -a %{SOURCE1} %{buildroot}%{_mandir}/man1
mkdir -p %{buildroot}/bin
ln -sf ../usr/bin/cpio %{buildroot}/bin/
-rm -rf %{buildroot}%{_prefix}/libexec/rmt
-
+rm -rf %{buildroot}%{_libexecdir}/rmt
+mkdir -p %{buildroot}%{_datadir}/license
+cat COPYING >> %{buildroot}%{_datadir}/license/%{name}
%docs_package
%files
%manifest cpio.manifest
%doc COPYING
+%{_datadir}/license/%{name}
%{_bindir}/*
/bin/cpio