diff --git a/pyusb.spec b/pyusb.spec index 4418ef3..149ec1b 100644 --- a/pyusb.spec +++ b/pyusb.spec @@ -1,6 +1,6 @@ Name: pyusb Version: 1.0.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Python bindings for libusb License: BSD URL: https://github.com/pyusb/pyusb/ @@ -14,16 +14,6 @@ methods to support most USB operations. %description %_description -%package -n python2-pyusb -Summary: %summary -%{?python_provide:%python_provide python2-pyusb} -BuildRequires: python2-devel -# Remove before F30 -Provides: pyusb = %{version}-%{release} -Obsoletes: pyusb < %{version}-%{release} - -%description -n python2-pyusb %_description - %package -n python3-pyusb Summary: %summary %{?python_provide:%python_provide python3-pyusb} @@ -38,24 +28,20 @@ methods to support most USB operations. sed -i -e 's/\r//g' README.rst %build -%py2_build %py3_build %install -%py2_install %py3_install -%files -n python2-pyusb -%license LICENSE -%doc README.rst -%{python2_sitelib}/* - %files -n python3-pyusb %license LICENSE %doc README.rst %{python3_sitelib}/* %changelog +* Mon Oct 21 2019 Gwyn Ciesla - 1.0.2-6 +- Drop Python 2. + * Thu Oct 03 2019 Miro HronĨok - 1.0.2-5 - Rebuilt for Python 3.8.0rc1 (#1748018)