public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/bind] f45: alternatives symbol is not provided only in RHEL8
Date: Fri, 16 Oct 2026 14:52:23 GMT	[thread overview]
Message-ID: <179216234328.1.17174909796644356527.rpms-bind-b91b65362d09@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/bind
            Branch : f45
            Commit : b91b65362d09cad81d67306da7e1ee0f2d985559
            Author : Petr Menšík <pemensik@redhat.com>
            Date   : 2026-10-15T17:26:00+02:00
            Stats  : +8/-8 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/bind/c/b91b65362d09cad81d67306da7e1ee0f2d985559?branch=f45

            Log:
            alternatives symbol is not provided only in RHEL8

We wont attempt to use alternatives in that version, all later versions
can require only alternatives symbol.

---
diff --git a/bind.spec b/bind.spec
index bb47fe6..77f9b3d 100644
--- a/bind.spec
+++ b/bind.spec
@@ -196,8 +196,8 @@ Requires:       coreutils
 Requires(post): shadow-utils
 Requires(post): glibc-common
 Requires(post): grep
-Requires(post):   %{_sbindir}/alternatives
-Requires(postun): %{_sbindir}/alternatives
+Requires(post):   alternatives
+Requires(postun): alternatives
 Requires:       %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
 Recommends:     %{name}-utils %{name}-dnssec-utils
 %upname_compat -a
@@ -298,8 +298,8 @@ Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
 # For compatibility with Debian package
 Provides: dnsutils = %{epoch}:%{version}-%{release}
 Obsoletes: %{name}-pkcs11-utils < 32:9.18.4-2
-Requires(post):   %{_sbindir}/alternatives
-Requires(postun): %{_sbindir}/alternatives
+Requires(post):   alternatives
+Requires(postun): alternatives
 %upname_compat -a -s utils
 
 %description utils
@@ -318,8 +318,8 @@ Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
 Recommends: %{name}-utils
 Obsoletes: python3-%{name} < 32:9.18.0
 Obsoletes: %{name}-dnssec-doc < 32:9.18.4-2
-Requires(post):   %{_sbindir}/alternatives
-Requires(postun): %{_sbindir}/alternatives
+Requires(post):   alternatives
+Requires(postun): alternatives
 %upname_compat -a -s dnssec-utils
 
 %description dnssec-utils
@@ -338,8 +338,8 @@ Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
 Requires: pkgconfig(libcrypto) pkgconfig(libssl)
 Requires: pkgconfig(libxml-2.0)
 Requires: pkgconfig(libcap)
-Requires(post):   %{_sbindir}/alternatives
-Requires(postun): %{_sbindir}/alternatives
+Requires(post):   alternatives
+Requires(postun): alternatives
 %upname_compat -a -s devel
 %if %{with GSSTSIG}
 Requires: pkgconfig(krb5)

                 reply	other threads:[~2026-10-16 14:52 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=179216234328.1.17174909796644356527.rpms-bind-b91b65362d09@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