Seperate test rpm package 05/323205/1
authorChanggyu Choi <changyu.choi@samsung.com>
Wed, 23 Apr 2025 11:26:15 +0000 (20:26 +0900)
committerJihoi Kim <jihoi.kim@samsung.com>
Thu, 24 Apr 2025 05:40:50 +0000 (14:40 +0900)
sp_test tool can be seperated at syspopup rpm.

Change-Id: Ibc5fd83a8baf45fac09c767ce264003e41562360
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
packaging/syspopup.spec

index fc3a9e92303c28fa7f3a3d0735ad8eb2c698b063..e73fbf8e20bce0a30e6959d34055208e52e3a5a2 100644 (file)
@@ -59,6 +59,14 @@ Requires:   %{name} = %{version}-%{release}
 %description caller-devel
 syspopup-caller development package for popup
 
+%package test
+Summary:    Syspopup test tool package
+Group:      System/Testing
+Requires:   %{name} = %{version}-%{release}
+
+%description test
+syspopup test tool package
+
 %prep
 %setup -q
 cp %{SOURCE1001} %{SOURCE1002} %{SOURCE1003} %{SOURCE1004} .
@@ -141,7 +149,6 @@ fi
 %files
 %manifest %{name}.manifest
 %defattr(-,root,root,-)
-%{_bindir}/sp_test
 %{_bindir}/sp_initdb
 %{_libdir}/libsyspopup.so.*
 %{_datadir}/popup_noti_term
@@ -170,3 +177,7 @@ fi
 %{_libdir}/libsyspopup_caller.so
 %{_includedir}/syspopup_caller.h
 %{_libdir}/pkgconfig/syspopup-caller.pc
+
+%files test
+%manifest %{name}-caller.manifest
+%{_bindir}/sp_test