Use %py_provides, drop old Obsoletes
This commit is contained in:
parent
68c18e86dd
commit
063250e405
|
@ -0,0 +1 @@
|
||||||
|
efbe83434843c1963a9e56f36a9afa74a38c60a8 5.4.1.tar.gz
|
16
PyYAML.spec
16
PyYAML.spec
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
Name: PyYAML
|
Name: PyYAML
|
||||||
Version: 5.4.1
|
Version: 5.4.1
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
%global uversion %{version}
|
%global uversion %{version}
|
||||||
Summary: YAML parser and emitter for Python
|
Summary: YAML parser and emitter for Python
|
||||||
|
|
||||||
|
@ -60,13 +60,8 @@ Provides: PyYAML%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%package -n python3-pyyaml
|
%package -n python3-pyyaml
|
||||||
Summary: %summary
|
Summary: %summary
|
||||||
Provides: python3-yaml = %{version}-%{release}
|
%py_provides python3-yaml
|
||||||
Provides: python3-yaml%{?_isa} = %{version}-%{release}
|
%py_provides python3-PyYAML
|
||||||
%{?python_provide:%python_provide python3-pyyaml}
|
|
||||||
# Remove before F31
|
|
||||||
Provides: python3-PyYAML = %{version}-%{release}
|
|
||||||
Provides: python3-PyYAML%{?_isa} = %{version}-%{release}
|
|
||||||
Obsoletes: python3-PyYAML < 4.1-5
|
|
||||||
|
|
||||||
%description -n python3-pyyaml %_description
|
%description -n python3-pyyaml %_description
|
||||||
|
|
||||||
|
@ -116,6 +111,11 @@ rm -rf ext/_yaml.c
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 08 2022 Miro Hrončok <mhroncok@redhat.com> - 5.4.1-6
|
||||||
|
- Remove some outdated Obsoletes and Provides,
|
||||||
|
but keep providing python3-yaml and python3-PyYAML for users
|
||||||
|
- Related: rhbz#1990421
|
||||||
|
|
||||||
* Tue Feb 08 2022 Tomas Orsava <torsava@redhat.com> - 5.4.1-5
|
* Tue Feb 08 2022 Tomas Orsava <torsava@redhat.com> - 5.4.1-5
|
||||||
- Add automatically generated Obsoletes tag with the python39- prefix
|
- Add automatically generated Obsoletes tag with the python39- prefix
|
||||||
for smoother upgrade from RHEL8
|
for smoother upgrade from RHEL8
|
||||||
|
|
Loading…
Reference in New Issue