aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--build.macros.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index bab2688..d0edc1f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- %rename: don't obsolete what is provided (mga#26801)
+
Version 2.56 - 1 June 2020, by Jani Välimaa
- build.macros: add _configure_gnuconfig_hack macro based on one from Fedora to update config.{guess,sub}
diff --git a/build.macros.in b/build.macros.in
index b9a0143..318e8c9 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -320,7 +320,7 @@ export CFLAGS="%optflags"; export CXXFLAGS="%optflags"; export RPM_OPT_FLAGS="%o
# Macro from conectiva
%rename() \
-Obsoletes: %{1} <= %{?epoch:%epoch}%{?!epoch:0}:%{version}-%{release} \
+Obsoletes: %{1} < %{?epoch:%epoch}%{?!epoch:0}:%{version}-%{release} \
Provides: %{1} = %{?epoch:%epoch}%{?!epoch:0}:%{version}-%{release}
# Shorthand for %{defined with_...}