From 6e011960094ad204ab3b6f40473313881a51fbec903300c153a67b50f7682dae Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 12 Aug 2011 16:44:59 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=91 --- postfix-SuSE.tar.gz | 4 ++-- postfix.changes | 11 +++++++++++ postfix.spec | 15 +++++++++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) diff --git a/postfix-SuSE.tar.gz b/postfix-SuSE.tar.gz index 042f554..3cede7d 100644 --- a/postfix-SuSE.tar.gz +++ b/postfix-SuSE.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:33fc02faba118ad24c994a3d71ea526755fe9d4283fb687f06e6b54f649a642c -size 30867 +oid sha256:4f51c3128346fba59d1c6787b0a918f85a7746ecdec90eccc57d6683ba40e009 +size 31764 diff --git a/postfix.changes b/postfix.changes index 85f0d13..99e8395 100644 --- a/postfix.changes +++ b/postfix.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Aug 12 16:40:40 UTC 2011 - werner@suse.de + +- Just the first strep forward to systemd, please test out + /etc/postfix/system/update_chroot + /etc/postfix/system/wait_qmgr + /etc/postfix/system/cond_slp + and + /lib/systemd/system/postfix.service + and also fill out the missing description. + ------------------------------------------------------------------- Tue Aug 9 11:03:55 UTC 2011 - chris@computersalat.de diff --git a/postfix.spec b/postfix.spec index ec538d3..e60c0b5 100644 --- a/postfix.spec +++ b/postfix.spec @@ -295,6 +295,14 @@ done cp -a examples/* $RPM_BUILD_ROOT%{pf_sample_directory} cp -a html/* $RPM_BUILD_ROOT%{pf_html_directory} cp -a auxiliary/ $RPM_BUILD_ROOT%{pf_docdir}/ +%if 0%{?suse_version} >= 1140 +mkdir -p %{buildroot}/lib/systemd/system +mkdir -p %{buildroot}/etc/postfix/system +install -m 0644 %{name}-SuSE/postfix.service %{buildroot}/lib/systemd/system/ +install -m 0755 %{name}-SuSE/update_chroot.systemd %{buildroot}/etc/postfix/system/update_chroot +install -m 0755 %{name}-SuSE/wait_qmgr.systemd %{buildroot}/etc/postfix/system/wait_qmgr +install -m 0755 %{name}-SuSE/cond_slp.systemd %{buildroot}/etc/postfix/system/cond_slp +%endif %if 0%{?suse_version} >= 1100 %fdupes $RPM_BUILD_ROOT%{pf_docdir} %fdupes $RPM_BUILD_ROOT%{_mandir} @@ -452,6 +460,13 @@ rm -rf $RPM_BUILD_ROOT %attr(0644, root, root) %config /etc/%{name}/makedefs.out /usr/lib/%{name}/%{name}-files %config %attr(0755,root,root) /etc/init.d/%{name} +%if 0%{?suse_version} >= 1140 +%dir /etc/postfix/system +%config %attr(0755,root,root) /etc/postfix/system/update_chroot +%config %attr(0755,root,root) /etc/postfix/system/wait_qmgr +%config %attr(0755,root,root) /etc/postfix/system/cond_slp +%config /lib/systemd/system/postfix.service +%endif /usr/bin/mailq /usr/bin/newaliases %attr(0755, root, root) /usr/sbin/sendmail