Hello community, here is the log from the commit of package postfix for openSUSE:12.1 checked in at 2011-11-05 11:23:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.1/postfix (Old) and /work/SRC/openSUSE:12.1/.postfix.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "postfix", Maintainer is "varkoly@suse.com" Changes: -------- --- /work/SRC/openSUSE:12.1/postfix/postfix.changes 2011-10-24 13:19:59.000000000 +0200 +++ /work/SRC/openSUSE:12.1/.postfix.new/postfix.changes 2011-11-05 12:01:08.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Nov 3 15:56:23 UTC 2011 - varkoly@suse.com + +- Use the systemd macros in the spec file + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postfix.spec ++++++ --- /var/tmp/diff_new_pack.NUQmFC/_old 2011-11-05 12:01:12.000000000 +0100 +++ /var/tmp/diff_new_pack.NUQmFC/_new 2011-11-05 12:01:12.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+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org