commit spamassassin for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package spamassassin for openSUSE:Factory checked in at 2013-02-25 21:42:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/spamassassin (Old) and /work/SRC/openSUSE:Factory/.spamassassin.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "spamassassin", Maintainer is "varkoly@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/spamassassin/spamassassin.changes 2012-10-18 22:03:30.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.spamassassin.new/spamassassin.changes 2013-02-25 21:42:12.000000000 +0100 @@ -1,0 +2,6 @@ +Mon Feb 25 07:00:52 UTC 2013 - mlin@suse.com + +- Install spamd.service and spampd.service accordingly (/usr/lib/systemd + for 12.3 and up or /lib/systemd for older versions). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ spamassassin.spec ++++++ --- /var/tmp/diff_new_pack.GGrMPj/_old 2013-02-25 21:42:13.000000000 +0100 +++ /var/tmp/diff_new_pack.GGrMPj/_new 2013-02-25 21:42:13.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package spamassassin # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -64,6 +64,12 @@ %{?systemd_requires} %endif +%if %suse_version > 1220 +%define _unitdir /usr/lib/systemd +%else +%define _unitdir /lib/systemd +%endif + %description spamassassin adds a header line that shows if the mail has been determined spam or not. This way, you can decide what to do with the @@ -229,9 +235,9 @@ %if 0%{?suse_version} > 1140 ## systemd stuff -mkdir -p $RPM_BUILD_ROOT/lib/systemd/system -%{__install} -m 644 %{S:16} $RPM_BUILD_ROOT/lib/systemd/system/ -%{__install} -m 644 %{S:17} $RPM_BUILD_ROOT/lib/systemd/system/ +mkdir -p $RPM_BUILD_ROOT%{_unitdir}/system +%{__install} -m 644 %{S:16} $RPM_BUILD_ROOT%{_unitdir}/system/ +%{__install} -m 644 %{S:17} $RPM_BUILD_ROOT%{_unitdir}/system/ %endif %post @@ -279,8 +285,8 @@ /var/adm/fillup-templates/sysconfig.spamd /var/adm/fillup-templates/sysconfig.spampd %if 0%{?suse_version} > 1140 -%config /lib/systemd/system/spamd.service -%config /lib/systemd/system/spampd.service +%config %{_unitdir}/system/spamd.service +%config %{_unitdir}/system/spampd.service %endif %files -n perl-Mail-SpamAssassin -f %{name}.files -- 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