diff --git libftdi/libftdi.spec libftdi/libftdi.spec.tmp index a6e4775c3a..7d06ab377d 100644 --- libftdi/libftdi.spec +++ libftdi/libftdi.spec.tmp @@ -1,6 +1,6 @@ Name: libftdi Version: 1.3 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Library to program and control the FTDI USB controller Group: System Environment/Libraries @@ -32,12 +32,16 @@ Requires: pkgconfig %description devel Header files and static libraries for libftdi -%package python +%package -n python2-libftdi +%{?python_provide:%python_provide python2-libftdi} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Libftdi library Python binding Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} -%description python +%description -n python2-libftdi Libftdi Python Language bindings. %package c++ @@ -124,7 +128,7 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/libftdi1/example.conf %{_libdir}/pkgconfig/libftdi1.pc %{_mandir}/man3/* -%files python +%files -n python2-libftdi %{python2_sitearch}/* %files c++ @@ -142,6 +146,10 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/libftdi1/example.conf %postun c++ -p /sbin/ldconfig %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.3-8 +- Python 2 binary package renamed to python2-libftdi + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Wed Jul 26 2017 Fedora Release Engineering - 1.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild