Separate appsvc_test tool from app-svc rpm 33/163933/2
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 14 Dec 2017 06:41:18 +0000 (15:41 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Thu, 14 Dec 2017 07:14:33 +0000 (16:14 +0900)
Change-Id: Ie681e500e1855878eeeebfd45b2ea92f25de2344
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
packaging/app-svc-tests.manifest [new file with mode: 0644]
packaging/app-svc.manifest
packaging/app-svc.spec

diff --git a/packaging/app-svc-tests.manifest b/packaging/app-svc-tests.manifest
new file mode 100644 (file)
index 0000000..718e49c
--- /dev/null
@@ -0,0 +1,8 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+ <assign>
+    <filesystem path="/usr/bin/appsvc_test" exec_label="User" />
+ </assign>
+</manifest>
index 718e49c..017d22d 100644 (file)
@@ -2,7 +2,4 @@
  <request>
     <domain name="_"/>
  </request>
- <assign>
-    <filesystem path="/usr/bin/appsvc_test" exec_label="User" />
- </assign>
 </manifest>
index d1d8f44..9c22cdf 100644 (file)
@@ -9,6 +9,7 @@ Group:      Application Framework/Service
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
 Source1001: app-svc.manifest
+Source1002: app-svc-tests.manifest
 
 Requires(post):     /sbin/ldconfig
 Requires(postun):   /sbin/ldconfig
@@ -33,9 +34,17 @@ Requires:   %{name} = %{version}-%{release}
 %description devel
 %devel_desc
 
+%package tests
+Summary:    tests for App svc
+Requires:   %{name} = %{version}
+
+%description tests
+tests for App svc
+
 %prep
 %setup -q
 cp %{SOURCE1001} .
+cp %{SOURCE1002} .
 
 %build
 %cmake . \
@@ -58,7 +67,6 @@ cp %{SOURCE1001} .
 %defattr(-,root,root,-)
 %manifest %{name}.manifest
 %license LICENSE
-%{_bindir}/appsvc_test
 %{_libdir}/libappsvc.so.0
 %{_libdir}/libappsvc.so.0.1.0
 
@@ -68,3 +76,7 @@ cp %{SOURCE1001} .
 %{_libdir}/pkgconfig/appsvc.pc
 %{_libdir}/libappsvc.so
 %{_includedir}/appsvc/*.h
+
+%files tests
+%manifest %{name}-tests.manifest
+%{_bindir}/appsvc_test