From 6c7c87fa26e9d03d50d99e7cd4b95a0ab0a6754c0d50ea18cf11f2c5502937fd Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sun, 29 Aug 2021 19:08:27 +0000 Subject: [PATCH] Accepting request 914892 from home:bnavigator:pyqt:dependers:kritatest - Obsolete without the version release because the metapackage can have a lower one. OBS-URL: https://build.opensuse.org/request/show/914892 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-sip4?expand=0&rev=3 --- python-sip4.changes | 6 ++++++ python-sip4.spec | 12 ++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/python-sip4.changes b/python-sip4.changes index 0745308..972420e 100644 --- a/python-sip4.changes +++ b/python-sip4.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Aug 29 18:36:46 UTC 2021 - Ben Greiner + +- Obsolete without the version release because the metapackage + can have a lower one. + ------------------------------------------------------------------- Mon Jul 5 22:28:42 UTC 2021 - Ben Greiner diff --git a/python-sip4.spec b/python-sip4.spec index 20bb547..ecb0f41 100644 --- a/python-sip4.spec +++ b/python-sip4.spec @@ -57,10 +57,10 @@ BuildRequires: python-rpm-macros Requires: %{name}-common = %{version} Provides: python-%{mname} = %{version}-%{release} Provides: python-sip(api) = %{python_sip_api} -Obsoletes: python-%{mname} < %{version}-%{release} +Obsoletes: python-%{mname} < %{version} %ifpython2 Provides: %{oldpython}-%{mname} = %{version}-%{release} -Obsoletes: %{oldpython}-%{mname} < %{version}-%{release} +Obsoletes: %{oldpython}-%{mname} < %{version} %endif %if %{with pyqt5_module} Conflicts: python-qt5-sip @@ -86,13 +86,13 @@ Requires(post): update-alternatives Requires(postun): update-alternatives Provides: python-%{mname}-bin = %{version}-%{release} Provides: python-%{mname}-devel = %{version}-%{release} -Obsoletes: python-%{mname}-bin < %{version}-%{release} -Obsoletes: python-%{mname}-devel < %{version}-%{release} +Obsoletes: python-%{mname}-bin < %{version} +Obsoletes: python-%{mname}-devel < %{version} %ifpython2 Provides: %{oldpython}-%{mname}-bin = %{version}-%{release} Provides: %{oldpython}-%{mname}-devel = %{version}-%{release} -Obsoletes: %{oldpython}-%{mname}-bin < %{version}-%{release} -Obsoletes: %{oldpython}-%{mname}-devel < %{version}-%{release} +Obsoletes: %{oldpython}-%{mname}-bin < %{version} +Obsoletes: %{oldpython}-%{mname}-devel < %{version} %endif %description devel