Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package vnstat for openSUSE:Factory checked 
in at 2021-06-11 00:18:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vnstat (Old)
 and      /work/SRC/openSUSE:Factory/.vnstat.new.32437 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vnstat"

Fri Jun 11 00:18:59 2021 rev:16 rq:899072 version:2.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/vnstat/vnstat.changes    2021-06-01 
10:41:16.125201936 +0200
+++ /work/SRC/openSUSE:Factory/.vnstat.new.32437/vnstat.changes 2021-06-11 
00:19:34.997411739 +0200
@@ -1,0 +2,7 @@
+Sun Jun  6 10:45:30 UTC 2021 - Martin Hauke <mar...@gmx.de>
+
+- Install examples/systemd/simple/vnstat.service
+- Drop not longer needed patch:
+  * systemd234.patch
+
+-------------------------------------------------------------------

Old:
----
  systemd234.patch

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

Other differences:
------------------
++++++ vnstat.spec ++++++
--- /var/tmp/diff_new_pack.xH8zOi/_old  2021-06-11 00:19:35.545412691 +0200
+++ /var/tmp/diff_new_pack.xH8zOi/_new  2021-06-11 00:19:35.549412698 +0200
@@ -28,6 +28,7 @@
 License:        GPL-2.0-only
 Group:          Productivity/Networking/Diagnostic
 URL:            http://humdi.net/vnstat
+#Git-Clone:     https://github.com/vergoh/vnstat.git
 Source:         http://humdi.net/vnstat/vnstat-%{version}.tar.gz
 Source98:       
http://humdi.net/vnstat/vnstat-%{version}.tar.gz.asc#/%{name}-%{version}.tar.gz.sig
 Source99:       %{name}.keyring
@@ -35,7 +36,6 @@
 Source2:        vnstat-cgi.conf
 Source3:        vnstat-create-db.sh
 Source4:        vnstat.init
-Patch1:         systemd234.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  check-devel
@@ -77,11 +77,8 @@
 
 %prep
 %setup -q
-%if 0%{?suse_version} <= 1500
-%patch1 -p1
-%endif
 # Add user and group to the systemd service.
-sed -i 's/\(\[Service\]\)/\1\nUser=vnstat\nGroup=vnstat/' 
examples/systemd/vnstat.service
+sed -i 's/\(\[Service\]\)/\1\nUser=vnstat\nGroup=vnstat/' 
examples/systemd/simple/vnstat.service
 
 %build
 autoreconf -fi
@@ -104,7 +101,7 @@
 install -Dm 0755 %{SOURCE3} %{buildroot}%{_bindir}/vnstat-create-db
 
 %if %{with systemd}
-install -Dm 0644 examples/systemd/vnstat.service 
%{buildroot}%{_unitdir}/vnstatd.service
+install -Dm 0644 examples/systemd/simple/vnstat.service 
%{buildroot}%{_unitdir}/vnstatd.service
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcvnstatd
 %else
 install -Dm 0755 %{SOURCE4} %{buildroot}%{_initddir}/vnstatd

Reply via email to