diff --git a/python-itsdangerous.spec b/python-itsdangerous.spec index 442cab512b2f0995a28d93cee7172fdd73986bb6..b030941e805be942b0df41f013e772c54e5a88c8 100644 --- a/python-itsdangerous.spec +++ b/python-itsdangerous.spec @@ -1,26 +1,18 @@ Name: python-itsdangerous Version: 1.1.0 -Release: 2 +Release: 3 Summary: Various helpers to pass data to untrusted environments and to get it back safe and sound. License: BSD URL: http://pythonhosted.org/itsdangerous/ Source0: https://pypi.python.org/packages/source/i/itsdangerous/itsdangerous-%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-devel python3-devel python2-pytest python3-pytest python2-freezegun python3-freezegun +BuildRequires: python3-devel python3-pytest python3-freezegun %description Various helpers to pass data to untrusted environments and to get it back safe and sound. Data is cryptographically signed to ensure that a token has not been tampered with. -%package -n python2-itsdangerous -Summary: Various helpers to pass data to untrusted environments and to get it back safe and sound for python2. -%{?python_provide:%python_provide python2-itsdangerous} - -%description -n python2-itsdangerous -Various helpers to pass data to untrusted environments and to get it back safe and sound for python2. -Data is cryptographically signed to ensure that a token has not been tampered with. - %package -n python3-itsdangerous Summary: Various helpers to pass data to untrusted environments and to get it back safe and sound for python3. %{?python_provide:%python_provide python3-itsdangerous} @@ -34,22 +26,14 @@ Data is cryptographically signed to ensure that a token has not been tampered wi %autosetup -n itsdangerous-%{version} %build -%py2_build %py3_build %install -%py2_install %py3_install %check -PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python2_version} PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -%files -n python2-itsdangerous -%license LICENSE.rst -%doc CHANGES.rst README.rst -%{python2_sitelib}/itsdangerous/ -%{python2_sitelib}/itsdangerous*.egg-info/ %files -n python3-itsdangerous %license LICENSE.rst @@ -58,6 +42,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} %{python3_sitelib}/itsdangerous*.egg-info/ %changelog +* Wed Jan 26 2022 zhangy1317 - 1.1.0-3 +- Remove python2 + * Tue Sep 29 2020 liuweibo - 1.1.0-2 - Fix Source0