summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacek Konieczny2004-06-23 06:17:18 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit3e66ea7cb5f1e3304c92646467567b223c0ace41 (patch)
treebcdf7eb43abb88396ebc6ced67c9aff7c451a0a1
parent143996500b3c7e2d46adba345f5bdb79961050a2 (diff)
downloadpostfix-3e66ea7cb5f1e3304c92646467567b223c0ace41.zip
postfix-3e66ea7cb5f1e3304c92646467567b223c0ace41.tar.gz
- Builds and seems to work. Needs testing.auto/ac/postfix-2_1_3-1
- unpackaged files removed in %install, not installed removed from %files - upgrade configuration on postfix upgrade Changed files: postfix.spec -> 1.212.2.4
-rw-r--r--postfix.spec9
1 files changed, 7 insertions, 2 deletions
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