Hello community, here is the log from the commit of package dkimproxy for openSUSE:Factory checked in at 2020-06-25 15:07:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dkimproxy (Old) and /work/SRC/openSUSE:Factory/.dkimproxy.new.3060 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dkimproxy" Thu Jun 25 15:07:57 2020 rev:21 rq:816892 version:1.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/dkimproxy/dkimproxy.changes 2019-12-23 22:49:11.570106389 +0100 +++ /work/SRC/openSUSE:Factory/.dkimproxy.new.3060/dkimproxy.changes 2020-06-25 15:09:00.689663391 +0200 @@ -1,0 +2,5 @@ +Fri Jun 19 14:09:15 UTC 2020 - Cristian RodrÃguez <[email protected]> + +- Remove sysvinit remains from this package. + +------------------------------------------------------------------- Old: ---- dkimproxy.init ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dkimproxy.spec ++++++ --- /var/tmp/diff_new_pack.ANHRKr/_old 2020-06-25 15:09:01.397665612 +0200 +++ /var/tmp/diff_new_pack.ANHRKr/_new 2020-06-25 15:09:01.397665612 +0200 @@ -1,7 +1,7 @@ # # spec file for package dkimproxy # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,13 +19,6 @@ %if %{undefined _fillupdir} %define _fillupdir /var/adm/fillup-templates/ %endif -# -# sysvinit -- build for SysVinit and not for systemd -# -%if %{undefined systemd_requires} -%global with_sysvinit 1 -%endif -%bcond_with sysvinit %define dkimproxy_prefix /usr/share/dkimproxy Summary: DKIMproxy is an SMTP-proxy that implements the DKIM and DomainKeys standards @@ -35,17 +28,13 @@ Name: dkimproxy Version: 1.4.1 Release: 0 -Url: http://dkimproxy.sourceforge.net/ +URL: http://dkimproxy.sourceforge.net/ Source: %{name}-%{version}.tar.gz -%if %{with sysvinit} -Source1: %{name}.init -%else Source2: %{name}.sysconfig Source3: %{name}-in.service Source4: %{name}-out.service Source5: %{name}_env.sh %define services %{name}-in.service %{name}-out.service -%endif Patch0: dkimproxy-1.4.1-avoid-perl-provides.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -54,7 +43,7 @@ BuildRequires: perl-Mail-DKIM BuildRequires: perl-Net-Server BuildRequires: pwdutils -PreReq: pwdutils %insserv_prereq +PreReq: pwdutils %fillup_prereq Requires: git-core Requires: perl-Mail-DKIM Requires: perl-Net-Server @@ -80,11 +69,6 @@ %install %makeinstall chmod 644 $( find %{buildroot}/%{dkimproxy_prefix} -name "*.pm" ) -%if %{with sysvinit} - mkdir -p %{buildroot}{%{_sbindir},/etc/init.d} - install -m755 %{SOURCE1} %{buildroot}/etc/init.d/%{name} - ln -sf ../../etc/init.d/%{name} %{buildroot}/usr/sbin/rc%{name} -%else mkdir -p %{buildroot}%{_fillupdir} mkdir -p %{buildroot}%{_unitdir} mkdir -p %{buildroot}%{_libexecdir}/%{name} @@ -92,7 +76,7 @@ install -m 0644 %{S:3} %{buildroot}%{_unitdir}/ install -m 0644 %{S:4} %{buildroot}%{_unitdir}/ install -m 0755 %{S:5} %{buildroot}%{_libexecdir}/%{name} -%endif + # --------------------------------------------------------------------------- ### Clean up buildroot find %{buildroot} -name .packlist -exec %{__rm} {} \; @@ -104,45 +88,27 @@ %pre /usr/sbin/groupadd -r dkim 2> /dev/null || : /usr/sbin/useradd -r -g dkim -s /bin/false -c "DKIMproxy Daemon" -d /var/spool/dkim dkim 2> /dev/null || : -%if %{without sysvinit} %service_add_pre %services -%endif %preun -%if %{with sysvinit} -%stop_on_removal %{name} -%else %service_del_preun %services -%endif %post -%if %{without sysvinit} %service_add_post %services %{fillup_only} -%endif %postun -%if %{with sysvinit} -%restart_on_update %{name} -%insserv_cleanup -%else %service_del_postun %services -%endif %files %defattr(-, root, root, 0755) %doc AUTHORS ChangeLog INSTALL NEWS README TODO smtpprox.ChangeLog smtpprox.README smtpprox.TODO %license COPYING %{dkimproxy_prefix} -%if %{with sysvinit} -%{_sbindir}/rcdkimproxy -%config /etc/init.d/%{name} -%else %{_fillupdir}/sysconfig.%{name} %{_unitdir}/%{name}-in.service %{_unitdir}/%{name}-out.service %{_libexecdir}/%{name}/ -%endif # --------------------------------------------------------------------------- %changelog
