diff -ruN rpmbuild-orig/SOURCES/postfix-2.6.6-makedefs-3.x-kernel.patch rpmbuild/SOURCES/postfix-2.6.6-makedefs-3.x-kernel.patch --- rpmbuild-orig/SOURCES/postfix-2.6.6-makedefs-3.x-kernel.patch 1970-01-01 01:00:00.000000000 +0100 +++ rpmbuild/SOURCES/postfix-2.6.6-makedefs-3.x-kernel.patch 2014-12-07 19:15:13.963287000 +0100 @@ -0,0 +1,12 @@ +diff -ru postfix-2.6.6-orig/makedefs postfix-2.6.6/makedefs +--- postfix-2.6.6-orig/makedefs 2009-10-19 02:30:12.000000000 +0200 ++++ postfix-2.6.6/makedefs 2014-12-07 19:13:36.563287000 +0100 +@@ -254,7 +254,7 @@ + Linux.1*) SYSTYPE=LINUX1 + SYSLIBS="-ldb" + ;; +- Linux.2*) SYSTYPE=LINUX2 ++ Linux.2*|Linux.3*) SYSTYPE=LINUX2 + # Postfix no longer needs DB 1.85 compatibility + if [ -f /usr/include/db.h ] + then diff -ruN rpmbuild-orig/SPECS/postfix.spec rpmbuild/SPECS/postfix.spec --- rpmbuild-orig/SPECS/postfix.spec 2014-02-13 17:24:57.000000000 +0100 +++ rpmbuild/SPECS/postfix.spec 2014-12-07 19:17:12.793287000 +0100 @@ -35,7 +35,7 @@ Name: postfix Summary: Postfix Mail Transport Agent Version: 2.6.6 -Release: 6%{?dist} +Release: 6%{?dist}.0 Epoch: 2 Group: System Environment/Daemons URL: http://www.postfix.org @@ -76,6 +76,7 @@ Patch9: pflogsumm-1.1.1-datecalc.patch Patch10: postfix-2.6.6-CVE-2011-0411.patch Patch11: postfix-2.6.6-CVE-2011-1720.patch +Patch10000: postfix-2.6.6-makedefs-3.x-kernel.patch # Optional patches - set the appropriate environment variables to include # them when building the package/spec file @@ -171,6 +172,8 @@ touch -r ${f}{,_} && mv -f ${f}{_,} done +%patch10000 -p1 + %build CCARGS=-fPIC AUXLIBS= @@ -493,6 +496,9 @@ %endif %changelog +* Sun Aug 24 2014 Jacco Ligthart - 2:2.6.6-6.0 +- patched makedefs to reflect that this is build on a 3.x kernel + * Thu Feb 13 2014 Jaroslav Škarvada - 2:2.6.6-6 - Improved status command Related: rhbz#1057594