public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/bind] rawhide: Replace direct dependencies with pkgconfig symbolic names
Date: Thu, 02 Jul 2026 14:45:56 GMT [thread overview]
Message-ID: <178300355615.1.2339226202056726747.rpms-bind-c42426f28997@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/bind
Branch : rawhide
Commit : c42426f28997b5b1b80e0a72b4a0082559c68d99
Author : Petr Menšík <pemensik@redhat.com>
Date : 2026-07-02T16:24:05+02:00
Stats : +32/-21 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/bind/c/c42426f28997b5b1b80e0a72b4a0082559c68d99?branch=rawhide
Log:
Replace direct dependencies with pkgconfig symbolic names
In this case it should help with protobuf-c-devel dependency, because it
is now provided by protobuf3-c-devel. But pkgconfig is used by bind
anyway and it should make it more safe.
Break requires onto separate lines, if they are provided by different
packages. Stylistic change only.
---
diff --git a/bind.spec b/bind.spec
index d2af2fb..ecd0d0d 100644
--- a/bind.spec
+++ b/bind.spec
@@ -175,26 +175,33 @@ Recommends: %{name}-utils %{name}-dnssec-utils
%upname_compat %{upname}
Obsoletes: %{name}-pkcs11 < 32:9.18.4-2
-BuildRequires: gcc, make
-BuildRequires: openssl-devel, libtool, autoconf, pkgconfig, libcap-devel
+BuildRequires: gcc
+BuildRequires: make
+BuildRequires: pkgconfig(libcrypto) pkgconfig(libssl)
+BuildRequires: libtool
+BuildRequires: autoconf
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(libcap)
%if %{with OPENSSL_ENGINE}
BuildRequires: openssl-devel-engine
%endif
-BuildRequires: libidn2-devel, libxml2-devel
+BuildRequires: pkgconfig(libidn2)
+BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: systemd-rpm-macros
BuildRequires: selinux-policy
-BuildRequires: findutils sed
-BuildRequires: libnghttp2-devel
+BuildRequires: findutils
+BuildRequires: sed
+BuildRequires: pkgconfig(libnghttp2)
%if %{with JEMALLOC} && 0%{?fedora}
-BuildRequires: jemalloc-devel
+BuildRequires: pkgconfig(jemalloc)
%endif
%if 0%{?fedora}
BuildRequires: gnupg2
%endif
-BuildRequires: libuv-devel
+BuildRequires: pkgconfig(libuv)
%if %{with UNITTEST}
# make unit dependencies
-BuildRequires: libcmocka-devel
+BuildRequires: pkgconfig(cmocka)
%endif
%if %{with UNITTEST} || %{with SYSTEMTEST}
BuildRequires: softhsm
@@ -209,23 +216,25 @@ BuildRequires: python3-hypothesis
BuildRequires: iproute
%endif
%if %{with GSSTSIG}
-BuildRequires: krb5-devel
+BuildRequires: pkgconfig(krb5)
%endif
%if %{with LMDB}
-BuildRequires: lmdb-devel
+BuildRequires: pkgconfig(lmdb)
%endif
%if %{with JSON}
-BuildRequires: json-c-devel
+BuildRequires: pkgconfig(json-c)
%endif
%if %{with GEOIP2}
-BuildRequires: libmaxminddb-devel
+BuildRequires: pkgconfig(libmaxminddb)
%endif
%if %{with DNSTAP}
-BuildRequires: fstrm-devel protobuf-c-devel
+BuildRequires: pkgconfig(libfstrm)
+BuildRequires: pkgconfig(libprotobuf-c)
%endif
# Needed to regenerate dig.1 manpage
%if %{with DOC}
-BuildRequires: python3-sphinx python3-sphinx_rtd_theme
+BuildRequires: python3-sphinx
+BuildRequires: python3-sphinx_rtd_theme
BuildRequires: doxygen
%endif
%if %{with DOCPDF}
@@ -298,25 +307,27 @@ Summary: Header files and libraries needed for bind-dyndb-ldap
Provides: %{name}-lite-devel = %{epoch}:%{version}-%{release}
Obsoletes: %{name}-lite-devel < 32:9.16.6-3
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
-Requires: openssl-devel%{?_isa} libxml2-devel%{?_isa}
-Requires: libcap-devel%{?_isa}
+Requires: pkgconfig(libcrypto) pkgconfig(libssl)
+Requires: pkgconfig(libxml-2.0)
+Requires: pkgconfig(libpcap)
Requires(post): %{_bindir}/alternatives
Requires(postun): %{_bindir}/alternatives
%upname_compat %{upname}-devel
%if %{with GSSTSIG}
-Requires: krb5-devel%{?_isa}
+Requires: pkgconfig(krb5)
%endif
%if %{with LMDB}
-Requires: lmdb-devel%{?_isa}
+Requires: pkgconfig(lmdb)
%endif
%if %{with JSON}
-Requires: json-c-devel%{?_isa}
+Requires: pkgconfig(json-c)
%endif
%if %{with DNSTAP}
-Requires: fstrm-devel%{?_isa} protobuf-c-devel%{?_isa}
+Requires: pkgconfig(libfstrm)
+Requires: pkgconfig(libprotobuf-c)
%endif
%if %{with GEOIP2}
-Requires: libmaxminddb-devel%{?_isa}
+Requires: pkgconfig(libmaxminddb)
%endif
%description devel
reply other threads:[~2026-07-02 14:45 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=178300355615.1.2339226202056726747.rpms-bind-c42426f28997@fedoraproject.org \
--to=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