summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-09-09 02:19:05 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-09-09 02:19:05 +0900
commitc71c6457a320d702dab7ca3df9c507fb2a49b0d9 (patch)
tree41119c0c5bd7284fe17e8dea6d25419142ceb947
parentd1b642867c0173e8311674920e08f7779475b97e (diff)
downloadcpio-c71c6457a320d702dab7ca3df9c507fb2a49b0d9.tar.gz
cpio-c71c6457a320d702dab7ca3df9c507fb2a49b0d9.tar.bz2
cpio-c71c6457a320d702dab7ca3df9c507fb2a49b0d9.zip
-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