[packages/unbound] - updated to 1.5.7 - added pythondir patch to fix build after python configuration changes

qboosh qboosh at pld-linux.org
Wed Mar 2 08:00:20 CET 2016


commit 05a660e9c6f92e69129884fd276d37df2bdb040c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Mar 2 08:03:50 2016 +0100

    - updated to 1.5.7
    - added pythondir patch to fix build after python configuration changes

 unbound-pythondir.patch | 11 +++++++++++
 unbound.spec            |  8 +++++---
 2 files changed, 16 insertions(+), 3 deletions(-)
---
diff --git a/unbound.spec b/unbound.spec
index f0d62f0..a06eca5 100644
--- a/unbound.spec
+++ b/unbound.spec
@@ -6,12 +6,12 @@
 Summary:	Recursive, validating DNS resolver
 Summary(pl.UTF-8):	Rekurencyjny, weryfikujący resolver DNS
 Name:		unbound
-Version:	1.5.6
-Release:	2
+Version:	1.5.7
+Release:	1
 License:	BSD
 Group:		Applications/Network
 Source0:	http://www.unbound.net/downloads/%{name}-%{version}.tar.gz
-# Source0-md5:	691a34abd8e9257dd65b70f28326c1f0
+# Source0-md5:	a1253cbbb339dbca03404dcc58365d71
 Source1:	%{name}.init
 Source2:	%{name}.service
 Source3:	https://data.iana.org/root-anchors/icannbundle.pem
@@ -20,6 +20,7 @@ Source4:	ftp://ftp.internic.net/domain/named.cache
 # Source4-md5:	b2afc34d106e104730b63876c9a07caf
 Patch0:		%{name}-default_trust_anchor.patch
 Patch1:		%{name}-sh.patch
+Patch2:		%{name}-pythondir.patch
 URL:		http://unbound.net/
 BuildRequires:	autoconf >= 2.56
 BuildRequires:	automake
@@ -122,6 +123,7 @@ Pythonowy interfejs do biblioteki unbound.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__libtoolize}
diff --git a/unbound-pythondir.patch b/unbound-pythondir.patch
new file mode 100644
index 0000000..05bd028
--- /dev/null
+++ b/unbound-pythondir.patch
@@ -0,0 +1,11 @@
+--- unbound-1.5.7/acx_python.m4.orig	2014-09-19 11:57:20.000000000 +0200
++++ unbound-1.5.7/acx_python.m4	2016-03-02 07:58:16.255669696 +0100
+@@ -65,7 +65,7 @@
+         AC_MSG_CHECKING([for Python site-packages path])
+         if test -z "$PYTHON_SITE_PKG"; then
+                 PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
+-                        print(distutils.sysconfig.get_python_lib(1,0));"`
++                        print(distutils.sysconfig.get_python_lib(1,0, prefix='${prefix}'));"`
+         fi
+         AC_MSG_RESULT([$PYTHON_SITE_PKG])
+         AC_SUBST([PYTHON_SITE_PKG])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/unbound.git/commitdiff/05a660e9c6f92e69129884fd276d37df2bdb040c



More information about the pld-cvs-commit mailing list