smack: add default smack manifest
authorWaLyong Cho <walyong.cho@samsung.com>
Wed, 19 Oct 2016 01:37:56 +0000 (10:37 +0900)
committerWaLyong Cho <walyong.cho@samsung.com>
Wed, 19 Oct 2016 01:37:56 +0000 (10:37 +0900)
Change-Id: I0fb4c94454d21e0271f528e1ae48ad9ed94f8bfa
Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
packaging/libsystem.manifest [new file with mode: 0644]
packaging/libsystem.spec

diff --git a/packaging/libsystem.manifest b/packaging/libsystem.manifest
new file mode 100644 (file)
index 0000000..2a0cec5
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+  <request>
+    <domain name="_"/>
+  </request>
+</manifest>
index a19c75a..4dc823d 100644 (file)
@@ -5,6 +5,7 @@ Release:        0
 License:        Apache-2.0
 Group:          System/Libraries
 Source:         %{name}-%{version}.tar.gz
+Source1001:     %{name}.manifest
 
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -50,6 +51,8 @@ Development header files for systemd util.
 %setup -q
 
 %build
+cp %{SOURCE1001} .
+
 %if 0%{?debug_enable}
 export CFLAGS=$(echo $CFLAGS | sed -e 's/^-g / /g' | sed -e 's/ -g / /g')
 export CFLAGS=$(echo $CFLAGS | sed -e 's/^-O[0-9] / /g' | sed -e 's/ $-O[0-9] / /g')
@@ -84,6 +87,7 @@ rm -f %{buildroot}%{_libdir}/*.la
 %files
 %defattr(-,root,root,-)
 %{_libdir}/libsystem.so.*
+%manifest %{name}.manifest
 
 %files devel
 %defattr(-,root,root,-)
@@ -97,6 +101,7 @@ rm -f %{buildroot}%{_libdir}/*.la
 %files -n libsystem-sd
 %defattr(-,root,root,-)
 %{_libdir}/libsystem-sd.so.*
+%manifest %{name}.manifest
 
 %files -n libsystem-sd-devel
 %defattr(-,root,root,-)