!11 upgrade keystonemiddleware to 9.2.0
From: @li-mingzhou Reviewed-by: Signed-off-by:
This commit is contained in:
commit
f934ab91ec
Binary file not shown.
BIN
keystonemiddleware-9.2.0.tar.gz
Normal file
BIN
keystonemiddleware-9.2.0.tar.gz
Normal file
Binary file not shown.
@ -1,109 +1,113 @@
|
||||
%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
|
||||
%global with_doc 1
|
||||
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-keystonemiddleware
|
||||
Version: 9.1.0
|
||||
Release: 2
|
||||
Version: 9.2.0
|
||||
Release: 1
|
||||
Summary: Middleware for OpenStack Identity
|
||||
License: Apache-2.0
|
||||
URL: http://launchpad.net/keystonemiddleware
|
||||
URL: https://docs.openstack.org/keystonemiddleware/latest/
|
||||
Source0: https://tarballs.openstack.org/keystonemiddleware/keystonemiddleware-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: git
|
||||
BuildRequires: openstack-macros
|
||||
|
||||
%description
|
||||
Middleware for the OpenStack Identity API.
|
||||
OpenStack Identity API (Keystone) This package contains middleware modules
|
||||
designed to provide authentication and authorization features to web services
|
||||
|
||||
%package -n python3-keystonemiddleware
|
||||
Summary: Middleware for OpenStack Identity
|
||||
%{?python_provide:%python_provide python3-keystonemiddleware}
|
||||
|
||||
|
||||
Provides: python-keystonemiddleware
|
||||
# Base build requires
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pbr
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-oslo-config
|
||||
BuildRequires: python3-oslo-log
|
||||
BuildRequires: python3-wheel
|
||||
# General requires
|
||||
BuildRequires: python3-webob
|
||||
BuildRequires: python3-keystoneauth1
|
||||
BuildRequires: python3-keystoneclient
|
||||
BuildRequires: python3-oslo-cache
|
||||
|
||||
Requires: python3-keystoneclient >= 1:3.20.0
|
||||
Requires: python3-keystoneauth1 >= 3.12.0
|
||||
Requires: python3-oslo-config
|
||||
Requires: python3-oslo-context
|
||||
Requires: python3-oslo-i18n >= 3.15.3
|
||||
Requires: python3-oslo-log >= 3.36.0
|
||||
Requires: python3-oslo-serialization >= 2.18.0
|
||||
Requires: python3-oslo-utils >= 3.33.0
|
||||
Requires: python3-pbr >= 2.0.0
|
||||
Requires: python3-pycadf >= 1.1.0
|
||||
Requires: python3-requests >= 2.14.2
|
||||
Requires: python3-six >= 1.10.0
|
||||
Requires: python3-oslo-cache >= 1.26.0
|
||||
Requires: python3-webob >= 1.7.1
|
||||
BuildRequires: python3-oslo-config
|
||||
BuildRequires: python3-oslo-context
|
||||
BuildRequires: python3-oslo-i18n
|
||||
BuildRequires: python3-oslo-log
|
||||
BuildRequires: python3-oslo-serialization
|
||||
BuildRequires: python3-oslo-utils
|
||||
BuildRequires: python3-pycadf
|
||||
BuildRequires: python3-keystoneclient
|
||||
BuildRequires: python3-requests
|
||||
BuildRequires: python3-six
|
||||
BuildRequires: python3-oslo-messaging
|
||||
# Tests running requires
|
||||
BuildRequires: python3-webtest
|
||||
BuildRequires: python3-bandit
|
||||
BuildRequires: python3-coverage
|
||||
BuildRequires: python3-cryptography
|
||||
BuildRequires: python3-fixtures
|
||||
BuildRequires: python3-flake8-docstrings
|
||||
BuildRequires: python3-hacking
|
||||
BuildRequires: python3-oslo-messaging
|
||||
BuildRequires: python3-oslotest
|
||||
BuildRequires: python3-memcached
|
||||
BuildRequires: python3-requests-mock
|
||||
BuildRequires: python3-stestr
|
||||
BuildRequires: python3-stevedore
|
||||
BuildRequires: python3-testresources
|
||||
BuildRequires: python3-testtools
|
||||
|
||||
%description -n python3-keystonemiddleware
|
||||
Middleware for the OpenStack Identity API.
|
||||
|
||||
%if 0%{?with_doc}
|
||||
%package -n python-keystonemiddleware-doc
|
||||
Summary: Documentation for the Middleware for OpenStack Identity
|
||||
Group: Documentation
|
||||
|
||||
BuildRequires: python3-sphinx
|
||||
BuildRequires: python3-openstackdocstheme
|
||||
BuildRequires: python3-pycadf
|
||||
BuildRequires: python3-oslotest
|
||||
BuildRequires: python3-oslo-messaging
|
||||
BuildRequires: python3-sphinxcontrib-apidoc
|
||||
BuildRequires: python3-sphinxcontrib-svg2pdfconverter
|
||||
BuildRequires: python3-requests-mock
|
||||
BuildRequires: python3-testresources
|
||||
BuildRequires: python3-webtest
|
||||
|
||||
%description -n python-keystonemiddleware-doc
|
||||
Documentation for the Middleware for OpenStack Identity
|
||||
%endif
|
||||
|
||||
%package help
|
||||
Summary: Middleware for OpenStack Identity
|
||||
Provides: python3-keystonemiddleware-doc
|
||||
%description help
|
||||
OpenStack Identity API (Keystone) This package contains middleware modules
|
||||
designed to provide authentication and authorization features to web services
|
||||
|
||||
%prep
|
||||
%autosetup -n keystonemiddleware-%{upstream_version} -S git
|
||||
%py_req_cleanup
|
||||
rm -rf keystonemiddleware.egg-info
|
||||
|
||||
sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
|
||||
%autosetup -n keystonemiddleware-%{version} -p1
|
||||
|
||||
%build
|
||||
%{py3_build}
|
||||
|
||||
%if 0%{?with_doc}
|
||||
sphinx-build-3 -b html doc/source doc/build/html
|
||||
rm -rf doc/build/html/.{doctrees,buildinfo}
|
||||
%endif
|
||||
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%{py3_install}
|
||||
rm -r %{buildroot}%{python3_sitelib}/keystonemiddleware/tests
|
||||
%py3_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 .
|
||||
|
||||
|
||||
%files -n python3-keystonemiddleware
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python3_sitelib}/keystonemiddleware
|
||||
%{python3_sitelib}/keystonemiddleware-*.egg-info
|
||||
%files -n python3-keystonemiddleware -f filelist.lst
|
||||
|
||||
%if 0%{?with_doc}
|
||||
%files -n python-keystonemiddleware-doc
|
||||
%doc doc/build/html LICENSE
|
||||
%endif
|
||||
%dir %{python3_sitelib}/*
|
||||
|
||||
%files help -f doclist.lst
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Sat Jul 17 2021 OpenStack_SIG <openstack@openeuler.org>
|
||||
- Upgrade to 9.2.0
|
||||
|
||||
* Thu Jan 07 2021 Python_Bot <Python_Bot@openeuler.org>
|
||||
- Package Spec generated
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user