summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-09-09 02:35:03 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-09-09 02:35:03 +0900
commit2d0c55a963bfaaeb66f01380d337cf56f060613b (patch)
tree71b083b64da01bf62ded0cf1be774869bd8bb240
parent81b55c467b34721a6144e8dab9e90a6fbaeeda34 (diff)
downloadsed-tizen_2.3.1.tar.gz
sed-tizen_2.3.1.tar.bz2
sed-tizen_2.3.1.zip
-rw-r--r--packaging/sed.changes18
-rw-r--r--packaging/sed.manifest9
-rwxr-xr-x[-rw-r--r--]packaging/sed.spec14
3 files changed, 18 insertions, 23 deletions
diff --git a/packaging/sed.changes b/packaging/sed.changes
deleted file mode 100644
index 54c5d23..0000000
--- a/packaging/sed.changes
+++ /dev/null
@@ -1,18 +0,0 @@
-* Tue May 24 2011 Anas Nashif <anas.nashif@intel.com> - 4.1.5
-- Repackage documentaion/translations
-
-* Wed Dec 29 2010 Yan Li <yan.i.li@intel.com> - 4.1.5
-- Revert to version 4.1.5 (BMC#11589)
-
-* Wed Feb 03 2010 Yi Yang <yi.y.yang@intel.com> - 4.2.1
-- Update to 4.2.1
-
-* Thu Sep 18 2008 Yi Yang <yi.y.yang@intel.com> 4.1.5
-- Fix a typo: sed.info.g to sed.info.gz
-
-* Fri Sep 12 2008 Yi Yang <yi.y.yang@intel.com> 4.1.5
-- Remove installation warnings of info files
-
-* Wed Jul 23 2008 Zhang Xin <xing.z.zhang@intel.com>
-- Mark man file and info file as %doc
-
diff --git a/packaging/sed.manifest b/packaging/sed.manifest
index 017d22d..c922afb 100644
--- a/packaging/sed.manifest
+++ b/packaging/sed.manifest
@@ -1,5 +1,8 @@
<manifest>
- <request>
- <domain name="_"/>
- </request>
+ <request>
+ <domain name="_"/>
+ </request>
+ <assign>
+ <filesystem path="/bin/*" exec_label="none" />
+ </assign>
</manifest>
diff --git a/packaging/sed.spec b/packaging/sed.spec
index 24ce26a..e4e670a 100644..100755
--- a/packaging/sed.spec
+++ b/packaging/sed.spec
@@ -3,9 +3,9 @@
Name: sed
Summary: A GNU stream text editor
Version: 4.1.5
-Release: 1
+Release: 2
Group: Applications/Text
-License: GPLv2+
+License: GPL-2.0+
URL: http://sed.sourceforge.net/
Source0: ftp://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.gz
Source1001: packaging/sed.manifest
@@ -40,12 +40,22 @@ rm -rf %{buildroot}
%remove_docs
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/license
+for keyword in LICENSE COPYING COPYRIGHT;
+do
+ for file in `find %{_builddir} -name $keyword`;
+ do
+ cat $file >> $RPM_BUILD_ROOT%{_datadir}/license/%{name};
+ echo "";
+ done;
+done
%check
make check
%files
%manifest sed.manifest
+%{_datadir}/license/%{name}
%{_bindir}/sed