update to 4.2.0
This commit is contained in:
parent
42ab8569d7
commit
dd09a4b184
Binary file not shown.
BIN
python-keystoneclient-4.2.0.tar.gz
Normal file
BIN
python-keystoneclient-4.2.0.tar.gz
Normal file
Binary file not shown.
@ -1,135 +1,105 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
|
||||
%global with_doc 1
|
||||
|
||||
Name: python-keystoneclient
|
||||
Epoch: 1
|
||||
Version: 4.1.1
|
||||
Release: 2%{?dist}
|
||||
Summary: Client library for OpenStack Identity API
|
||||
License: Apache-2.0
|
||||
URL: https://launchpad.net/python-keystoneclient
|
||||
Source0: https://tarballs.openstack.org/python-keystoneclient/python-keystoneclient-4.1.1.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
|
||||
Name: python-keystoneclient
|
||||
Version: 4.2.0
|
||||
Release: 1
|
||||
Summary: Client Library for OpenStack Identity
|
||||
License: Apache-2.0
|
||||
URL: https://docs.openstack.org/python-keystoneclient/latest/
|
||||
Source0: https://tarballs.openstack.org/python-keystoneclient/python-keystoneclient-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
%description
|
||||
Client library and command line utility for interacting with Openstack Identity API.
|
||||
This is a client for the OpenStack Identity API, implemented by the Keystone team; it contains a Python API (the
|
||||
keystoneclient module) for OpenStack's Identity Service.
|
||||
|
||||
%package -n python3-keystoneclient
|
||||
Summary: Client library for OpenStack Identity API
|
||||
%{?python_provide:%python_provide python3-keystoneclient}
|
||||
Obsoletes: python2-keystoneclient < 4.1.1-2
|
||||
|
||||
BuildRequires: openstack-macros
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pbr >= 2.0.0
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: git
|
||||
|
||||
Requires: python3-oslo-config
|
||||
Requires: python3-oslo-i18n >= 3.15.3
|
||||
Requires: python3-oslo-serialization >= 2.18.0
|
||||
Requires: python3-oslo-utils >= 3.33.0
|
||||
Requires: python3-requests >= 2.14.2
|
||||
Requires: python3-six >= 1.10.0
|
||||
Requires: python3-stevedore >= 1.20.0
|
||||
Requires: python3-pbr >= 2.0.0
|
||||
Requires: python3-debtcollector >= 1.2.0
|
||||
Requires: python3-keystoneauth1 >= 3.4.0
|
||||
Requires: python3-keyring >= 5.5.1
|
||||
|
||||
%description -n python3-keystoneclient
|
||||
Client library and command line utility for interacting with Openstack Identity API.
|
||||
|
||||
%package -n python3-keystoneclient-tests
|
||||
Summary: Python API and CLI for OpenStack Keystone (tests)
|
||||
%{?python_provide:%python_provide python3-keystoneclient-tests}
|
||||
Requires: python3-keystoneclient = 4.1.1-2
|
||||
|
||||
BuildRequires: python3-hacking
|
||||
BuildRequires: python3-fixtures
|
||||
BuildRequires: python3-mock
|
||||
BuildRequires: python3-oauthlib
|
||||
BuildRequires: python3-oslotest
|
||||
BuildRequires: python3-testtools
|
||||
Summary: Client Library for OpenStack Identity
|
||||
Provides: python-keystoneclient
|
||||
# Base build requires
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pbr
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
# General requires
|
||||
BuildRequires: python3-debtcollector
|
||||
BuildRequires: python3-keystoneauth1
|
||||
BuildRequires: python3-oslo-config
|
||||
BuildRequires: python3-oslo-utils
|
||||
BuildRequires: python3-oslo-serialization
|
||||
BuildRequires: python3-oslo-i18n
|
||||
BuildRequires: python3-stestr
|
||||
BuildRequires: python3-testresources
|
||||
BuildRequires: python3-testscenarios
|
||||
BuildRequires: python3-requests-mock
|
||||
BuildRequires: python3-keyring >= 5.5.1
|
||||
BuildRequires: python3-lxml
|
||||
BuildRequires: python3-oslo-serialization
|
||||
BuildRequires: python3-oslo-utils
|
||||
BuildRequires: python3-requests
|
||||
BuildRequires: python3-six
|
||||
BuildRequires: python3-stevedore
|
||||
# General requires
|
||||
Requires: python3-debtcollector
|
||||
Requires: python3-keystoneauth1
|
||||
Requires: python3-oslo-config
|
||||
Requires: python3-oslo-i18n
|
||||
Requires: python3-oslo-serialization
|
||||
Requires: python3-oslo-utils
|
||||
Requires: python3-pbr
|
||||
Requires: python3-requests
|
||||
Requires: python3-six
|
||||
Requires: python3-stevedore
|
||||
%description -n python3-keystoneclient
|
||||
This is a client for the OpenStack Identity API, implemented by the Keystone team; it contains a Python API (the
|
||||
keystoneclient module) for OpenStack's Identity Service.
|
||||
|
||||
Requires: python3-hacking
|
||||
Requires: python3-fixtures
|
||||
Requires: python3-mock
|
||||
Requires: python3-oauthlib
|
||||
Requires: python3-oslotest
|
||||
Requires: python3-stestr
|
||||
Requires: python3-testtools
|
||||
Requires: python3-testresources
|
||||
Requires: python3-testscenarios
|
||||
Requires: python3-requests-mock
|
||||
Requires: python3-lxml
|
||||
|
||||
%description -n python3-keystoneclient-tests
|
||||
Client library and command line utility for interacting with Openstack Identity API.
|
||||
|
||||
%if 0%{?with_doc}
|
||||
%package -n python-keystoneclient-doc
|
||||
Summary: Documentation for OpenStack Keystone API client
|
||||
|
||||
BuildRequires: python3-sphinx
|
||||
BuildRequires: python3-sphinxcontrib-apidoc
|
||||
BuildRequires: python3-openstackdocstheme
|
||||
|
||||
%description -n python-keystoneclient-doc
|
||||
Client library and command line utility for interacting with Openstack Identity API.
|
||||
%endif
|
||||
%package help
|
||||
Summary: Client Library for OpenStack Identity
|
||||
Provides: python3-keystoneclient-doc
|
||||
%description help
|
||||
This is a client for the OpenStack Identity API, implemented by the Keystone team; it contains a Python API (the
|
||||
keystoneclient module) for OpenStack's Identity Service.
|
||||
|
||||
%prep
|
||||
%autosetup -n python-keystoneclient-4.1.1 -S git
|
||||
sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
|
||||
%autosetup -n python-keystoneclient-%{version}
|
||||
rm -rf {test-,}requirements.txt
|
||||
|
||||
%build
|
||||
%{py3_build}
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%{py3_install}
|
||||
%py3_install
|
||||
|
||||
%if 0%{?with_doc}
|
||||
sphinx-build -b html doc/source doc/build/html
|
||||
rm -fr doc/build/html/objects.inv
|
||||
rm -fr doc/build/html/.{doctrees,buildinfo}
|
||||
%endif
|
||||
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 .
|
||||
|
||||
%check
|
||||
PYTHON=%{__python3} stestr --test-path=./keystoneclient/tests/unit run
|
||||
|
||||
%files -n python3-keystoneclient
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/keystoneclient
|
||||
%{python3_sitelib}/*.egg-info
|
||||
%exclude %{python3_sitelib}/keystoneclient/tests
|
||||
%files -n python3-keystoneclient -f filelist.lst
|
||||
|
||||
%dir %{python3_sitelib}/*
|
||||
|
||||
%files help -f doclist.lst
|
||||
%{_docdir}/*
|
||||
|
||||
%if 0%{?with_doc}
|
||||
%files -n python-keystoneclient-doc
|
||||
%doc doc/build/html
|
||||
%license LICENSE
|
||||
%endif
|
||||
|
||||
%files -n python3-keystoneclient-tests
|
||||
%license LICENSE
|
||||
%{python3_sitelib}/keystoneclient/tests
|
||||
|
||||
%changelog
|
||||
* Sun Jul 25 2021 OpenStack_SIG <openstack@openeuler.org> - 4.2.0-1
|
||||
- update to 4.2.0
|
||||
|
||||
* Thu Jan 21 2021 Python_Bot <Python_Bot@openeuler.org>
|
||||
- Package Spec generated
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user