Hello community, here is the log from the commit of package ez-ipupdate for openSUSE:Factory checked in at 2015-04-25 09:52:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ez-ipupdate (Old) and /work/SRC/openSUSE:Factory/.ez-ipupdate.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ez-ipupdate" Changes: -------- --- /work/SRC/openSUSE:Factory/ez-ipupdate/ez-ipupdate.changes 2013-11-01 14:38:32.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ez-ipupdate.new/ez-ipupdate.changes 2015-04-25 11:23:07.000000000 +0200 @@ -1,0 +2,8 @@ +Wed Apr 22 12:52:17 UTC 2015 - [email protected] + +- Update rcsymlink +- Add missing %pre section +- Correct unit file permissions +- Cleanup spec-file using spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ez-ipupdate.spec ++++++ --- /var/tmp/diff_new_pack.xTHeiZ/_old 2015-04-25 11:23:07.000000000 +0200 +++ /var/tmp/diff_new_pack.xTHeiZ/_new 2015-04-25 11:23:07.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package ez-ipupdate # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -17,17 +17,17 @@ Name: ez-ipupdate +Version: 3.0.11b8 +Release: 0 Summary: A Small Utility for Updating a Dynamic DNS Service License: GPL-2.0+ Group: Productivity/Networking/DNS/Utilities -Version: 3.0.11b8 -Release: 0 -BuildRequires: automake +Url: http://ez-ipupdate.com/ Source0: %{name}-%{version}.tar.bz2 Source1: ez-ipupdate.init Source2: ez-ipupdate.example.conf Source3: ez-ipupdate.service -Patch: ez-ipupdate.example.conf.patch +Patch0: ez-ipupdate.example.conf.patch Patch1: ez-ipupdate-3.0.11b8-include.diff Patch2: ez-ipupdate-format-string-vuln.patch Patch3: ez-ipupdate-includes.patch @@ -40,7 +40,7 @@ Patch7: ez-ipupdate-type-punning.patch # PATCH-FIX-UPSTREAM Reduce compiler warnings. Patch8: ez-ipupdate-code_cleanup.patch -Url: http://ez-ipupdate.com/ +BuildRequires: automake BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} >=1230 BuildRequires: pkgconfig(systemd) @@ -81,7 +81,7 @@ %prep %setup -q -%patch -p1 +%patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 @@ -94,13 +94,13 @@ rm acconfig.h %build -find -name "example*" | xargs -n 1 sed -i "s@/usr/local/bin/@/usr/bin/@" +find -name "example*" | xargs -n 1 sed -i "s@%{_prefix}/local/bin/@%{_bindir}/@" autoreconf -fiv %configure make %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install +make DESTDIR=%{buildroot} install %{?_smp_mflags} install -m 755 -d %{buildroot}%{_sysconfdir} install -d %{buildroot}%{_sbindir} %if 0%{?suse_version} >=1230 @@ -109,13 +109,18 @@ install -m 755 -d %{buildroot}%{_sysconfdir}/init.d %endif install -m 755 -d %{buildroot}%{_localstatedir}/lib/ez-ipupdate/ -install -m 600 %{S:2} %{buildroot}%{_sysconfdir}/ez-ipupdate.conf +install -m 600 %{SOURCE2} %{buildroot}%{_sysconfdir}/ez-ipupdate.conf %if 0%{?suse_version} >=1230 -install -m 755 %{S:3} %{buildroot}%{_unitdir}/ez-ipupdate.service -ln -sf /sbin/service %{buildroot}%{_sbindir}/rcez-ipupdate +install -m 644 %{SOURCE3} %{buildroot}%{_unitdir}/ez-ipupdate.service +ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcez-ipupdate %else -install -m 755 %{S:1} %{buildroot}%{_sysconfdir}/init.d/ez-ipupdate -ln -sf /etc/init.d/ez-ipupdate %{buildroot}%{_sbindir}/rcez-ipupdate +install -m 755 %{SOURCE1} %{buildroot}%{_sysconfdir}/init.d/ez-ipupdate +ln -sf %{_initddir}/ez-ipupdate %{buildroot}%{_sbindir}/rcez-ipupdate +%endif + +%pre +%if 0%{?suse_version} >=1230 +%service_add_pre %{name}.service %endif %preun
