diff --git a/python-decorator.spec b/python-decorator.spec index 74e3cf4..1d7e0f3 100644 --- a/python-decorator.spec +++ b/python-decorator.spec @@ -5,7 +5,7 @@ other niceties (please check the docs). Name: python-%{_name} Version: 4.4.2 -Release: 1 +Release: 2 Summary: Simplify the signature-preserving function decorators and decorator factories License: BSD URL: https://github.com/micheles/decorator @@ -15,14 +15,6 @@ BuildArch: noarch %description %{_description} -%package -n python2-decorator -Summary: %{summary} in python2 -BuildRequires: python2-devel python2-setuptools -%{?python_provide:%python_provide python2-decorator} - -%description -n python2-decorator -%{_description} - %package -n python3-decorator Summary: %{summary} in python3 BuildRequires: python3-devel python3-setuptools @@ -38,22 +30,14 @@ BuildRequires: python3-devel python3-setuptools %build -%py2_build %py3_build %install -%py2_install %py3_install %check -%{__python2} setup.py test %{__python3} setup.py test -%files -n python2-%{_name} -%doc README.rst -%license LICENSE.txt -%{python2_sitelib}/* - %files -n python3-%{_name} %doc README.rst %license LICENSE.txt @@ -65,6 +49,12 @@ BuildRequires: python3-devel python3-setuptools %doc CHANGES.md %changelog +* Fri Oct 23 2020 tianwei - 4.4.2-2 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:delete python2 + * Thu Jul 23 2020 dingyue - 4.4.2-1 - Type:enhancement - ID:NA