Rebuild to add the automatically generated Obsoletes tag with the python39- prefix

.. for smoother upgrade from RHEL8

- Manually add Provides and Obsoletes for python39-pybind11-devel

Related: rhbz#1990421
This commit is contained in:
Tomas Orsava 2022-02-08 10:46:47 +01:00
parent b343a81bde
commit 833f49416f

View File

@ -17,7 +17,7 @@
Name: pybind11
Version: 2.6.2
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Seamless operability between C++11 and Python
License: BSD
URL: https://github.com/pybind/pybind11
@ -67,6 +67,7 @@ C++ code.
Summary: Development headers for pybind11
# https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Header_Only_Libraries
Provides: %{name}-static = %{version}-%{release}
Obsoletes: python39-%{name}-devel < %{version}-%{release}
# For dir ownership
Requires: cmake
@ -180,6 +181,12 @@ PYBIND11_USE_CMAKE=true %py3_install "--install-purelib" "%{python3_sitearch}"
%endif
%changelog
* Tue Feb 08 2022 Tomas Orsava <torsava@redhat.com> - 2.6.2-4
- Add automatically generated Obsoletes tag with the python39- prefix
for smoother upgrade from RHEL8
- Manually add Provides and Obsoletes for python39-pybind11-devel
- Related: rhbz#1990421
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.6.2-3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688