Hello community,
here is the log from the commit of package ddclient for openSUSE:Factory checked in at 2019-02-19 12:00:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ddclient (Old)
and /work/SRC/openSUSE:Factory/.ddclient.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ddclient"
Tue Feb 19 12:00:36 2019 rev:46 rq:676976 version:3.9.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ddclient/ddclient.changes 2018-10-17 08:25:15.254672819 +0200
+++ /work/SRC/openSUSE:Factory/.ddclient.new.28833/ddclient.changes 2019-02-19 12:01:49.117094036 +0100
@@ -1,0 +2,7 @@
+Sat Feb 16 00:08:01 UTC 2019 - Jan Engelhardt
+
+- Ensure neutrality of description.
+- Do not ignore errors from useradd.
+- Avoid %__-type macro indirection.
+
+-------------------------------------------------------------------
@@ -363 +369,0 @@
-
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ddclient.spec ++++++
--- /var/tmp/diff_new_pack.ciJYGz/_old 2019-02-19 12:01:49.617093777 +0100
+++ /var/tmp/diff_new_pack.ciJYGz/_new 2019-02-19 12:01:49.617093777 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ddclient
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -23,7 +23,7 @@
Name: ddclient
Summary: A Perl Client to Update Dynamic DNS Entries
-License: GPL-2.0+
+License: GPL-2.0-or-later
Group: Productivity/Networking/DNS/Utilities
Version: 3.9.0
Release: 0
@@ -50,7 +50,7 @@
Recommends: perl-IO-Socket-SSL
%description
-ddclient is a small full-featured client requiring only Perl. Supported
+ddclient is a client requiring only Perl. Supported
features include daemon operation, manual and automatic updates, static
and dynamic updates, optimized updates for multiple addresses, MX, wild
cards, abuse avoidance, retry for failed updates, and status updates to
@@ -77,49 +77,42 @@
# nothing to do here (yet)
%install
-#%%{_sbindir}/groupadd -r %%{name} 2>/dev/null || :
-#%%{_sbindir}/useradd -c "DDClient User" -d %%{_localstatedir}/cache/%%{name} \
-# -g %%{name} -r -s /bin/false %%{name} 2>/dev/null || :
-
-#make DESTDIR=$RPM_BUILD_ROOT install
-%{__install} -D -m 755 %{name} %{buildroot}%{_sbindir}/%{name}
-%{__install} -D -m 600 examples/sample-etc_ddclient.conf %{buildroot}%{_sysconfdir}/%{name}.conf
+#%%make_install
+install -D -m 755 %{name} %{buildroot}%{_sbindir}/%{name}
+install -D -m 600 examples/sample-etc_ddclient.conf %{buildroot}%{_sysconfdir}/%{name}.conf
%if 0%{?has_systemd}
-%{__sed} -i -e "s,/var/run/,/run/%{name}/," %{buildroot}%{_sysconfdir}/%{name}.conf
+sed -i -e "s,/var/run/,/run/%{name}/," %{buildroot}%{_sysconfdir}/%{name}.conf
%else
-%{__sed} -i -e "s,/var/run/,/var/run/%{name}/," %{buildroot}%{_sysconfdir}/%{name}.conf
+sed -i -e "s,/var/run/,/var/run/%{name}/," %{buildroot}%{_sysconfdir}/%{name}.conf
%endif
# init script and config file
%if 0%{?has_systemd}
-%{__install} -D -m 644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}.service
-%{__install} -D -m 644 %{SOURCE3} %{buildroot}%{_libexecdir}/tmpfiles.d/%{name}.conf
-%{__ln_s} %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
+install -D -m 644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}.service
+install -D -m 644 %{SOURCE3} %{buildroot}%{_libexecdir}/tmpfiles.d/%{name}.conf
+ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
%else
-%{__install} -D -m 755 %{SOURCE4} %{buildroot}%{_sysconfdir}/init.d/%{name}
-%{__ln_s} %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name}
+install -D -m 755 %{SOURCE4} %{buildroot}%{_sysconfdir}/init.d/%{name}
+ln -s %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name}
%endif
-%{__install} -d -m 755 %{buildroot}%{_fillupdir}
-%{__install} -m 644 %{SOURCE2} %{buildroot}%{_fillupdir}/sysconfig.%{name}
-%{__install} -d -m 755 %{buildroot}/var/cache/%{name}
+install -d -m 755 %{buildroot}%{_fillupdir}
+install -m 644 %{SOURCE2} %{buildroot}%{_fillupdir}/sysconfig.%{name}
+install -d -m 755 %{buildroot}/var/cache/%{name}
%if 0%{?has_systemd}
-%{__install} -d -m 755 %{buildroot}/run/%{name}
+install -d -m 755 %{buildroot}/run/%{name}
%else
-%{__install} -d -m 755 %{buildroot}%{_localstatedir}/run/%{name}
+install -d -m 755 %{buildroot}%{_localstatedir}/run/%{name}
%endif
%pre
-if [[ -z $(%{_bindir}/getent group %{name} 2>/dev/null) ]]; then
- %{_sbindir}/groupadd -r %{name} 2>/dev/null
-fi
-if [[ -z $(%{_bindir}/getent passwd %{name} 2>/dev/null) ]]; then
+getent group %{name} >/dev/null || %{_sbindir}/groupadd -r %{name}
+getent passwd %{name} >/dev/null || \
%{_sbindir}/useradd -c "DDClient User" -d %{_localstatedir}/cache/%{name} \
- -g %{name} -r -s /bin/false %{name} 2>/dev/null
-fi
+ -g %{name} -r -s /bin/false %{name}
%if 0%{?has_systemd}
%service_add_pre %{name}.service
-%{__install} -d -m 755 -o %{name} -g root /run/%{name}
+install -d -m 755 -o %{name} -g root /run/%{name}
%else
-%{__install} -d -m 755 -o %{name} -g root %{_localstatedir}/run/%{name}
+install -d -m 755 -o %{name} -g root %{_localstatedir}/run/%{name}
%endif
%post