diff --git a/glance_store-0.23.0.tar.gz b/glance_store-0.23.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..be693b6ae1ecc280909c3e4110690f22ad050ba2 Binary files /dev/null and b/glance_store-0.23.0.tar.gz differ diff --git a/glance_store-2.3.0.tar.gz b/glance_store-2.3.0.tar.gz deleted file mode 100644 index e40d07fbb18af163c27fa91fed05081dab8191ef..0000000000000000000000000000000000000000 Binary files a/glance_store-2.3.0.tar.gz and /dev/null differ diff --git a/python-glance-store.spec b/python-glance-store.spec index 59d1396cc77c64baae81707247b1a779ee9a2897..93c16388060ea2463414615fa0c0cc3c31107c51 100644 --- a/python-glance-store.spec +++ b/python-glance-store.spec @@ -1,67 +1,203 @@ %global _empty_manifest_terminate_build 0 -Name: python-glance-store -Version: 2.3.0 -Release: 2%{?dist} -Summary: OpenStack Image Service Store Library -License: Apache-2.0 -URL: https://github.com/openstack/glance_store -Source0: https://tarballs.openstack.org/glance_store/glance_store-2.3.0.tar.gz -BuildArch: noarch - +Name: python-glance-store +Version: 0.23.0 +Release: 1 +Summary: OpenStack Image Service Store Library +License: Apache-2.0 +URL: http://docs.openstack.org/developer/glance_store +Source0: https://files.pythonhosted.org/packages/cd/39/f17ae0aeec09fd51c7b4bd5a293ddc2f6ed9bca4494b8a2c55b5bee89fee/glance_store-0.23.0.tar.gz +BuildArch: noarch %description -OpenStack image service store library -%package -n python3-glance-store -Summary: OpenStack Image Service Store Library -BuildRequires: git -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pbr -Requires: python3-eventlet -Requires: python3-cinderclient >= 4.1.0 -Requires: python3-keystoneauth1 >= 3.4.0 -Requires: python3-keystoneclient >= 1:3.8.0 -Requires: python3-requests -Requires: python3-six >= 1.10.0 -Requires: python3-stevedore >= 1.20.0 -Requires: python3-oslo-concurrency >= 3.26.0 -Requires: python3-oslo-config -Requires: python3-oslo-i18n >= 3.15.3 -Requires: python3-oslo-rootwrap -Requires: python3-oslo-serialization >= 2.18.0 -Requires: python3-oslo-utils >= 3.33.0 -Requires: python3-os-brick >= 2.6.0 -Requires: python3-oslo-privsep >= 1.23.0 -Requires: python3-jsonschema -%{?python_provide:%python_provide python3-glance-store} - -%description -n python3-glance-store -OpenStack image service store library +======================== +Team and repository tags +======================== + +.. image:: http://governance.openstack.org/badges/glance_store.svg + :target: http://governance.openstack.org/reference/tags/index.html + :alt: The following tags have been asserted for the Glance Store + Library: + "project:official", + "stable:follows-policy", + "vulnerability:managed", + "team:diverse-affiliation". + Follow the link for an explanation of these tags. +.. NOTE(rosmaita): the alt text above will have to be updated when + additional tags are asserted for glance_store. (The SVG in the + governance repo is updated automatically.) + +.. Change things from this point on + +Glance Store Library +==================== + +Glance's stores library + +This library has been extracted from the Glance source code for the +specific use of the Glance and Glare projects. + +The API it exposes is not stable, has some shortcomings, and is not a +general purpose interface. We would eventually like to change this, +but for now using this library outside of Glance or Glare will not be +supported by the core team. + +* License: Apache License, Version 2.0 +* Documentation: https://docs.openstack.org/glance_store/latest/ +* Source: http://git.openstack.org/cgit/openstack/glance_store +* Bugs: http://bugs.launchpad.net/glance-store + + + + +%package -n python2-glance-store +Summary: OpenStack Image Service Store Library +Provides: python-glance-store +BuildRequires: python2-devel +BuildRequires: python2-setuptools +Requires: python2-oslo-config +Requires: python2-oslo-i18n +Requires: python2-oslo-serialization +Requires: python2-oslo-utils +Requires: python2-oslo-concurrency +Requires: python2-stevedore +Requires: python2-eventlet +Requires: python2-six +Requires: python2-jsonschema +Requires: python2-keystoneauth1 +Requires: python2-keystoneclient +Requires: python2-requests +Requires: python2-enum34 +Requires: python2-cinderclient +Requires: python2-os-brick +Requires: python2-oslo-rootwrap +Requires: python2-oslo-privsep +Requires: python2-httplib2 +Requires: python2-swiftclient +Requires: python2-oslo-vmware +%description -n python2-glance-store +======================== +Team and repository tags +======================== + +.. image:: http://governance.openstack.org/badges/glance_store.svg + :target: http://governance.openstack.org/reference/tags/index.html + :alt: The following tags have been asserted for the Glance Store + Library: + "project:official", + "stable:follows-policy", + "vulnerability:managed", + "team:diverse-affiliation". + Follow the link for an explanation of these tags. +.. NOTE(rosmaita): the alt text above will have to be updated when + additional tags are asserted for glance_store. (The SVG in the + governance repo is updated automatically.) + +.. Change things from this point on + +Glance Store Library +==================== + +Glance's stores library + +This library has been extracted from the Glance source code for the +specific use of the Glance and Glare projects. + +The API it exposes is not stable, has some shortcomings, and is not a +general purpose interface. We would eventually like to change this, +but for now using this library outside of Glance or Glare will not be +supported by the core team. + +* License: Apache License, Version 2.0 +* Documentation: https://docs.openstack.org/glance_store/latest/ +* Source: http://git.openstack.org/cgit/openstack/glance_store +* Bugs: http://bugs.launchpad.net/glance-store + + + + +%package help +Summary: Development documents and examples for glance-store +Provides: python2-glance-store-doc +%description help +======================== +Team and repository tags +======================== + +.. image:: http://governance.openstack.org/badges/glance_store.svg + :target: http://governance.openstack.org/reference/tags/index.html + :alt: The following tags have been asserted for the Glance Store + Library: + "project:official", + "stable:follows-policy", + "vulnerability:managed", + "team:diverse-affiliation". + Follow the link for an explanation of these tags. +.. NOTE(rosmaita): the alt text above will have to be updated when + additional tags are asserted for glance_store. (The SVG in the + governance repo is updated automatically.) + +.. Change things from this point on + +Glance Store Library +==================== + +Glance's stores library + +This library has been extracted from the Glance source code for the +specific use of the Glance and Glare projects. + +The API it exposes is not stable, has some shortcomings, and is not a +general purpose interface. We would eventually like to change this, +but for now using this library outside of Glance or Glare will not be +supported by the core team. + +* License: Apache License, Version 2.0 +* Documentation: https://docs.openstack.org/glance_store/latest/ +* Source: http://git.openstack.org/cgit/openstack/glance_store +* Bugs: http://bugs.launchpad.net/glance-store + + + %prep -%autosetup -S git -n glance_store-2.3.0 +%autosetup -n glance_store-0.23.0 %build -%{py3_build} +%py2_build %install -%{py3_install} -ln -s ./glance-rootwrap %{buildroot}%{_bindir}/glance-rootwrap-3 -install -p -D -m 644 etc/glance/rootwrap.d/glance_cinder_store.filters %{buildroot}%{_datarootdir}/glance_store/glance_cinder_store.filters -rm -rf %{buildroot}%{_prefix}/etc/glance - -%files -n python3-glance-store -%doc AUTHORS ChangeLog -%license LICENSE -%{_bindir}/glance-rootwrap -%{_bindir}/glance-rootwrap-3 -%{_datarootdir}/glance_store -%{_datarootdir}/glance_store/*.filters -%{python3_sitelib}/glance_store -%{python3_sitelib}/glance_store-*.egg-info +%py2_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +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 . -%changelog -* Wed Oct 21 2020 Joel Capitao 2.3.0-2 -- Enable sources tarball validation using GPG signature. +%files -n python2-glance-store -f filelist.lst +%{python2_sitelib}/* -* Mon Sep 21 2020 RDO 2.3.0-1 -- Update to 2.3.0 +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 14 2021 openstack-sig +- Package Spec generated