From 6296954aa392166e596cea772a5bdfdb24ceb675 Mon Sep 17 00:00:00 2001 From: rdobuilder Date: Oct 11 2022 15:13:28 +0000 Subject: Obsolete previous versions of python3-sqlalchemy-1.3 Required to fix upgrade path in some scenarios to make sure that dnf never tries to install python3-sqlalchemy13 and python3-sqlalchemy-1.3 together. Related-to: https://review.rdoproject.org/r/q/Ic2f5bacabd9470e8d04b4760663b0a6be6f21504 --- diff --git a/SPECS/python-sqlalchemy13.spec b/SPECS/python-sqlalchemy13.spec index 9e966b9..6edf1f6 100644 --- a/SPECS/python-sqlalchemy13.spec +++ b/SPECS/python-sqlalchemy13.spec @@ -7,7 +7,7 @@ Name: python-sqlalchemy13 Version: 1.3.24 # cope with pre-release versions containing tildes %global srcversion %{lua: srcversion, num = rpm.expand("%{version}"):gsub("~", ""); print(srcversion);} -Release: 2%{?dist} +Release: 3%{?dist} Summary: Modular and flexible ORM library for python - version 1.3 License: MIT @@ -45,6 +45,7 @@ Documentation for SQLAlchemy Summary: Modular and flexible ORM library for python %{?python_provide:%python_provide python%{python3_pkgversion}-sqlalchemy13} Provides: python3-sqlalchemy = %{version}-%{release} +Obsoletes: python3-sqlalchemy < %{version}-%{release} Conflicts: python3-sqlalchemy >= 1.4 %description -n python3-sqlalchemy13 @@ -89,6 +90,9 @@ PYTHONPATH=. %{__python3} -m pytest test \ %{python3_sitearch}/* %changelog +* Tue Oct 11 2022 Alfredo Moralejo - 1.3.24-3 +- Obsolete previous versions of python3-sqlalchemy-1.3 + * Thu Sep 29 2022 Alfredo Moralejo - 1.3.24-2 - Rename package to python-sqlalchemy13 - Remove python2 packages