Upgrade to 1.1.5

This commit is contained in:
huangtianhua 2022-05-31 16:12:39 +08:00
parent c7d941a657
commit 6cd9bbe318
3 changed files with 28 additions and 23 deletions

Binary file not shown.

BIN
dogpile.cache-1.1.5.tar.gz Normal file

Binary file not shown.

View File

@ -1,40 +1,42 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-dogpile-cache Name: python-dogpile-cache
Version: 1.1.2 Version: 1.1.5
Release: 1 Release: 1
Summary: A caching front-end based on the Dogpile lock. Summary: A caching front-end based on the Dogpile lock.
License: MIT License: MIT
URL: https://github.com/sqlalchemy/dogpile.cache URL: https://github.com/sqlalchemy/dogpile.cache
Source0: https://files.pythonhosted.org/packages/55/51/24484f0f713f3499da44f5b4483cf0e5b5284572980530065b97b3d41c83/dogpile.cache-1.1.2.tar.gz Source0: https://files.pythonhosted.org/packages/0e/94/73c2d93c9e3293115e5b831da50d6dcb20959a424309e2ddcc485238e0ce/dogpile.cache-1.1.5.tar.gz
BuildArch: noarch BuildArch: noarch
%description %description
A caching front-end based on the Dogpile lock. A caching front-end based on the Dogpile lock.
%package -n python3-dogpile-cache %package -n python3-dogpile-cache
Summary: A caching front-end based on the Dogpile lock. Summary: A caching front-end based on the Dogpile lock.
Provides: python-dogpile-cache Provides: python-dogpile-cache
BuildRequires: python3-devel # Base build requires
BuildRequires: python3-setuptools BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
%description -n python3-dogpile-cache %description -n python3-dogpile-cache
A caching front-end based on the Dogpile lock. A caching front-end based on the Dogpile lock.
%package help %package help
Summary: Development documents and examples for dogpile.cache Summary: A caching front-end based on the Dogpile lock.
Provides: python3-dogpile-cache-doc Provides: python3-dogpile-cache-doc
%description help %description help
A caching front-end based on the Dogpile lock. A caching front-end based on the Dogpile lock.
%prep %prep
%autosetup -n dogpile.cache-1.1.2 %autosetup -n dogpile.cache-%{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
@ -42,20 +44,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 .
@ -71,6 +73,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Tue May 31 2022 OpenStack_SIG <openstack@openeuler.org> - 1.1.5-1
- Upgrade package python3-dogpile-cache to version 1.1.5
* Fri Jul 09 2021 openstack-sig <openstack@openeuler.org> * Fri Jul 09 2021 openstack-sig <openstack@openeuler.org>
- Package Spec generated - Package Spec generated