!7 [sync] PR-5: Update package pymemcache of version 3.5.1

From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2022-10-20 02:15:25 +00:00 committed by Gitee
commit d421e45391
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 30 additions and 25 deletions

Binary file not shown.

BIN
pymemcache-3.5.1.tar.gz Normal file

Binary file not shown.

View File

@ -1,44 +1,46 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-pymemcache Name: python-pymemcache
Version: 3.4.1 Version: 3.5.1
Release: 1 Release: 1
Summary: A comprehensive, fast, pure Python memcached client Summary: A comprehensive, fast, pure Python memcached client
License: Apache-2.0 License: Apache-2.0
URL: https://github.com/pinterest/pymemcache URL: https://github.com/pinterest/pymemcache
Source0: https://files.pythonhosted.org/packages/fa/90/58c55a4368155d16c1470de68dbead7f011dcca9ffd24f68fd7eec7e4b08/pymemcache-3.4.1.tar.gz Source0: https://files.pythonhosted.org/packages/08/7f/ada57782302075b17f66192883379889a50df9b44635e33f19b687ab73e5/pymemcache-3.5.1.tar.gz
BuildArch: noarch BuildArch: noarch
%description %description
A comprehensive, fast, pure Python memcached client A comprehensive, fast, pure Python memcached client
%package -n python3-pymemcache %package -n python3-pymemcache
Summary: A comprehensive, fast, pure Python memcached client Summary: A comprehensive, fast, pure Python memcached client
Provides: python-pymemcache Provides: python-pymemcache
BuildRequires: python3-devel # Base build requires
BuildRequires: python3-setuptools BuildRequires: python3-devel
BuildRequires: python3-pip BuildRequires: python3-setuptools
BuildRequires: python3-pbr BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
# General requires
BuildRequires: python3-six BuildRequires: python3-six
Requires: python3-six # General requires
Requires: python3-six
%description -n python3-pymemcache %description -n python3-pymemcache
A comprehensive, fast, pure Python memcached client A comprehensive, fast, pure Python memcached client
%package help %package help
Summary: Development documents and examples for pymemcache Summary: A comprehensive, fast, pure Python memcached client
Provides: python3-pymemcache-doc Provides: python3-pymemcache-doc
%description help %description help
A comprehensive, fast, pure Python memcached client A comprehensive, fast, pure Python memcached client
%prep %prep
%autosetup -n pymemcache-3.4.1 %autosetup -n pymemcache-%{version}
%build %build
%py3_build %py3_build
%install %install
%py3_install %py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir} install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
@ -46,20 +48,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot} pushd %{buildroot}
if [ -d usr/lib ]; then if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi fi
if [ -d usr/lib64 ]; then if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi fi
if [ -d usr/bin ]; then if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi fi
if [ -d usr/sbin ]; then if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi fi
touch doclist.lst touch doclist.lst
if [ -d usr/share/man ]; then if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi fi
popd popd
mv %{buildroot}/filelist.lst . mv %{buildroot}/filelist.lst .
@ -72,5 +74,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Mon May 30 2022 OpenStack_SIG <openstack@openeuler.org> - 3.5.1-1
- Upgrade package python3-pymemcache to version 3.5.1
* Fri Jul 09 2021 openstack-sig <openstack@openeuler.org> * Fri Jul 09 2021 openstack-sig <openstack@openeuler.org>
- Package Spec generated - Package Spec generated