Accepting request 1174011 from home:dimstar:Factory

- Update to version 1.6.1:
  + Minor bugfix:
    * Suppress warning about `trust-ad` in resolv.conf.
  + Build system:
    * Honour DESTDIR, avoiding need for prefix= workaround.
    * regression tests: Add missing dependency on hsyscalls.i.
      GNU #51329.  [Report from Sergei Trofimovich]
    * regression tests: build with 64-bit time_t on 32-bit systems.
  + Documentation:
    * Fix all http: URLs in docs to be https: instead.
- Drop: fixed upstream.

OBS-URL: https://build.opensuse.org/request/show/1174011
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/adns?expand=0&rev=33
This commit is contained in:
Danilo Spinella 2024-05-15 13:54:22 +00:00 committed by Git OBS Bridge
parent cad1ed0dfc
commit deea878f3f
7 changed files with 19 additions and 59 deletions

View File

@ -1,54 +0,0 @@
Index: client/Makefile.in
===================================================================
--- client/Makefile.in.orig
+++ client/Makefile.in
@@ -58,9 +58,9 @@ ALL_OBJS= $(ADH_OBJS) $(TARG_OBJS)
all: $(TARGETS)
install: $(TARG_INSTALL)
- mkdir -p $(bindir)
+ $(INSTALL_PROGRAM) -d $(DESTDIR)/$(bindir)
set -xe; for f in $(TARG_INSTALL); \
- do $(INSTALL_PROGRAM) $$f $(bindir)/$$f; done
+ do $(INSTALL_PROGRAM) $$f $(DESTDIR)/$(bindir)/$$f; done
uninstall:
for f in $(TARGETS); do rm -f $(bindir)/$$f; done
Index: dynamic/Makefile.in
===================================================================
--- dynamic/Makefile.in.orig
+++ dynamic/Makefile.in
@@ -30,10 +30,10 @@ include $(srcdir)/../src/adns.make
ALLOBJS= $(addsuffix _p.o, $(basename $(LIBOBJS)))
install:
- mkdir -p $(libdir)
- $(INSTALL_PROGRAM) $(SHLIBFILE) $(libdir)/$(SHLIBFILE)
- ln -sf $(SHLIBFILE) $(libdir)/$(SHLIBSONAME)
- ln -sf $(SHLIBSONAME) $(libdir)/$(SHLIBFORLINK)
+ $(INSTALL_PROGRAM) -d $(DESTDIR)/$(libdir)
+ $(INSTALL_PROGRAM) $(SHLIBFILE) $(DESTDIR)/$(libdir)/$(SHLIBFILE)
+ ln -sf $(SHLIBFILE) $(DESTDIR)/$(libdir)/$(SHLIBSONAME)
+ ln -sf $(SHLIBSONAME) $(DESTDIR)/$(libdir)/$(SHLIBFORLINK)
uninstall:
rm -f $(libdir)/$(SHLIBFILE) $(libdir)/$(SHLIBSONAME)
Index: src/Makefile.in
===================================================================
--- src/Makefile.in.orig
+++ src/Makefile.in
@@ -30,10 +30,11 @@ include $(srcdir)/adns.make
DIRCFLAGS= -I. -I$(srcdir)
install:
- mkdir -p $(libdir) $(includedir)
+ $(INSTALL_PROGRAM) -d $(DESTDIR)/$(libdir)
+ $(INSTALL_PROGRAM) -d $(DESTDIR)/$(includedir)
set -xe; for f in $(TARGETS); \
- do $(INSTALL_DATA) $$f $(libdir)/$$f; done
- $(INSTALL_DATA) $(srcdir)/../src/adns.h $(includedir)/adns.h
+ do $(INSTALL_DATA) $$f $(DESTDIR)/$(libdir)/$$f; done
+ $(INSTALL_DATA) $(srcdir)/../src/adns.h $(DESTDIR)/$(includedir)/adns.h
uninstall:
for f in $(TARGETS); do rm -f $(libdir)/$$f; done

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fb427265a981e033d1548f2b117cc021073dc8be2eaf2c45fd64ab7b00ed20de
size 323474

Binary file not shown.

3
adns-1.6.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7138b3789b7506bd683f451d4f7d853077a91803b7b35d86ec667f0f9cd401cd
size 322439

BIN
adns-1.6.1.tar.gz.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue May 14 14:00:41 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 1.6.1:
+ Minor bugfix:
* Suppress warning about `trust-ad` in resolv.conf.
+ Build system:
* Honour DESTDIR, avoiding need for prefix= workaround.
* regression tests: Add missing dependency on hsyscalls.i.
GNU #51329. [Report from Sergei Trofimovich]
* regression tests: build with 64-bit time_t on 32-bit systems.
+ Documentation:
* Fix all http: URLs in docs to be https: instead.
- Drop: fixed upstream.
-------------------------------------------------------------------
Tue Feb 20 10:01:52 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -18,7 +18,7 @@
%define lname libadns1
Name: adns
Version: 1.6.0
Version: 1.6.1
Release: 0
Summary: Advanced Easy-to-Use Asynchronous-Capable DNS Utilities
License: GPL-2.0-or-later
@ -29,7 +29,6 @@ Source1: http://www.chiark.greenend.org.uk/~ian/adns/ftp/%{name}-%{versio
Source2: %{name}.keyring
Source3: README.SUSE
Source4: baselibs.conf
Patch0: adns-1.4-destdir.patch
Patch1: adns-1.4-configure.patch
Patch2: adns-visibility.patch
BuildRequires: autoconf