diff --git a/postfix-SuSE.tar.gz b/postfix-SuSE.tar.gz index 3aaf191..30e7075 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:57e9c1298ab13ac7298e71c9551712da44514e06b812ab112e30c9f2cb646b65 -size 24106 +oid sha256:dbdedc55f16a0fd2c6640a343ab2d97dc127b91620ad7eb3723024dd26448f04 +size 24645 diff --git a/postfix.spec b/postfix.spec index 312d777..64c8471 100644 --- a/postfix.spec +++ b/postfix.spec @@ -223,7 +223,6 @@ mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates rm -f $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.%{name} sed -e 's;@lib@;%{_lib};g' %{name}-SuSE/sysconfig.%{name} > $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.%{name} install -m 644 %{name}-SuSE/sysconfig.mail-%{name} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.mail-%{name} -test -e $RPM_BUILD_ROOT/sbin/conf.d/SuSEconfig.%{name} && rm -f $RPM_BUILD_ROOT/sbin/conf.d/SuSEconfig.%{name} sed -e 's;@lib@;%{_lib};g' \ -e 's;@conf_backup_dir@;%{conf_backup_dir};' \ -e 's;@daemon_directory@;%{pf_daemon_directory};' \ @@ -234,9 +233,9 @@ sed -e 's;@lib@;%{_lib};g' \ -e 's;@manpage_directory@;%{_mandir};' \ -e 's;@newaliases_path@;%{pf_newaliases_path};' \ -e 's;@sample_directory@;%{pf_sample_directory};' \ - -e 's;@mailq_path@;%{pf_mailq_path};' %{name}-SuSE/SuSEconfig.%{name} \ - > $RPM_BUILD_ROOT/usr/sbin/SuSEconfig.%{name} -chmod 755 $RPM_BUILD_ROOT/usr/sbin/SuSEconfig.%{name} + -e 's;@mailq_path@;%{pf_mailq_path};' %{name}-SuSE/config.%{name} \ + > $RPM_BUILD_ROOT/usr/sbin/config.%{name} +chmod 755 $RPM_BUILD_ROOT/usr/sbin/config.%{name} install -m 644 %{name}-SuSE/dynamicmaps.cf $RPM_BUILD_ROOT/etc/%{name}/dynamicmaps.cf install -m 644 %{name}-SuSE/ldap_aliases.cf $RPM_BUILD_ROOT/etc/%{name}/ldap_aliases.cf install -m 644 %{name}-SuSE/helo_access $RPM_BUILD_ROOT/etc/postfix/helo_access @@ -258,7 +257,7 @@ cat<= 1140 %dir /etc/postfix/system -%config %attr(0755,root,root) /etc/postfix/system/update_chroot -%config %attr(0755,root,root) /etc/postfix/system/update_postmaps -%config %attr(0755,root,root) /etc/postfix/system/wait_qmgr -%config %attr(0755,root,root) /etc/postfix/system/cond_slp +%config %attr(0755,root,root) /etc/postfix/system/* %config /lib/systemd/system/postfix.service %endif /usr/bin/mailq