public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/bind] rawhide: Switch to _sbindir/alternatives
Date: Wed, 15 Jul 2026 10:01:34 GMT	[thread overview]
Message-ID: <178410969474.1.10143206939500448827.rpms-bind-211a5b09a632@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/bind
            Branch : rawhide
            Commit : 211a5b09a632dccafcca84067e5ef4361f5b92d5
            Author : Petr Menšík <pemensik@redhat.com>
            Date   : 2026-07-13T17:14:34+02:00
            Stats  : +8/-8 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/bind/c/211a5b09a632dccafcca84067e5ef4361f5b92d5?branch=rawhide

            Log:
            Switch to _sbindir/alternatives

It is in sbin in CentOS. But on Fedora it is equivalent.

---
diff --git a/bind.spec b/bind.spec
index f69351a..2cdd2fe 100644
--- a/bind.spec
+++ b/bind.spec
@@ -168,8 +168,8 @@ Requires:       coreutils
 Requires(post): shadow-utils
 Requires(post): glibc-common
 Requires(post): grep
-Requires(post):   %{_bindir}/alternatives
-Requires(postun): %{_bindir}/alternatives
+Requires(post):   %{_sbindir}/alternatives
+Requires(postun): %{_sbindir}/alternatives
 Requires:       %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
 Recommends:     %{name}-utils %{name}-dnssec-utils
 %upname_compat  %{upname}
@@ -270,8 +270,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):   %{_bindir}/alternatives
-Requires(postun): %{_bindir}/alternatives
+Requires(post):   %{_sbindir}/alternatives
+Requires(postun): %{_sbindir}/alternatives
 %upname_compat %{upname}-utils
 
 %description utils
@@ -290,8 +290,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):   %{_bindir}/alternatives
-Requires(postun): %{_bindir}/alternatives
+Requires(post):   %{_sbindir}/alternatives
+Requires(postun): %{_sbindir}/alternatives
 %upname_compat %{upname}-dnssec-utils
 
 %description dnssec-utils
@@ -310,8 +310,8 @@ Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
 Requires: pkgconfig(libcrypto) pkgconfig(libssl)
 Requires: pkgconfig(libxml-2.0)
 Requires: pkgconfig(libpcap)
-Requires(post):   %{_bindir}/alternatives
-Requires(postun): %{_bindir}/alternatives
+Requires(post):   %{_sbindir}/alternatives
+Requires(postun): %{_sbindir}/alternatives
 %upname_compat %{upname}-devel
 %if %{with GSSTSIG}
 Requires: pkgconfig(krb5)

                 reply	other threads:[~2026-07-15 10:01 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=178410969474.1.10143206939500448827.rpms-bind-211a5b09a632@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