summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-09-09 02:20:42 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-09-09 02:20:42 +0900
commit03e22f06ae4439c6e360de814bbeecf7ed1d4e9b (patch)
treed952720ccecfa2b57e4193914fc8bcb6e5a82abd
parent55d402be1d4dd28b182c58c01af4ebc7ff115521 (diff)
downloadfindutils-tizen_2.3.1.tar.gz
findutils-tizen_2.3.1.tar.bz2
findutils-tizen_2.3.1.zip
-rw-r--r--findutils.manifest8
-rw-r--r--packaging/findutils.manifest5
-rw-r--r--packaging/findutils.spec9
3 files changed, 13 insertions, 9 deletions
diff --git a/findutils.manifest b/findutils.manifest
new file mode 100644
index 0000000..dca4d98
--- /dev/null
+++ b/findutils.manifest
@@ -0,0 +1,8 @@
+<manifest>
+ <assign>
+ <filesystem path="/usr/bin/*" exec_label="none"/>
+ </assign>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/findutils.manifest b/packaging/findutils.manifest
deleted file mode 100644
index 017d22d..0000000
--- a/packaging/findutils.manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-<manifest>
- <request>
- <domain name="_"/>
- </request>
-</manifest>
diff --git a/packaging/findutils.spec b/packaging/findutils.spec
index 3a1992c..0adb522 100644
--- a/packaging/findutils.spec
+++ b/packaging/findutils.spec
@@ -9,7 +9,6 @@ Epoch: 1
Group: Applications/File
URL: http://www.gnu.org/software/findutils/
Source0: ftp://ftp.gnu.org/gnu/findutils/%{name}-%{version}.tar.gz
-Source1001: packaging/findutils.manifest
#Source1: ftp://ftp.gnu.org/gnu/findutils/%{name}-%{version}.tar.gz.sig
Patch1: findutils-4.2.31-no-locate.patch
Patch2: findutils-bmc12931-find-ls-stack-overflow.patch
@@ -37,7 +36,6 @@ useful for finding things on your system.
%patch2 -p1
%build
-cp %{SOURCE1001} .
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
export CXXFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
%configure --without-selinux --disable-nls
@@ -50,6 +48,9 @@ make check
%install
rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp COPYING %{buildroot}/usr/share/license/%{name}
+
%make_install
rm -rf %{buildroot}/%{_infodir}
@@ -61,7 +62,7 @@ popd
%clean
rm -rf %{buildroot}
-%files
+%files
%manifest findutils.manifest
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README THANKS TODO
@@ -70,4 +71,4 @@ rm -rf %{buildroot}
%{_bindir}/xargs
%{_mandir}/man1/find.1*
%{_mandir}/man1/xargs.1*
-
+/usr/share/license/%{name}