diff --git a/python-gattlib.spec b/python-gattlib.spec index d5b38b5..1110feb 100644 --- a/python-gattlib.spec +++ b/python-gattlib.spec @@ -2,7 +2,7 @@ Name: python-gattlib Version: 0.20150805 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Library to access Bluetooth LE devices License: ASL 2.0 and GPLv2+ and LGPLv2+ @@ -21,20 +21,6 @@ BuildRequires: gcc-c++ %description %{summary}. -%package -n python2-%{modname} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{modname}} -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: boost-python2-devel -BuildRequires: glib2-devel -BuildRequires: bluez-libs-devel - -%description -n python2-%{modname} -%{summary}. - -Python 2 version. - %package -n python%{python3_pkgversion}-%{modname} Summary: %{summary} %{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}} @@ -56,28 +42,23 @@ cp %{S:1} . find . -type f | xargs chmod -x %build -%py2_build %py3_build %install -%py2_install %py3_install %check -%{__python2} setup.py test %{__python3} setup.py test -%files -n python2-%{modname} -%license COPYING -%{python2_sitearch}/gattlib* -%{python2_sitearch}/%{modname}*.egg-info/ - %files -n python%{python3_pkgversion}-%{modname} %license COPYING %{python3_sitearch}/gattlib* %{python3_sitearch}/%{modname}*.egg-info/ %changelog +* Sat Nov 02 2019 Gwyn Ciesla - 0.20150805-12 +- Drop Python 2. + * Mon Aug 19 2019 Miro HronĨok - 0.20150805-11 - Rebuilt for Python 3.8