Hello community,

here is the log from the commit of package gammu for openSUSE:Factory checked 
in at 2017-11-15 17:00:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gammu (Old)
 and      /work/SRC/openSUSE:Factory/.gammu.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gammu"

Wed Nov 15 17:00:14 2017 rev:46 rq:541796 version:1.38.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/gammu/gammu.changes      2017-06-28 
10:36:44.663489454 +0200
+++ /work/SRC/openSUSE:Factory/.gammu.new/gammu.changes 2017-11-15 
17:00:15.550630043 +0100
@@ -1,0 +2,12 @@
+Thu Oct 26 12:05:38 UTC 2017 - [email protected]
+
+- Explicitly package systemd service on suse_version >= 1330:
+  depending on the dep chain, systemd is already detected (and
+  causes build failures for unpackaged files).
+
+-------------------------------------------------------------------
+Sun Jul 30 10:40:44 UTC 2017 - [email protected]
+
+- forcefully enable PIE as automatism does not trigger.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ gammu.spec ++++++
--- /var/tmp/diff_new_pack.humNsW/_old  2017-11-15 17:00:16.718587278 +0100
+++ /var/tmp/diff_new_pack.humNsW/_new  2017-11-15 17:00:16.722587132 +0100
@@ -119,6 +119,9 @@
 %else
 BuildRequires:  pkgconfig
 %endif
+%if 0%{?suse_version} >= 1330
+BuildRequires:  pkgconfig(systemd)
+%endif
 BuildRequires:  %{dist_bluez_libs}
 %if 0%{?suse_version} > 1140
 BuildRequires:  python-Sphinx
@@ -277,8 +280,9 @@
 %build
 mkdir build
 cd build
-export CFLAGS="%{optflags}"
-export CXXFLAGS="%{optflags}"
+export CFLAGS="%{optflags} -fPIE"
+export CXXFLAGS="%{optflags} -fPIE"
+export LDFLAGS="-pie"
 cmake ../ \
     -DBUILD_SHARED_LIBS=ON \
     -DCMAKE_INSTALL_PREFIX=%{_prefix} \
@@ -331,6 +335,20 @@
 
 %postun -n libgsmsd%{so_ver} -p /sbin/ldconfig
 
+%if 0%{?suse_version} >= 1330
+%pre smsd
+%service_add_pre gammu-smsd.service
+
+%preun smsd
+%service_del_preun gammu-smsd.service
+
+%post smsd
+%service_add_post gammu-smsd.service
+
+%postun smsd
+%service_del_postun gammu-smsd.service
+%endif
+
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %config %{_sysconfdir}/bash_completion.d/gammu
@@ -371,6 +389,9 @@
 %{_bindir}/gammu-smsd
 %{_bindir}/gammu-smsd-inject
 %{_bindir}/gammu-smsd-monitor
+%if 0%{?suse_version} >= 1330
+%{_unitdir}/gammu-smsd.service
+%endif
 %doc %{_mandir}/man1/gammu-smsd-inject.1*
 %doc %{_mandir}/man1/gammu-smsd-monitor.1*
 %doc %{_mandir}/man1/gammu-smsd.1*


Reply via email to