diff --git python-uinput/python-uinput.spec python-uinput/python-uinput.spec.tmp index 574770a1f1..732b940cfe 100644 --- python-uinput/python-uinput.spec +++ python-uinput/python-uinput.spec.tmp @@ -8,7 +8,7 @@ Name: python-uinput Version: 0.10.1 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Pythonic API to the Linux uinput kernel module License: GPLv3 @@ -29,10 +29,18 @@ BuildRequires: python3-devel %filter_setup -%description -Python-uinput is Python interface to the Linux uinput kernel module -which allows attaching userspace device drivers into kernel. +%global _description\ +Python-uinput is Python interface to the Linux uinput kernel module\ +which allows attaching userspace device drivers into kernel.\ + + +%description %_description +%package -n python2-uinput +Summary: %summary +%{?python_provide:%python_provide python2-uinput} + +%description -n python2-uinput %_description %if 0%{?with_python3} %package -n python3-uinput @@ -84,7 +92,7 @@ popd chmod a-x examples/* -%files +%files -n python2-uinput %doc COPYING NEWS README examples %{python_sitearch}/python_uinput-%{version}-py?.?.egg-info %{python_sitearch}/_libsuinput.so @@ -101,6 +109,10 @@ chmod a-x examples/* %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.10.1-15 +- Python 2 binary package renamed to python2-uinput + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.10.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild