public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/bind] rawhide: Fix versions conflict of -chroot subpackage
Date: Fri, 16 Oct 2026 16:58:21 GMT [thread overview]
Message-ID: <179216990122.1.1899087045403836331.rpms-bind-7de63c62e3c6@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/bind
Branch : rawhide
Commit : 7de63c62e3c6b0084442a8b8b55c71333385924a
Author : Petr Menšík <pemensik@redhat.com>
Date : 2026-10-16T18:55:07+02:00
Stats : +4/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/bind/c/7de63c62e3c6b0084442a8b8b55c71333385924a?branch=rawhide
Log:
Fix versions conflict of -chroot subpackage
chroot is supposed to conflict with other packages. But it turns out it
can conflict also with itself. Work around that by conflicting only with
lower versions. Higher version have to contain similar conflict too.
---
diff --git a/bind.spec b/bind.spec
index f2ddaad..ed2b9d6 100644
--- a/bind.spec
+++ b/bind.spec
@@ -90,15 +90,16 @@
# Conflict with all packages not yet using alternatives
%define upname_compat(as:) \
%if "%{name}" != "%{upname}" \
-Provides: %{?epoch:%{epoch}:}%{upname}%{-s:-}%{-s*} = %{version}-%{release} \
+Provides: %{upname}%{-s:-}%{-s*} = %{?epoch:%{epoch}:}%{version}-%{release} \
%endif \
%if "%{name}" != "%{oldname}" \
-Provides: %{?epoch:%{epoch}:}%{oldname}%{-s:-}%{-s*} = %{version}-%{release} \
+Provides: %{oldname}%{-s:-}%{-s*} = %{?epoch:%{epoch}:}%{version}-%{release} \
%endif \
%if 0%{-a:1} \
Provides: alternative(%{upname}%{-s:-}%{-s*}) = %{version}-%{release} \
%endif \
-Conflicts: ((%{upname}%{-s:-}%{-s*} or %{oldname}%{-s:-}%{-s*}) unless alternative(%{upname}%{-s:-}%{-s*})) \
+Conflicts: ((%{upname}%{-s:-}%{-s*} < %{epoch}:%{version}-%{release} or %{oldname}%{-s:-}%{-s*} < %{epoch}:%{version}-%{release}) unless alternative(%{upname}%{-s:-}%{-s*})) \
+# end of upname_compat. Conflict only with lower versions, not itself.
Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) server
Name: bind
reply other threads:[~2026-10-16 16:58 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=179216990122.1.1899087045403836331.rpms-bind-7de63c62e3c6@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