diff --git libhid/libhid.spec libhid/libhid.spec.tmp index cbbdbafa28..2d5322f3e5 100644 --- libhid/libhid.spec +++ libhid/libhid.spec.tmp @@ -5,7 +5,7 @@ Name: libhid Version: 0.2.17 -Release: 25%{?dist} +Release: 26%{?dist} Summary: User space USB HID access library Group: System Environment/Libraries License: GPLv2 @@ -46,12 +46,16 @@ You need this if you want to develop an application with libhid -%package python +%package -n python2-libhid +%{?python_provide:%python_provide python2-libhid} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python bindings for the libhid libraries Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} -%description python +%description -n python2-libhid This package provides the hid module and wrapper for python which provides access to USB HID devices. @@ -96,11 +100,15 @@ rm -rf $RPM_BUILD_ROOT%{python_sitearch}/*/*.la %{_includedir}/* %{_libdir}/*.so -%files python +%files -n python2-libhid %doc swig/README %{python_sitearch}/* %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.2.17-26 +- Python 2 binary package renamed to python2-libhid + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.2.17-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild