]> git.pld-linux.org Git - packages/postfix.git/commitdiff
- Builds and seems to work. Needs testing. auto/ac/postfix-2_1_3-1
authorJacek Konieczny <jajcus@pld-linux.org>
Wed, 23 Jun 2004 06:17:18 +0000 (06:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- unpackaged files removed in %install, not installed removed from %files
- upgrade configuration on postfix upgrade

Changed files:
    postfix.spec -> 1.212.2.4

postfix.spec

index ae7a14227b71485b527f6ed8ead03d2699aac057..f7716bb8cda94fc8cdb65a2a199b713b793b340c 100644 (file)
@@ -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
This page took 0.248801 seconds and 4 git commands to generate.