[packages/ldns] - fix man page generation script - fix python install path - rel 3

baggins baggins at pld-linux.org
Thu May 5 20:19:13 CEST 2016


commit b72951c38f4d1c3558632af13d4ca9ea9cfa6eab
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu May 5 20:18:50 2016 +0200

    - fix man page generation script
    - fix python install path
    - rel 3

 gen-manpages.patch   | 11 +++++++++++
 ldns.spec            |  6 +++++-
 python-install.patch | 11 +++++++++++
 3 files changed, 27 insertions(+), 1 deletion(-)
---
diff --git a/ldns.spec b/ldns.spec
index f32a695..844baae 100644
--- a/ldns.spec
+++ b/ldns.spec
@@ -7,11 +7,13 @@ Summary:	ldns - a library with the aim to simplify DNS programing in C
 Summary(pl.UTF-8):	ldns - biblioteka mająca na celu uproszczenie programowania DNS w C
 Name:		ldns
 Version:	1.6.17
-Release:	2
+Release:	3
 License:	BSD
 Group:		Libraries
 Source0:	http://www.nlnetlabs.nl/downloads/ldns/%{name}-%{version}.tar.gz
 # Source0-md5:	a79423bcc4129e6d59b616b1cae11e5e
+Patch0:		gen-manpages.patch
+Patch1:		python-install.patch
 URL:		http://www.nlnetlabs.nl/ldns/
 BuildRequires:	autoconf >= 2.56
 BuildRequires:	automake
@@ -88,6 +90,8 @@ zaprojektowane szczególnie z myślą o użyciu z DNSSEC.
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
diff --git a/gen-manpages.patch b/gen-manpages.patch
new file mode 100644
index 0000000..1b9d14b
--- /dev/null
+++ b/gen-manpages.patch
@@ -0,0 +1,11 @@
+--- ldns-1.6.17/doc/doxyparse.pl~	2014-01-10 22:04:41.000000000 +0100
++++ ldns-1.6.17/doc/doxyparse.pl	2016-05-05 19:51:32.259389955 +0200
+@@ -273,7 +273,7 @@
+ 
+ 	print MAN $MAN_MIDDLE;
+ 
+-	if (defined(@$also)) {
++	if (@$also) {
+ 		print MAN "\n.SH SEE ALSO\n\\fI";
+ 		print MAN join "\\fR, \\fI", @$also;
+ 		print MAN "\\fR.\nAnd ";
diff --git a/python-install.patch b/python-install.patch
new file mode 100644
index 0000000..2c4f6b8
--- /dev/null
+++ b/python-install.patch
@@ -0,0 +1,11 @@
+--- ldns-1.6.17/ax_python_devel.m4~	2014-01-10 22:04:41.000000000 +0100
++++ ldns-1.6.17/ax_python_devel.m4	2016-05-05 19:55:38.599100177 +0200
+@@ -253,7 +253,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='/usr'));"`
+ 	fi
+ 	AC_MSG_RESULT([$PYTHON_SITE_PKG])
+ 	AC_SUBST([PYTHON_SITE_PKG])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ldns.git/commitdiff/b72951c38f4d1c3558632af13d4ca9ea9cfa6eab



More information about the pld-cvs-commit mailing list