summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaLyong Cho <walyong.cho@samsung.com>2016-10-19 01:37:56 (GMT)
committerWaLyong Cho <walyong.cho@samsung.com>2016-10-19 01:37:56 (GMT)
commit91cc831b8d083854327812ed1dbcac18d87aaa21 (patch)
treec16b04f3fb873df37e51fbf952c503f6e858d55e
parent7f6c2137d2cbd3ffe773bbd9cd2ef4055cb6c783 (diff)
downloadlibsystem-91cc831b8d083854327812ed1dbcac18d87aaa21.zip
libsystem-91cc831b8d083854327812ed1dbcac18d87aaa21.tar.gz
libsystem-91cc831b8d083854327812ed1dbcac18d87aaa21.tar.bz2
smack: add default smack manifest
Change-Id: I0fb4c94454d21e0271f528e1ae48ad9ed94f8bfa Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
-rw-r--r--packaging/libsystem.manifest5
-rw-r--r--packaging/libsystem.spec5
2 files changed, 10 insertions, 0 deletions
diff --git a/packaging/libsystem.manifest b/packaging/libsystem.manifest
new file mode 100644
index 0000000..2a0cec5
--- /dev/null
+++ b/packaging/libsystem.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/libsystem.spec b/packaging/libsystem.spec
index a19c75a..4dc823d 100644
--- a/packaging/libsystem.spec
+++ b/packaging/libsystem.spec
@@ -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,-)