diff --git a/bind-9.10-ISC-Bugs-38710.patch b/bind-9.10-ISC-Bugs-38710.patch new file mode 100644 index 0000000..65f37bc --- /dev/null +++ b/bind-9.10-ISC-Bugs-38710.patch @@ -0,0 +1,28 @@ +From b987e8221e4eb9c9bae24821534164779f644395 Mon Sep 17 00:00:00 2001 +From: Tomas Hozza +Date: Wed, 25 Feb 2015 12:29:08 +0100 +Subject: [PATCH] Python3 issue: print used as statement in dnssec-coverage.py + +When using Python3, the tool would not print extra newlines + +Signed-off-by: Tomas Hozza +--- + bin/python/dnssec-coverage.py.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/bin/python/dnssec-coverage.py.in b/bin/python/dnssec-coverage.py.in +index 0f352c1..58af516 100755 +--- a/bin/python/dnssec-coverage.py.in ++++ b/bin/python/dnssec-coverage.py.in +@@ -326,7 +326,7 @@ def vspace(): + if _firstline: + _firstline = False + else: +- print ++ print() + + ############################################################################ + # vreset: +-- +2.1.0 + diff --git a/bind.spec b/bind.spec index cf03146..8a18365 100644 --- a/bind.spec +++ b/bind.spec @@ -78,6 +78,8 @@ Patch133:bind99-rh640538.patch Patch134:bind97-rh669163.patch # distribute native-pkcs#11 functionality Patch136:bind-9.10-dist-native-pkcs11.patch +# [ISC-Bugs #38710] +Patch137:bind-9.10-ISC-Bugs-38710.patch # SDB patches Patch11: bind-9.3.2b2-sdbsrc.patch @@ -308,6 +310,7 @@ Based on the code from Jan "Yenya" Kasprzak %patch125 -p1 -b .buildfix %patch130 -p1 -b .libdb %patch131 -p1 -b .multlib-conflict +%patch137 -p1 -b .ISC-Bugs-38710 %if %{PKCS11} cp -r bin/named{,-pkcs11} @@ -368,6 +371,7 @@ version libtoolize -c -f; aclocal -I libtool.m4 --force; autoconf -f %configure \ + --with-python=%{__python3} \ --with-libtool \ --localstatedir=/var \ --enable-threads \ @@ -1001,8 +1005,10 @@ rm -rf ${RPM_BUILD_ROOT} %changelog -* Mon Feb 23 2015 Tomas Hozza - 32:9.10.2-0.3.rc1 +* Wed Feb 25 2015 Tomas Hozza - 32:9.10.2-0.3.rc1 - update to 9.10.2rc2 +- call ldconfig for pkcs11-libs +- Use Python3 by default (#1186791) * Sat Feb 21 2015 Till Maas - 32:9.10.2-0.2.rc1 - Rebuilt for Fedora 23 Change