From 7021505b92ef408759d81398d55e04c5737ba456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 8 Feb 2022 10:42:23 +0000 Subject: [PATCH] Use %py_provides, drop old Obsoletes Related: rhbz#1990421 --- PyYAML.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/PyYAML.spec b/PyYAML.spec index dee15a5..59545a4 100644 --- a/PyYAML.spec +++ b/PyYAML.spec @@ -7,7 +7,7 @@ Name: PyYAML Version: 5.4.1 -Release: 5%{?dist} +Release: 6%{?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,11 @@ rm -rf ext/_yaml.c %changelog +* Tue Feb 08 2022 Miro HronĨok - 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 - 5.4.1-5 - Add automatically generated Obsoletes tag with the python39- prefix for smoother upgrade from RHEL8