update to 2.5.0

This commit is contained in:
zhangy1317 2021-07-16 10:39:28 +08:00
parent 3d808c7d48
commit 5a872bafa6
3 changed files with 126 additions and 58 deletions

Binary file not shown.

BIN
glance_store-2.5.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,98 +1,166 @@
%global _empty_manifest_terminate_build 0
Name: python-glance-store Name: python-glance-store
Version: 2.4.0 Version: 2.5.0
Release: 1 Release: 1
Summary: OpenStack Image Service Store Library Summary: OpenStack Image Service Store Library
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python URL: https://docs.openstack.org/glance_store/latest/
URL: https://github.com/openstack/glance_store Source0: https://files.pythonhosted.org/packages/fd/37/cdf17c0e236f3549f3154850229d6d48f641855e9272be5804b64c9adae1/glance_store-2.5.0.tar.gz
Source0: https://files.pythonhosted.org/packages/source/g/glance_store/glance_store-2.4.0.tar.gz
BuildRequires: fdupes
BuildRequires: openstack-macros
BuildRequires: python3-boto3
BuildRequires: python3-cinderclient
BuildRequires: python3-debtcollector
BuildRequires: python3-eventlet
BuildRequires: python3-fixtures
BuildRequires: python3-jsonschema
BuildRequires: python3-keystoneclient
BuildRequires: python3-mock
BuildRequires: python3-os-brick
BuildRequires: python3-oslo-concurrency
BuildRequires: python3-oslo-config
BuildRequires: python3-oslo-i18n
BuildRequires: python3-oslo-serialization
BuildRequires: python3-oslo-utils
BuildRequires: python3-oslo-vmware
BuildRequires: python3-oslotest
BuildRequires: python3-subunit
BuildRequires: python3-requests
BuildRequires: python3-requests-mock
BuildRequires: python3-six
BuildRequires: python3-stestr
BuildRequires: python3-stevedore
BuildRequires: python3-swiftclient
BuildRequires: python3-testscenarios
BuildRequires: python3-testtools
BuildArch: noarch BuildArch: noarch
%description %description
Glance store library. Glance store library.
%package -n python3-glance-store %package -n python3-glance-store
Summary: OpenStack Image Service Store Library Summary: OpenStack Image Service Store Library
Requires: python3-boto3 Provides: python-glance-store
Requires: python3-cinderclient # Base build requires
Requires: python3-debtcollector BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
# General requires
BuildRequires: python3-eventlet
BuildRequires: python3-jsonschema
BuildRequires: python3-keystoneauth1
BuildRequires: python3-oslo-concurrency
BuildRequires: python3-oslo-config
BuildRequires: python3-oslo-i18n
BuildRequires: python3-oslo-serialization
BuildRequires: python3-oslo-utils
BuildRequires: python3-keystoneclient
BuildRequires: python3-requests
BuildRequires: python3-six
BuildRequires: python3-stevedore
BuildRequires: python3-os-brick
BuildRequires: python3-oslo-privsep
BuildRequires: python3-oslo-rootwrap
BuildRequires: python3-cinderclient
BuildRequires: python3-boto3
BuildRequires: python3-httplib2
BuildRequires: python3-swiftclient
BuildRequires: python3-oslo-vmware
# Tests running requires
BuildRequires: python3-boto3
BuildRequires: python3-coverage
BuildRequires: python3-doc8
BuildRequires: python3-fixtures
BuildRequires: python3-hacking
BuildRequires: python3-httplib2
BuildRequires: python3-os-brick
BuildRequires: python3-oslo-privsep
BuildRequires: python3-oslo-rootwrap
BuildRequires: python3-oslo-vmware
BuildRequires: python3-oslotest
BuildRequires: python3-cinderclient
BuildRequires: python3-subunit
BuildRequires: python3-swiftclient
BuildRequires: python3-requests-mock
BuildRequires: python3-stestr
BuildRequires: python3-testscenarios
BuildRequires: python3-testtools
# General requires
Requires: python3-eventlet Requires: python3-eventlet
Requires: python3-httplib2
Requires: python3-jsonschema Requires: python3-jsonschema
Requires: python3-keystoneauth1 Requires: python3-keystoneauth1
Requires: python3-keystoneclient
Requires: python3-os-brick
Requires: python3-oslo-concurrency Requires: python3-oslo-concurrency
Requires: python3-oslo-config Requires: python3-oslo-config
Requires: python3-oslo-i18n Requires: python3-oslo-i18n
Requires: python3-oslo-privsep
Requires: python3-oslo-rootwrap
Requires: python3-oslo-serialization Requires: python3-oslo-serialization
Requires: python3-oslo-utils Requires: python3-oslo-utils
Requires: python3-oslo-vmware Requires: python3-keystoneclient
Requires: python3-requests Requires: python3-requests
Requires: python3-six Requires: python3-six
Requires: python3-stevedore Requires: python3-stevedore
Requires: python3-os-brick
Requires: python3-oslo-privsep
Requires: python3-oslo-rootwrap
Requires: python3-cinderclient
Requires: python3-boto3
Requires: python3-httplib2
Requires: python3-swiftclient Requires: python3-swiftclient
Requires: python3-oslo-vmware
# Tests running requires
Requires: python3-boto3
Requires: python3-coverage
Requires: python3-doc8
Requires: python3-fixtures
Requires: python3-hacking
Requires: python3-httplib2
Requires: python3-os-brick
Requires: python3-oslo-privsep
Requires: python3-oslo-rootwrap
Requires: python3-oslo-vmware
Requires: python3-oslotest
Requires: python3-cinderclient
Requires: python3-subunit
Requires: python3-swiftclient
Requires: python3-requests-mock
Requires: python3-stestr
Requires: python3-testscenarios
Requires: python3-testtools
%description -n python3-glance-store %description -n python3-glance-store
Glance store library. Glance store library.
This package contains the Python 3.x module. %package help
Summary: OpenStack Image Service Store Library
Provides: python3-glance-store-doc
%description help
Glance store library.
%prep %prep
%autosetup -S git -n glance_store-2.4.0 %autosetup -n glance_store-2.5.0
%build %build
%{py3_build} %py3_build
%install %install
%{py3_install} %py3_install
ln -s ./glance-rootwrap %{buildroot}%{_bindir}/glance-rootwrap-3 install -d -m755 %{buildroot}/%{_pkgdocdir}
install -p -D -m 644 etc/glance/rootwrap.d/glance_cinder_store.filters %{buildroot}%{_datarootdir}/glance_store/glance_cinder_store.filters if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
rm -rf %{buildroot}%{_prefix}/etc/glance if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-glance-store %files -n python3-glance-store -f filelist.lst
%doc AUTHORS ChangeLog %dir %{python3_sitelib}/*
%license LICENSE
%{_bindir}/glance-rootwrap
%{_bindir}/glance-rootwrap-3 %files help -f doclist.lst
%{_datarootdir}/glance_store %{_docdir}/*
%{_datarootdir}/glance_store/*.filters
%{python3_sitelib}/glance_store %files
%{python3_sitelib}/glance_store-*.egg-info %{_prefix}/%{_sysconfdir}/glance/rootwrap.conf
%{_prefix}/%{_sysconfdir}/glance/rootwrap.d/glance_cinder_store.filters
%changelog %changelog
* Tue Jul 13 2021 OpenStack_SIG <openstack@openeuler.org> - 2.5.0-1
- Update to 2.5.0
* Tue Apr 27 2021 zhangy1317 <zhangy1317@foxmail.com> 2.4.0 * Tue Apr 27 2021 zhangy1317 <zhangy1317@foxmail.com> 2.4.0
- Add buildrequires - Add buildrequires
* Wed Oct 21 2020 Joel Capitao <jcapitao@redhat.com> 2.3.0-2 * Wed Oct 21 2020 Joel Capitao <jcapitao@redhat.com> 2.3.0-2
- Enable sources tarball validation using GPG signature. - Enable sources tarball validation using GPG signature.
* Mon Sep 21 2020 RDO <dev@lists.rdoproject.org> 2.3.0-1 * Mon Sep 21 2020 RDO <dev@lists.rdoproject.org> 2.3.0-1
- Update to 2.3.0 - Update to 2.3.0