diff --git a/python-pyudev.spec b/python-pyudev.spec index abb7dbe..fbb5316 100644 --- a/python-pyudev.spec +++ b/python-pyudev.spec @@ -1,7 +1,7 @@ %global srcname pyudev Name: python-%{srcname} Version: 0.22.0 -Release: 1 +Release: 2 Summary: A libudev binding License: LGPLv2+ URL: http://pypi.python.org/pypi/pyudev @@ -16,15 +16,6 @@ and you can use it after a quick learning. %description %_description -%package -n python2-%{srcname} -Summary: %summary -BuildRequires: python2-devel python2-setuptools -Requires: glibc systemd python2-six -Provides: python2-%{srcname}-glib python2-%{srcname}-qt4 python2-%{srcname}-qt5 python2-%{srcname}-pyside python2-%{srcname}-wx -Obsoletes: python2-%{srcname}-glib python2-%{srcname}-qt4 python2-%{srcname}-qt5 python2-%{srcname}-pyside python2-%{srcname}-wx -%description -n python2-%{srcname} %_description -%{?python_provide:%python_provide python2-%{srcname}} - %package -n python3-%{srcname} Summary: A libudev binding BuildRequires: python3-devel python3-setuptools @@ -39,19 +30,11 @@ Obsoletes: python3-%{srcname}-qt4 python3-%{srcname}-qt5 rm -rf pyudev.egg-info %build -%py2_build %py3_build %install -%py2_install %py3_install -%files -n python2-%{srcname} -%license COPYING -%doc README.rst CHANGES.rst -%{python2_sitelib}/pyudev/ -%{python2_sitelib}/pyudev-%{version}-*.egg-info - %files -n python3-%{srcname} %license COPYING %doc README.rst CHANGES.rst @@ -66,6 +49,9 @@ rm -rf pyudev.egg-info %changelog +* Fri Oct 30 2020 tianwei - 0.22.0-2 +- remove python2 + * Fri Jul 24 2020 tianwei - 0.22.0-1 - update to release 0.22.0