[packages/adns] - updated to 1.6.1
qboosh
qboosh at pld-linux.org
Sun Oct 6 22:26:28 CEST 2024
commit 1c5d7ff334d6e0d524335aebcc6cd5e7995ffcfc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Oct 6 22:25:33 2024 +0200
- updated to 1.6.1
adns-double-destdir.patch | 20 ++++++++++++++++++++
adns.spec | 6 ++++--
2 files changed, 24 insertions(+), 2 deletions(-)
---
diff --git a/adns.spec b/adns.spec
index 4987315..ed7b7bb 100644
--- a/adns.spec
+++ b/adns.spec
@@ -3,12 +3,13 @@ Summary(pl.UTF-8): Zaawansowana, prosta w użyciu, asynchroniczna biblioteka kli
Summary(ru.UTF-8): Клиентская библиотека DNS с возможностью асинхронных запросов
Summary(uk.UTF-8): Клієнтська бібліотека DNS з можливістю асинхронних запитів
Name: adns
-Version: 1.6.0
+Version: 1.6.1
Release: 1
License: GPL v3+
Group: Libraries
Source0: http://www.chiark.greenend.org.uk/~ian/adns/ftp/%{name}-%{version}.tar.gz
-# Source0-md5: b01ba30e4b486d523059bb02ad1441f3
+# Source0-md5: dfd46495001615819cc3a1852ce0d2e1
+Patch0: %{name}-double-destdir.patch
URL: http://www.chiark.greenend.org.uk/~ian/adns/
BuildRequires: autoconf
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -200,6 +201,7 @@ użytku z linii poleceń lub w skryptach:
%prep
%setup -q
+%patch0 -p1
%build
# aclocal.m4 is only local, don't run aclocal
diff --git a/adns-double-destdir.patch b/adns-double-destdir.patch
new file mode 100644
index 0000000..12a6237
--- /dev/null
+++ b/adns-double-destdir.patch
@@ -0,0 +1,20 @@
+--- adns-1.6.1/common.make.in.orig 2024-10-06 22:03:12.874816156 +0200
++++ adns-1.6.1/common.make.in 2024-10-06 22:03:29.618058783 +0200
+@@ -47,17 +47,6 @@ bindir := @bindir@
+ libdir := @libdir@
+ includedir := @includedir@
+
+-ifneq ($(DESTDIR),)
+-# autoconf likes to define some of these in terms of each other
+-# so if we want to add a prefix to each one we have to do it this way:
+-destdir_prefix=$(DESTDIR)/
+-prefix := ${destdir_prefix}${prefix}
+-exec_prefix := ${destdir_prefix}${exec_prefix}
+-bindir := ${destdir_prefix}${bindir}
+-libdir := ${destdir_prefix}${libdir}
+-includedir := ${destdir_prefix}${includedir}
+-endif
+-
+ AC_INSTALL= @INSTALL@
+ ifeq ($(AC_INSTALL),./install-sh -c)
+ INSTALL= $(srcdir)/../$(AC_INSTALL)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adns.git/commitdiff/1c5d7ff334d6e0d524335aebcc6cd5e7995ffcfc
More information about the pld-cvs-commit
mailing list