Hello community, here is the log from the commit of package postfix for openSUSE:Factory checked in at 2011-11-05 11:22:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postfix (Old) and /work/SRC/openSUSE:Factory/.postfix.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postfix", Maintainer is "vark...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/postfix/postfix.changes 2011-10-18 14:38:00.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.postfix.new/postfix.changes 2011-11-05 11:57:31.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Nov 3 15:56:23 UTC 2011 - vark...@suse.com + +- Use the systemd macros in the spec file + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postfix.spec ++++++ --- /var/tmp/diff_new_pack.lgGW2e/_old 2011-11-05 12:01:08.000000000 +0100 +++ /var/tmp/diff_new_pack.lgGW2e/_new 2011-11-05 12:01:08.000000000 +0100 @@ -57,6 +57,11 @@ %if 0%{?suse_version} >= 1100 BuildRequires: fdupes %endif +%if 0%{?suse_version} > 1140 +BuildRequires: systemd +%{?systemd_requires} +%endif + # Conflicts: sendmail exim Provides: smtp_daemon @@ -309,6 +314,10 @@ install -m 755 %{SOURCE11} $RPM_BUILD_ROOT/usr/sbin/ %pre +%if %suse_version > 1140 +%service_add_pre %{name}.service +%endif + VERSIONTEST=$(test -x usr/sbin/postconf && usr/sbin/postconf proxy_read_maps 2>/dev/null) if [ -z "$VERSIONTEST" -a -f %{pf_queue_directory}/pid/master.pid ]; then if checkproc -p %{pf_queue_directory}/pid/master.pid usr/lib/%{name}/master; then @@ -339,6 +348,9 @@ %preun %stop_on_removal %{name} +%if %suse_version > 1140 +%service_del_preun %{name}.service +%endif # --------------------------------------------------------------------------- %preun mysql @@ -396,6 +408,9 @@ %{_sysconfdir}/sysconfig/%{name} %{fillup_and_insserv -y postfix} %{fillup_only -an mail} +%if %suse_version > 1140 +%service_add_post %{name}.service +%endif /sbin/ldconfig # --------------------------------------------------------------------------- @@ -403,6 +418,10 @@ %restart_on_update %{name} %insserv_cleanup /sbin/ldconfig +%if %suse_version > 1140 +%service_del_postun %{name}.service +%endif + # --------------------------------------------------------------------------- %post postgresql -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org