]> TLD Linux GIT Repositories - packages/postfix.git/blobdiff - postfix.spec
- fix building with glibc 2.30
[packages/postfix.git] / postfix.spec
index a7ca00ec807be79bd4d2158179c5ef8b30a33357..d9d65deb5b6a76fb636e485494f998eb7697d358 100644 (file)
@@ -18,7 +18,7 @@ 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.4.6
-Release:       2
+Release:       5
 Epoch:         2
 License:       distributable
 Group:         Networking/Daemons/SMTP
@@ -41,6 +41,7 @@ Patch2:               %{name}-master.cf_cyrus.patch
 Patch3:                %{name}-conf.patch
 Patch4:                %{name}-link.patch
 Patch5:                %{name}-scache_clnt.patch
+Patch6:                glibc-2.30.patch
 URL:           http://www.postfix.org/
 %{?with_sasl:BuildRequires:    cyrus-sasl-devel}
 BuildRequires: db-devel
@@ -249,6 +250,7 @@ sed -i '/scache_clnt_create/s/server/var_scache_service/' src/global/scache_clnt
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %build
 %{__make} -f Makefile.init makefiles
@@ -375,7 +377,7 @@ if [ "$1" = "0" ]; then
        %groupremove postfix
 fi
 
-%triggerun -- %{name} < 2:3.4.6-1
+%triggerun -- %{name} < 2:3.4.6-2
 if [ $1 -le 1 ]; then
         exit 0
 fi
@@ -399,7 +401,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.4.6-1
+%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"