Obsolete by name only

This commit is contained in:
Petr Písař 2019-06-18 16:43:59 +02:00
parent b09ec4f714
commit 2491fe1f9c
1 changed files with 5 additions and 2 deletions

View File

@ -8,7 +8,7 @@
Name: openbabel
Version: 2.4.1
Release: 21%{?dist}
Release: 22%{?dist}
Summary: Chemistry software file format converter
License: GPLv2
URL: https://openbabel.org/
@ -119,7 +119,7 @@ Summary: Python wrapper for the Open Babel library
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
BuildRequires: python3-devel
%{?python_provide:%python_provide python3-%{name}}
Obsoletes: python2-%{name}%{?_isa} < 2.4.1-21
Obsoletes: python2-%{name} < 2.4.1-21
%description -n python3-%{name}
Python3 wrapper for the Open Babel library.
@ -244,6 +244,9 @@ export CTEST_OUTPUT_ON_FAILURE=1 PYTHONPATH=%{buildroot}%{python3_sitearch}
%{ruby_vendorarchdir}/openbabel.so
%changelog
* Tue Jun 18 2019 Petr Pisar <ppisar@redhat.com> - 2.4.1-22
- Obsolete by name only (bug #1685183)
* Fri Mar 01 2019 Dominik Mierzejewski <rpm@greysector.net> - 2.4.1-21
- drop python2 subpackage (#1648558)
- fix running the testsuite with python3