]> git.pld-linux.org Git - packages/unbound.git/commitdiff
- updated to 1.5.7 auto/th/unbound-1.5.7-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 2 Mar 2016 07:03:50 +0000 (08:03 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 2 Mar 2016 07:03:50 +0000 (08:03 +0100)
- added pythondir patch to fix build after python configuration changes

unbound-pythondir.patch [new file with mode: 0644]
unbound.spec

diff --git a/unbound-pythondir.patch b/unbound-pythondir.patch
new file mode 100644 (file)
index 0000000..05bd028
--- /dev/null
@@ -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])
index f0d62f040c751d8c08553e7317ead6d24bc3421f..a06eca568c4397e0c039c1565a79619db7e38a04 100644 (file)
@@ -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}
This page took 0.05935 seconds and 4 git commands to generate.