public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bind] rawhide: Replace direct dependencies with pkgconfig symbolic names
@ 2026-07-02 14:45
0 siblings, 0 replies; only message in thread
From: @ 2026-07-02 14:45 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-02 14:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-02 14:45 [rpms/bind] rawhide: Replace direct dependencies with pkgconfig symbolic names
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox