diff --git i2c-tools/i2c-tools.spec i2c-tools/i2c-tools.spec.tmp index 6043ab9e4d..aaa31f54d1 100644 --- i2c-tools/i2c-tools.spec +++ i2c-tools/i2c-tools.spec.tmp @@ -6,7 +6,7 @@ Name: i2c-tools Version: 3.1.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A heterogeneous set of I2C tools for Linux License: GPLv2+ URL: https://i2c.wiki.kernel.org/index.php/I2C_Tools @@ -35,10 +35,14 @@ eeproms in your system is very dangerous and is likely to render your system unusable. Do not install, let alone use this, unless you really, _really_ know what you are doing. -%package python +%package -n python2-i2c-tools +%{?python_provide:%python_provide python2-i2c-tools} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python bindings for Linux SMBus access through i2c-dev -%description python +%description -n python2-i2c-tools %package perl Summary: i2c tools written in Perl @@ -120,7 +124,7 @@ exit 0 %{_sbindir}/eepro* %{_mandir}/man8/eepro*.8.gz -%files python +%files -n python2-i2c-tools %doc py-smbus/README #/usr/lib64/python2.7/site-packages/smbus-1.1-py2.7.egg-info #/usr/lib64/python2.7/site-packages/smbus.so @@ -137,6 +141,10 @@ exit 0 %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 3.1.2-5 +- Python 2 binary package renamed to python2-i2c-tools + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Wed Aug 02 2017 Fedora Release Engineering - 3.1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild