]> TLD Linux GIT Repositories - packages/postfix.git/blobdiff - postfix.spec
- updated to 3.5.7
[packages/postfix.git] / postfix.spec
index ee79f17ba2d58127af706eeff963c25d4df13e4c..d76d7912bf823e73bbc8a63a7a4cce54725b2364 100644 (file)
@@ -17,13 +17,13 @@ Summary(pl.UTF-8):  Serwer SMTP Postfix
 Summary(pt_BR.UTF-8):  Postfix - Um MTA (Mail Transport Agent) de alto desempenho
 Summary(sk.UTF-8):     Agent prenosu pošty Postfix
 Name:          postfix
-Version:       3.3.2
-Release:       2
+Version:       3.5.7
+Release:       1
 Epoch:         2
 License:       distributable
 Group:         Networking/Daemons/SMTP
 Source0:       ftp://ftp.porcupine.org/mirrors/postfix-release/official/%{name}-%{version}.tar.gz
-# Source0-md5: 4e6ed7056576e0c54cfce6040a0bb0ad
+# Source0-md5: cc727f7a332765199ce67bf14753ff08
 Source1:       %{name}.aliases
 Source2:       %{name}.cron
 Source3:       %{name}.init
@@ -375,10 +375,11 @@ if [ "$1" = "0" ]; then
        %groupremove postfix
 fi
 
-%triggerun -- %{name} < 2:3.3.2-2
+%triggerun -- %{name} < 2:3.4.6-2
 if [ $1 -le 1 ]; then
         exit 0
 fi
+[ -d /etc/postfix ] || mkdir /etc/postfix 2>/dev/null || :
 for f in /etc/mail/{access,aliases,body_checks,bounce.cf.*,canonical,dynamicmaps.cf,generic,header_checks,main.cf,master.cf,postfix-files,relocated,transport,virtual}; do
        f=${f##*/}
        [ -f "/etc/mail/$f" ] && mv "/etc/mail/$f" "/etc/postfix/$f" 2>/dev/null || :
@@ -398,7 +399,7 @@ for f in /etc/mail/*.db; do
 done
 [ -n "$(find /etc/mail -type d -empty 2>/dev/null)" ] && rmdir /etc/mail 2>/dev/null || :
 
-%triggerpostun -- %{name} < 2:3.3.2-2
+%triggerpostun -- %{name} < 2:3.4.6-2
 echo
 echo "Warning! Configuration has been migrated to /etc/postfix."
 echo "It may be required to move some files manually from /etc/mail"