Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package soapy-remote for openSUSE:Factory 
checked in at 2021-10-15 23:03:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/soapy-remote (Old)
 and      /work/SRC/openSUSE:Factory/.soapy-remote.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "soapy-remote"

Fri Oct 15 23:03:30 2021 rev:6 rq:925148 version:0.5.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/soapy-remote/soapy-remote.changes        
2021-03-24 16:17:54.180250703 +0100
+++ /work/SRC/openSUSE:Factory/.soapy-remote.new.1890/soapy-remote.changes      
2021-10-15 23:03:44.566088017 +0200
@@ -1,0 +2,23 @@
+Wed Oct 13 11:30:51 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Also make sure soapy-remote-server replaces
+  soapysdr0.7-module-remote.
+
+-------------------------------------------------------------------
+Tue Oct 12 11:42:20 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Fix installation conflicts with soapysdr0.7-module-remote.
+- Add Provides/Obsoletes to avoid issues with future updates.
+
+-------------------------------------------------------------------
+Thu Jul 22 14:32:06 UTC 2021 - Wojciech Kazubski <w...@ire.pw.edu.pl>
+
+- New package soapysdr-remote-server splitted off.
+- Systemd files installed as a part of server package.
+
+-------------------------------------------------------------------
+Tue Jul  6 12:03:12 UTC 2021 - Wojciech Kazubski <w...@ire.pw.edu.pl>
+
+- SoapySDR version bumped to 0.8
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ soapy-remote.spec ++++++
--- /var/tmp/diff_new_pack.sGHi7R/_old  2021-10-15 23:03:44.910088262 +0200
+++ /var/tmp/diff_new_pack.sGHi7R/_new  2021-10-15 23:03:44.910088262 +0200
@@ -17,7 +17,7 @@
 #
 
 
-%define soapy_modver 0.7
+%define soapy_modver 0.8
 %define soapy_modname soapysdr%{soapy_modver}-module-remote
 
 Name:           soapy-remote
@@ -40,10 +40,26 @@
 %package -n %{soapy_modname}
 Summary:        Remote device support for Soapy SDR
 Group:          System/Libraries
+# soapysdr0.7-module-remote needs to be force dropped
+Conflicts:      soapysdr0.7-module-remote
+# Add 'Provides/Obsoletes' entries for future updates
+Provides:       soapy-remote-module = %{soapy_modver}
+Obsoletes:      soapy-remote-module < %{soapy_modver}
 
 %description -n %{soapy_modname}
 A Soapy module that supports remote devices within the Soapy API.
 
+%package server
+Summary:        Server for remote device support for Soapy SDR
+Group:          Productivity/Hamradio/Other
+# The server part was split, a 'Conflicts' line is also needed here.
+Conflicts:      soapysdr0.7-module-remote
+
+%description server
+A server that supports remote devices for the Soapy SDR. 
+This package is intended to run on the system the sdr device is
+connected to.
+
 %prep
 %setup -q -n SoapyRemote-%{name}-%{version}
 
@@ -53,17 +69,36 @@
 
 %install
 %cmake_install
-# FIXME: should be handled - disabled for now
-rm %{buildroot}//usr/lib/sysctl.d/SoapySDRServer.conf
-rm %{buildroot}//usr/lib/systemd/system/SoapySDRServer.service
+
+mkdir %{buildroot}%{_sbindir}
+ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcSoapySDRServer
+
+%pre server
+%service_add_pre SoapySDRServer.service
+
+%post server
+%service_add_post SoapySDRServer.service
+
+%preun server
+%service_del_preun SoapySDRServer.service
+
+%postun server
+%service_del_postun SoapySDRServer.service
 
 %files -n %{soapy_modname}
 %license LICENSE_1_0.txt
 %doc Changelog.txt README.md
-%{_bindir}/SoapySDRServer
-%{_mandir}/man1/SoapySDRServer.1%{ext_man}
 %dir %{_libdir}/SoapySDR/
 %dir %{_libdir}/SoapySDR/modules%{soapy_modver}
 %{_libdir}/SoapySDR/modules%{soapy_modver}/libremoteSupport.so
 
+%files server
+%license LICENSE_1_0.txt
+%doc Changelog.txt README.md
+%{_bindir}/SoapySDRServer
+%{_sbindir}/rcSoapySDRServer
+%{_mandir}/man1/SoapySDRServer.1%{ext_man}
+%{_prefix}/lib/sysctl.d/SoapySDRServer.conf
+%{_unitdir}/SoapySDRServer.service
+
 %changelog

Reply via email to