Accepting request 1177863 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1177863 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/adns?expand=0&rev=32
This commit is contained in:
commit
01ff165fc7
@ -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
|
@ -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
3
adns-1.6.1.tar.gz
Normal 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
BIN
adns-1.6.1.tar.gz.sig
Normal file
Binary file not shown.
20
adns.changes
20
adns.changes
@ -1,3 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat May 25 07:58:19 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- fix Factory submission and spec file tweaks
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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.
|
||||
(Drop adns-1.4-destdir.patch)
|
||||
* 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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 20 10:01:52 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
17
adns.spec
17
adns.spec
@ -2,6 +2,7 @@
|
||||
# spec file for package adns
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,7 +19,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 +30,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
|
||||
@ -65,7 +65,7 @@ cp %{SOURCE3} .
|
||||
%build
|
||||
autoreconf -fiv
|
||||
%configure
|
||||
%make_build all
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make install \
|
||||
@ -77,19 +77,24 @@ make install \
|
||||
# FIXME: --disable-static not available
|
||||
rm %{buildroot}%{_libdir}/*.a
|
||||
|
||||
%ldconfig_scriptlets -n %{lname}
|
||||
|
||||
%check
|
||||
## Fails without network
|
||||
#%%make_build check
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc GPL-vs-LGPL README* TODO changelog
|
||||
%{_bindir}/adns*
|
||||
|
||||
%files -n %{lname}
|
||||
%license COPYING
|
||||
%{_libdir}/libadns.so.1*
|
||||
|
||||
%files -n libadns-devel
|
||||
%license COPYING
|
||||
%{_includedir}/adns.h
|
||||
%{_libdir}/libadns.so
|
||||
|
||||
%post -n %{lname} -p /sbin/ldconfig
|
||||
%postun -n %{lname} -p /sbin/ldconfig
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user