public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/bind9-next] rawhide: Replace direct dependencies with pkgconfig symbolic names
Date: Wed, 14 Oct 2026 12:31:45 GMT	[thread overview]
Message-ID: <179198110579.1.5911521992171841447.rpms-bind9-next-d597684ce7bb@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/bind9-next
            Branch : rawhide
            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=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.

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

                 reply	other threads:[~2026-10-14 12:31 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=179198110579.1.5911521992171841447.rpms-bind9-next-d597684ce7bb@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