Obsolete and provide the python-sphinx-locale package to fix the upgrade path

Related: rhbz#1985219
This commit is contained in:
Charalampos Stratakis 2021-10-08 16:50:20 +02:00
parent eeaad96bd9
commit 5d5198efaa

View File

@ -28,7 +28,7 @@ Name: python-sphinx
#global prerel ...
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 6%{?dist}
Release: 7%{?dist}
Epoch: 1
Summary: Python documentation generator
@ -145,6 +145,10 @@ Provides: bundled(jquery) = 3.5.1
Provides: bundled(underscore) = 1.3.1
Provides: bundled(css3-mediaqueries) = 1.0
# Obsolete and provide the locale package for a clean upgrade path from RHEL 8->9
Obsoletes: python-sphinx-locale < 1:2
Provides: python-sphinx-locale = %{epoch}:%{version}-%{release}
%description -n python%{python3_pkgversion}-sphinx
Sphinx is a tool that makes it easy to create intelligent and
beautiful documentation for Python projects (or other documents
@ -374,6 +378,10 @@ mkdir %{buildroot}%{python3_sitelib}/sphinxcontrib
%changelog
* Fri Oct 08 2021 Charalampos Stratakis <cstratak@redhat.com> - 1:3.4.3-7
- Obsolete and provide the python-sphinx-locale package to fix the upgrade path
Related: rhbz#1985219
* Wed Oct 06 2021 Charalampos Stratakis <cstratak@redhat.com> - 1:3.4.3-6
- Fix broken links in the bundled underscore.js library
Resolves: rhbz#1985219