From 71bf85cf40e897ad623955e4b838f4cb519b76c9cb2e4a7d457d922e401375d8 Mon Sep 17 00:00:00 2001 From: Danilo Spinella Date: Fri, 31 May 2024 08:20:08 +0000 Subject: [PATCH] Accepting request 1176811 from home:AndreasStieger:branches:devel:libraries:c_c++ fix Factory submission OBS-URL: https://build.opensuse.org/request/show/1176811 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/adns?expand=0&rev=34 --- adns.changes | 7 ++++++- adns.spec | 14 ++++++++++---- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/adns.changes b/adns.changes index aadb1da..2a32c52 100644 --- a/adns.changes +++ b/adns.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat May 25 07:58:19 UTC 2024 - Andreas Stieger + +- fix Factory submission and spec file tweaks + ------------------------------------------------------------------- Tue May 14 14:00:41 UTC 2024 - Dominique Leuenberger @@ -6,12 +11,12 @@ Tue May 14 14:00:41 UTC 2024 - Dominique Leuenberger * 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. -- Drop: fixed upstream. ------------------------------------------------------------------- Tue Feb 20 10:01:52 UTC 2024 - Dominique Leuenberger diff --git a/adns.spec b/adns.spec index 238f1a5..05f0ffb 100644 --- a/adns.spec +++ b/adns.spec @@ -2,6 +2,7 @@ # spec file for package adns # # Copyright (c) 2024 SUSE LLC +# Copyright (c) 2024 Andreas Stieger # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -64,7 +65,7 @@ cp %{SOURCE3} . %build autoreconf -fiv %configure -%make_build all +%make_build %install make install \ @@ -76,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