diff --git a/.gitignore b/.gitignore index 944da99..5426615 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /pymemcache-1.2.5.tar.gz /pymemcache-2.1.1.tar.gz +/pymemcache-3.3.0.tar.gz diff --git a/python-pymemcache.spec b/python-pymemcache.spec index 76ed74c..c52ad87 100644 --- a/python-pymemcache.spec +++ b/python-pymemcache.spec @@ -1,17 +1,9 @@ # Created by pyp2rpm-1.0.1 %global pypi_name pymemcache -%if 0%{?fedora} || 0%{?rhel} > 7 -%bcond_with python2 -%bcond_without python3 -%else -%bcond_without python2 -%bcond_with python3 -%endif - Name: python-%{pypi_name} -Version: 2.1.1 -Release: 8%{?dist} +Version: 3.3.0 +Release: 1%{?dist} Summary: A comprehensive, fast, pure Python memcached client License: ASL 2.0 @@ -32,30 +24,6 @@ pymemcache supports the following features:\ %description %_description -%if %{with python2} -%package -n python2-%{pypi_name} -Summary: A comprehensive, fast, pure Python memcached client -BuildRequires: python2-devel -BuildRequires: python2-mock -BuildRequires: python2-pytest -BuildRequires: python2-pytest-cov -BuildRequires: python2-setuptools -BuildRequires: python2-six -BuildRequires: python2-future -Requires: python2-six - -%description -n python2-%{pypi_name} -pymemcache supports the following features: - -* Complete implementation of the memcached text protocol. -* Configurable timeouts for socket connect and send/recv calls. -* Access to the "noreply" flag, which can significantly increase the speed of - writes. -* Flexible, simple approach to serialization and deserialization. -* The (optional) ability to treat network and memcached errors as cache misses. -%endif - -%if %{with python3} %package -n python3-%{pypi_name} Summary: A comprehensive, fast, pure Python memcached client BuildRequires: python3-devel @@ -75,7 +43,6 @@ pymemcache supports the following features: writes. * Flexible, simple approach to serialization and deserialization. * The (optional) ability to treat network and memcached errors as cache misses. -%endif %prep %setup -q -n %{pypi_name}-%{version} @@ -84,44 +51,24 @@ rm -rf %{pypi_name}.egg-info %build -%if %{with python2} -%py2_build -%endif -%if %{with python3} %py3_build -%endif %install -%if 0%{with python2} -%py2_install -%endif -%if 0%{with python3} %py3_install -%endif %check -%if 0%{with python2} -py.test-2 ./pymemcache/test/ -%endif -%if 0%{with python3} py.test-3 ./pymemcache/test/ -%endif -%if %{with python2} -%files -n python2-%{pypi_name} -%doc README.rst LICENSE.txt -%{python2_sitelib}/%{pypi_name} -%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info -%endif - -%if %{with python3} %files -n python3-%{pypi_name} %doc README.rst LICENSE.txt %{python3_sitelib}/%{pypi_name} %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info -%endif %changelog +* Tue Sep 15 2020 Joel Capitao - 3.3.0-1 +- Update to 3.3.0 +- Remove Python 2 subpackage + * Wed Jul 29 2020 Fedora Release Engineering - 2.1.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 8a64f0c..c538e19 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pymemcache-2.1.1.tar.gz) = 4faa7d7a0290c11d468dfacf1e053b6be8c6f362a596c9c80be6547927a2db86a50f6e69ca70dfd2aa3ae9aa8b9838f737fe3df765f879986ba004a33f427132 +SHA512 (pymemcache-3.3.0.tar.gz) = 4cbeca1768155a83c8618013acac1a854e38e751fd22cb5945c18b1ccca4474871b95e49ff0f0d0d8b0e5eeab4e88835324c4199e0e1d4165c9bb54bc4a9f013