--- rpms/ddclient/contribs10/ddclient.spec 2022/11/07 11:26:27 1.3 +++ rpms/ddclient/contribs10/ddclient.spec 2023/11/08 11:24:27 1.6 @@ -3,8 +3,8 @@ Summary: Client to update dynamic DNS host entries Name: ddclient -Version: 3.10.0 -Release: 1%{?dist} +Version: 3.11.1 +Release: 1%{?dist} License: GPLv2+ URL: https://ddclient.net/ Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -23,12 +23,14 @@ Requires(post): systemd Requires(preun): systemd Requires(postun): systemd -#Requires: perl(Data::Validate::IP) +Requires: perl(Data::Validate::IP) Requires: perl(Digest::SHA1) Requires: perl(IO::Socket::INET6) Requires: perl(IO::Socket::SSL) Requires: perl(JSON::PP) +AutoReq: no + # Old NetworkManager expects the dispatcher scripts in a different place Conflicts: NetworkManager < 1.20 @@ -43,11 +45,11 @@ the failed updates and sending update st %setup -q # Move pid file location for running as non-root. sed -e 's|/var/run/ddclient.pid|%{rundir}/%{name}.pid|' \ - -i sample-etc_ddclient.conf + -i ddclient.conf.in # Send less mail by default, eg. not on every shutdown. -sed -e 's|^mail=|#mail=|' -i sample-etc_ddclient.conf +sed -e 's|^mail=|#mail=|' -i ddclient.conf.in # Backwards compatibility from pre-3.6.6-1 -sed -e 's|/etc/ddclient/|%{_sysconfdir}/|' -i %{name} +sed -e 's|/etc/ddclient/|%{_sysconfdir}/|' -i %{name}.in %build @@ -55,8 +57,8 @@ sed -e 's|/etc/ddclient/|%{_sysconfdir}/ %install -install -D -p -m 755 %{name} $RPM_BUILD_ROOT%{_sbindir}/%{name} -install -D -p -m 600 sample-etc_ddclient.conf \ +install -D -p -m 755 %{name}.in $RPM_BUILD_ROOT%{_sbindir}/%{name} +install -D -p -m 600 ddclient.conf.in \ $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf install -D -p -m 644 %{SOURCE1} \ $RPM_BUILD_ROOT%{_sysconfdir}/rwtab.d/%{name} @@ -99,7 +101,7 @@ fi %files %license COPYING COPYRIGHT -%doc README* RELEASENOTE ChangeLog Changelog.old sample-etc_ppp_ip-up.local +%doc README* ChangeLog.md sample-etc_ppp_ip-up.local %doc sample-etc_dhclient-exit-hooks sample-etc_cron.d_ddclient %doc sample-ddclient-wrapper.sh sample-etc_dhcpc_dhcpcd-eth0.exe @@ -120,6 +122,9 @@ fi %changelog +* Wed Nov 08 2023 Brian Read 3.11.0-2.sme +- Update to release 3.11.1 [SME:12425] + * Mon Nov 07 2022 Brian Read - 3.10.0-1 - Update to release 3.10.0 [SME:12217]