- Move the post map rebuild script into the start script
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=113
This commit is contained in:
parent
30094cd61d
commit
342228c432
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e9fd8cd14fe07e7937e9a32335030cee07d6233b42d79a948825a84cad0fcbbc
|
||||
size 24456
|
||||
oid sha256:709f3538c1c2ddb71d987f648a46cdd60e39d5fcd7b97d115c511771eea133b5
|
||||
size 24717
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 13 14:50:45 UTC 2011 - varkoly@suse.com
|
||||
|
||||
- Move the post map rebuild script into the start script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 6 11:04:12 UTC 2011 - varkoly@suse.com
|
||||
|
||||
|
16
postfix.spec
16
postfix.spec
@ -301,10 +301,11 @@ 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
|
||||
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/rebuild_tables.systemd %{buildroot}/etc/postfix/system/rebuild_tables
|
||||
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}
|
||||
@ -402,12 +403,6 @@ else
|
||||
ln -s /usr/sbin/SuSEconfig.postfix /sbin/conf.d/SuSEconfig.postfix
|
||||
fi
|
||||
fi
|
||||
for i in /etc/postfix/*db;
|
||||
do
|
||||
test -e "$i" || continue;
|
||||
b=$( basename $i .db );
|
||||
postmap /etc/postfix/$b;
|
||||
done
|
||||
# before fillup we need to fix something
|
||||
[ \! -f %{_sysconfdir}/sysconfig/%{name} ] || %{__sed} -i \
|
||||
-e "s/POSTFIX_SMTPD_SENDERNT_RESTRICTIONS/POSTFIX_SMTPD_SENDER_RESTRICTIONS/" \
|
||||
@ -491,6 +486,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%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/rebuild_tables
|
||||
%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
|
||||
|
Loading…
Reference in New Issue
Block a user