Use %py_provides, drop old Obsoletes
This commit is contained in:
parent
eb28f913ed
commit
5fa165ab82
15
PyYAML.spec
15
PyYAML.spec
@ -7,7 +7,7 @@
|
||||
|
||||
Name: PyYAML
|
||||
Version: 6.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
%global uversion %{version}
|
||||
Summary: YAML parser and emitter for Python
|
||||
|
||||
@ -60,13 +60,8 @@ Provides: PyYAML%{?_isa} = %{version}-%{release}
|
||||
|
||||
%package -n python3-pyyaml
|
||||
Summary: %summary
|
||||
Provides: python3-yaml = %{version}-%{release}
|
||||
Provides: python3-yaml%{?_isa} = %{version}-%{release}
|
||||
%{?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
|
||||
%py_provides python3-yaml
|
||||
%py_provides python3-PyYAML
|
||||
|
||||
%description -n python3-pyyaml %_description
|
||||
|
||||
@ -116,6 +111,10 @@ rm -rf ext/_yaml.c
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Feb 08 2022 Miro Hrončok <mhroncok@redhat.com> - 6.0-3
|
||||
- Remove some outdated Obsoletes and Provides,
|
||||
but keep providing python3-yaml and python3-PyYAML for users
|
||||
|
||||
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user