public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bind9-next] f45: Replace direct dependencies with pkgconfig symbolic names
@ 2026-10-14 12:33
0 siblings, 0 replies; only message in thread
From: @ 2026-10-14 12:33 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/bind9-next
Branch : f45
Commit : d597684ce7bb2458d5fe038b69879113672cf9bd
Author : Petr Menšík <pemensik@redhat.com>
Date : 2026-09-16T14:11:13+02:00
Stats : +15/-14 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/bind9-next/c/d597684ce7bb2458d5fe038b69879113672cf9bd?branch=f45
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.
The bind9 codebase should not depend on specific version of protobuf. Do
not force older version until it is needed.
---
diff --git a/bind9-next.spec b/bind9-next.spec
index 0e18568..c879957 100644
--- a/bind9-next.spec
+++ b/bind9-next.spec
@@ -103,7 +103,7 @@ Conflicts: bind-dyndb-ldap
BuildRequires: gcc
BuildRequires: make
-BuildRequires: openssl-devel
+BuildRequires: pkgconfig(libcrypto) pkgconfig(libssl)
BuildRequires: libtool
BuildRequires: meson >= 1.3.0
BuildRequires: ninja-build
@@ -155,22 +155,22 @@ BuildRequires: python3-hypothesis
# manual configuration requires this tool
BuildRequires: iproute
BuildRequires: python3-jinja2
-BuildRequires: lmdb-devel
%if %{with SUDO}
BuildRequires: libcap sudo
%endif
%endif
%if %{with GSSTSIG}
-BuildRequires: krb5-devel
+BuildRequires: pkgconfig(krb5)
%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}
@@ -245,22 +245,23 @@ 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}
-Requires: libxml2-devel%{?_isa}
-Requires: libcap-devel%{?_isa}
-Requires: lmdb-devel%{?_isa}
+Requires: pkgconfig(libcrypto) pkgconfig(libssl)
+Requires: pkgconfig(libcrypto) pkgconfig(libssl)
+Requires: pkgconfig(libxml-2.0)
+Requires: pkgconfig(libcap)
%upname_compat %{upname}-devel
%if %{with GSSTSIG}
-Requires: krb5-devel%{?_isa}
+Requires: pkgconfig(krb5)
%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-10-14 12:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-14 12:33 [rpms/bind9-next] f45: 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