Hello community, here is the log from the commit of package amavisd-new for openSUSE:Factory checked in at 2013-02-25 21:40:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/amavisd-new (Old) and /work/SRC/openSUSE:Factory/.amavisd-new.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "amavisd-new", Maintainer is "varkoly@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/amavisd-new/amavisd-new.changes 2013-02-08 07:06:35.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.amavisd-new.new/amavisd-new.changes 2013-02-25 21:40:08.000000000 +0100 @@ -1,0 +2,6 @@ +Mon Feb 25 08:09:22 UTC 2013 - mlin@suse.com + +- Install amavisd.service accordingly (/usr/lib/systemd for 12.3 + and up or /lib/systemd for older versions). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ amavisd-new.spec ++++++ --- /var/tmp/diff_new_pack.6eQjcM/_old 2013-02-25 21:40:12.000000000 +0100 +++ /var/tmp/diff_new_pack.6eQjcM/_new 2013-02-25 21:40:12.000000000 +0100 @@ -79,6 +79,12 @@ %define avuser vscan %define avgroup vscan +%if %suse_version > 1220 +%define _unitdir /usr/lib/systemd +%else +%define _unitdir /lib/systemd +%endif + %description Amavisd-new is a high-performance interface between mailer (MTA) and content checkers: virus scanners or SpamAssassin. It talks to the MTA @@ -149,9 +155,9 @@ ln -s ../../etc/init.d/amavis $RPM_BUILD_ROOT/%{_sbindir}/rcamavis install -m 644 LDAP.schema $RPM_BUILD_ROOT/etc/openldap/schema/amavisd-new.schema install -m 644 JpegTester.pm $RPM_BUILD_ROOT/%{perl_vendorlib}/JpegTester.pm -mkdir -p $RPM_BUILD_ROOT/lib/systemd/system +mkdir -p $RPM_BUILD_ROOT%{_unitdir}/system %if 0%{?suse_version} > 1140 -install -m 644 %{S:5} $RPM_BUILD_ROOT/lib/systemd/system/ +install -m 644 %{S:5} $RPM_BUILD_ROOT%{_unitdir}/system/ %endif install -m 755 %{S:6} $RPM_BUILD_ROOT/usr/sbin/ cd amavisd-milter @@ -204,7 +210,7 @@ %{_sbindir}/* %{perl_vendorlib}/JpegTester.pm %if 0%{?suse_version} > 1140 -%config /lib/systemd/system/amavisd.service +%config %{_unitdir}/system/amavisd.service /usr/sbin/amavisd-milter.sh %endif %defattr(0750,%{avuser},%{avgroup}) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de