Use Python3 by default (#1186791)

Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
Tomas Hozza 2015-02-25 12:48:17 +01:00
parent f011164832
commit 7345adf157
2 changed files with 35 additions and 1 deletions

View File

@ -0,0 +1,28 @@
From b987e8221e4eb9c9bae24821534164779f644395 Mon Sep 17 00:00:00 2001
From: Tomas Hozza <thozza@redhat.com>
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 <thozza@redhat.com>
---
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

View File

@ -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 <kas@fi.muni.cz>
%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 <thozza@redhat.com> - 32:9.10.2-0.3.rc1
* Wed Feb 25 2015 Tomas Hozza <thozza@redhat.com> - 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 <opensource@till.name> - 32:9.10.2-0.2.rc1
- Rebuilt for Fedora 23 Change