From: Jacek Konieczny Date: Wed, 23 Jun 2004 06:17:18 +0000 (+0000) Subject: - Builds and seems to work. Needs testing. X-Git-Tag: auto/ac/postfix-2_1_3-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpostfix.git;a=commitdiff_plain;h=3e66ea7cb5f1e3304c92646467567b223c0ace41 - Builds and seems to work. Needs testing. - unpackaged files removed in %install, not installed removed from %files - upgrade configuration on postfix upgrade Changed files: postfix.spec -> 1.212.2.4 --- diff --git a/postfix.spec b/postfix.spec index ae7a142..f7716bb 100644 --- a/postfix.spec +++ b/postfix.spec @@ -271,6 +271,8 @@ touch $RPM_BUILD_ROOT%{_sysconfdir}/mail/\ > $RPM_BUILD_ROOT/var/spool/postfix/.nofinger +rm -rf /etc/mail/makedefs.out /usr/share/man/cat* + %clean rm -rf $RPM_BUILD_ROOT @@ -311,6 +313,8 @@ if [ "$1" = "1" ]; then if ! grep -q "^myhostname" /etc/mail/main.cf; then postconf -e myhostname=`/bin/hostname -f` fi +else + postfix upgrade-configuration fi newaliases @@ -352,11 +356,12 @@ mv -f /etc/mail/master.cf.rpmtmp /etc/mail/master.cf %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mail/access %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mail/aliases %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mail/canonical -%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mail/pcre_table -%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mail/regexp_table +#%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mail/pcre_table +#%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mail/regexp_table %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mail/relocated %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mail/transport %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mail/virtual +%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mail/header_checks #%ghost %{_sysconfdir}/mail/*.db %dir %{_sysconfdir}/mail %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mail/dynamicmaps.cf