Extract libcrash-service to a separate package 66/215766/8
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Tue, 15 Oct 2019 09:00:00 +0000 (11:00 +0200)
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>
Mon, 4 Nov 2019 14:25:04 +0000 (15:25 +0100)
Change-Id: Ife9bf0274c226f3a2e85e8d97db567e0da8d4d4a

packaging/crash-worker.spec
packaging/crash-worker_system-tests.spec

index 41fe249..5003954 100644 (file)
@@ -56,6 +56,12 @@ Requires: %{name}-livedumper = %{version}-%{release}
 %description
 crash-manager
 
+%package libcrash-service
+Summary: libcrash-service
+
+%description libcrash-service
+libcrash-service provides API to communicate with crash-service
+
 %package devel
 Requires: crash-worker
 Summary:    Crash-manager development package
@@ -180,12 +186,14 @@ mkdir -p %{buildroot}%{crash_temp}
 %attr(-,root,root) %{_unitdir}/crash-service.service
 %attr(-,root,root) %{_sysconfdir}/dbus-1/system.d/crash-service.conf
 %attr(-,root,root) %{_datadir}/dbus-1/system-services/org.tizen.system.crash.livedump.service
-%{_libdir}/libcrash-service.so.*
 %endif
 
 #upgrade script
 %attr(-,root,root) %{upgrade_script_path}/500.crash-manager-upgrade.sh
 
+%files libcrash-service
+%{_libdir}/libcrash-service.so.*
+
 %files devel
 %{_includedir}/crash-manager.h
 %{_libdir}/libcrash-manager.so
index c965ee4..b4fad73 100644 (file)
@@ -29,6 +29,7 @@ Requires:      /bin/bash
 Requires:      /usr/bin/unzip
 Requires:      /usr/bin/mcookie
 Requires:      crash-worker
+Requires:      crash-worker-libcrash-service
 Requires:      %{_sbindir}/minicoredumper
 
 %description