public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bind] rawhide: Fix versions conflict of -chroot subpackage
@ 2026-10-16 16:58
0 siblings, 0 replies; only message in thread
From: @ 2026-10-16 16:58 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-16 16:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-16 16:58 [rpms/bind] rawhide: Fix versions conflict of -chroot subpackage
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox