Add Provides for the old name without %_isa

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-20 10:35:14 -04:00
parent 6807097bd6
commit 593e1b8e49

View File

@ -6,7 +6,7 @@
Name: i2c-tools
Version: 3.1.2
Release: 5%{?dist}
Release: 6%{?dist}
Summary: A heterogeneous set of I2C tools for Linux
License: GPLv2+
URL: https://i2c.wiki.kernel.org/index.php/I2C_Tools
@ -38,6 +38,7 @@ what you are doing.
%package -n python2-i2c-tools
%{?python_provide:%python_provide python2-i2c-tools}
# Remove before F30
Provides: %{name}-python = %{version}-%{release}
Provides: %{name}-python%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
Summary: Python bindings for Linux SMBus access through i2c-dev
@ -141,6 +142,9 @@ exit 0
%changelog
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.1.2-6
- Add Provides for the old name without %%_isa
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.1.2-5
- Python 2 binary package renamed to python2-i2c-tools
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3