tizen 2.3 release tizen_2.3 submit/tizen_2.3/20150202.060434 tizen_2.3_release
authorjk7744.park <jk7744.park@samsung.com>
Sun, 1 Feb 2015 04:26:42 +0000 (13:26 +0900)
committerjk7744.park <jk7744.park@samsung.com>
Sun, 1 Feb 2015 04:26:42 +0000 (13:26 +0900)
packaging/squashfs.manifest [new file with mode: 0644]
packaging/squashfs.spec

diff --git a/packaging/squashfs.manifest b/packaging/squashfs.manifest
new file mode 100644 (file)
index 0000000..176a1c8
--- /dev/null
@@ -0,0 +1,9 @@
+<manifest>
+       <request>
+               <domain name="_"/>
+       </request>
+       <assign>
+               <filesystem path="/usr/bin/mksquashfs" exec_label="none" />
+               <filesystem path="/usr/bin/unsquashfs" exec_label="none" />
+       </assign>
+</manifest>
index 3675c1a..389dc04 100644 (file)
@@ -4,6 +4,7 @@ Release:        1
 Summary:       Tools for squashfs, a compressed read-only filesystem for Linux
 Group:         System/Tools
 Source0:       %{name}-%{version}.tar.gz
+Source100:     %{name}.manifest
 Patch0:                squashfs-4.2-makefile_config.patch
 License:       GPL
 URL:           http://squashfs.sourceforge.net/
@@ -22,6 +23,7 @@ The filesystem is currently stable, and has been tested on PowerPC, i586, Sparc
 %prep
 %setup -q
 %patch0 -p1
+cp %{SOURCE100} .
 
 %build
 cd squashfs-tools
@@ -32,15 +34,21 @@ rm -rf %{buildroot}
 cd squashfs-tools
 mkdir -p %{buildroot}%{_bindir}
 install mksquashfs %{buildroot}%{_bindir}/mksquashfs
+%if 0%{?tizen_build_binary_release_type_eng}
 install unsquashfs %{buildroot}%{_bindir}/unsquashfs
+%endif
 
 mkdir -p %{buildroot}/usr/share/license
 cp -f ../COPYING %{buildroot}/usr/share/license/%{name}
 
 %files
 %defattr(-,root,root)
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/mksquashfs
+%if 0%{?tizen_build_binary_release_type_eng}
+%attr(755,root,root) %{_bindir}/unsquashfs
+%endif
 %doc CHANGES COPYING README
+%manifest %{name}.manifest
 /usr/share/license/%{name}
 
 %changelog