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
This commit is contained in:
Danilo Spinella 2024-05-31 08:20:08 +00:00 committed by Git OBS Bridge
parent deea878f3f
commit 71bf85cf40
2 changed files with 16 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
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>
@ -6,12 +11,12 @@ Tue May 14 14:00:41 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
* 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 <dimstar@opensuse.org>

View File

@ -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
@ -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