public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/adns] f43: update URLs to https
Date: Sun, 15 Nov 2026 22:34:03 GMT [thread overview]
Message-ID: <179478204391.1.3876214821582552500.rpms-adns-88ef03e7b188@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/adns
Branch : f43
Commit : 88ef03e7b18807fab92f834b64d44f0e38d25945
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-24T13:25:11-03:00
Stats : +24/-29 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/adns/c/88ef03e7b18807fab92f834b64d44f0e38d25945?branch=f43
Log:
update URLs to https
fixed License tag
honor build flags
spec cleanup and modernization (rpm build macros)
enabled tests
---
diff --git a/adns.spec b/adns.spec
index c6475ab..3dcc1d7 100644
--- a/adns.spec
+++ b/adns.spec
@@ -1,14 +1,12 @@
Name: adns
Version: 1.6.2
Release: %autorelease
-
Summary: Advanced, easy to use, asynchronous-capable DNS client library
+License: GPL-3.0-or-later
+URL: https://www.chiark.greenend.org.uk/~ian/adns/
+Source0: https://www.chiark.greenend.org.uk/~ian/adns/ftp/%{name}-%{version}.tar.gz
-License: GPL-1.0-or-later
-URL: http://www.chiark.greenend.org.uk/~ian/adns/
-Source0: http://www.chiark.greenend.org.uk/~ian/adns/ftp/%{name}-%{version}.tar.gz
-
-BuildRequires: autoconf
+BuildRequires: automake
BuildRequires: gcc
BuildRequires: make
@@ -44,14 +42,14 @@ following features:
%package devel
Summary: Asynchronous-capable DNS client library - development files
-Requires: %{name} = %{version}
+Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Asynchronous-capable DNS client library - development files.
%package progs
Summary: Asynchronous-capable DNS client library - utility programs
-Requires: %{name} = %{version}
+Requires: %{name}%{?_isa} = %{version}-%{release}
%description progs
DNS utility programs: adns also comes with a number of utility
@@ -68,45 +66,42 @@ programs for use from the command line and in scripts:
communicate with subprocesses.
%prep
-%setup -q
+%autosetup
%build
-%ifarch sparcv9 sparc64 s390 s390x
-export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC"
-%else
-export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fpic"
-%endif
-autoreconf -fiv
+%set_build_flags
%configure --enable-dynamic
-make %{?_smp_mflags}
+%make_build
%install
-rm -rf $RPM_BUILD_ROOT
make \
- prefix=$RPM_BUILD_ROOT%{_prefix} \
- bindir=$RPM_BUILD_ROOT%{_bindir} \
- includedir=$RPM_BUILD_ROOT%{_includedir} \
- libdir=$RPM_BUILD_ROOT%{_libdir} \
+ prefix=%{buildroot}%{_prefix} \
+ bindir=%{buildroot}%{_bindir} \
+ includedir=%{buildroot}%{_includedir} \
+ libdir=%{buildroot}%{_libdir} \
install
-rm -f $RPM_BUILD_ROOT%{_libdir}/libadns.a
+rm -f %{buildroot}%{_libdir}/libadns.a
%ldconfig_scriptlets
-
-%check
-make check
+%check
+%make_build check
%files
+%license COPYING
%doc README TODO changelog
-%attr(755,root,root) %{_libdir}/lib*.so.*
+%{_libdir}/libadns.so.1*
%files devel
-%{_includedir}/*
-%{_libdir}/lib*.so
+%{_includedir}/adns.h
+%{_libdir}/libadns.so
%files progs
-%attr(755,root,root) %{_bindir}/*
+%{_bindir}/adnshost
+%{_bindir}/adnslogres
+%{_bindir}/adnsresfilter
+%{_bindir}/adnsheloex
%changelog
%autochangelog
reply other threads:[~2026-11-15 22:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179478204391.1.3876214821582552500.rpms-adns-88ef03e7b188@fedoraproject.org \
--to=rosset.filipe@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox