- Fix oslo.messaging deprecation of get_transport - Use https for *.openstack.org references - Added "warning-is-error" sphinx check for docs - Imported Translations from Zanata - Update reno for stable/ocata - Fix html_last_updated_fmt for Python3 - Pass located tests directory in oslo debug - add a log when the option in conf can't be identitied - Remove deprecated oslo.messaging aliases parameter - Replace six.iteritems() with .items() - Switch from oslosphinx to openstackdocstheme - Using assertFalse(A) instead of assertEqual(False, A) - Replace pycrypto with cryptography - Remove old comment referencing fixed bug - Fixed man_pages no value warning when making docs - Update URLs in documentation - Remove unused logging import - Change locations of docs for intersphinx - Bump the token deferral message from info to debug - Remove log translations - Removing double spaces - Redundant adminURL in test_gives_v2_catalog - Update driver config parameter from string to list - Updated from global requirements OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-keystonemiddleware?expand=0&rev=18
113 lines
3.7 KiB
RPMSpec
113 lines
3.7 KiB
RPMSpec
#
|
|
# spec file for package python-keystonemiddleware
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%global sname keystonemiddleware
|
|
Name: python-keystonemiddleware
|
|
Version: 4.17.0
|
|
Release: 0
|
|
Summary: Middleware for OpenStack Identity
|
|
License: Apache-2.0
|
|
Group: Development/Languages/Python
|
|
Url: https://launchpad.net/%{sname}
|
|
Source0: https://pypi.io/packages/source/k/%{sname}/%{sname}-%{version}.tar.gz
|
|
BuildRequires: openstack-macros
|
|
BuildRequires: python-WebOb >= 1.7.1
|
|
BuildRequires: python-WebTest >= 2.0
|
|
BuildRequires: python-fixtures >= 3.0.0
|
|
BuildRequires: python-keystoneauth1 >= 2.21.0
|
|
BuildRequires: python-keystoneclient >= 3.8.0
|
|
BuildRequires: python-mock >= 2.0
|
|
BuildRequires: python-oslo.config >= 4.0.0
|
|
BuildRequires: python-oslo.context >= 2.14.0
|
|
BuildRequires: python-oslo.i18n >= 2.1.0
|
|
BuildRequires: python-oslo.messaging >= 5.24.2
|
|
BuildRequires: python-oslo.serialization >= 1.10.0
|
|
BuildRequires: python-oslo.utils >= 3.20.0
|
|
BuildRequires: python-oslotest >= 1.10.0
|
|
BuildRequires: python-positional >= 1.1.1
|
|
BuildRequires: python-pycadf >= 1.1.0
|
|
BuildRequires: python-pycrypto >= 2.6
|
|
BuildRequires: python-python-memcached >= 1.56
|
|
BuildRequires: python-requests >= 2.14.2
|
|
BuildRequires: python-requests-mock >= 1.1
|
|
BuildRequires: python-six >= 1.9.0
|
|
BuildRequires: python-stevedore >= 1.20.0
|
|
BuildRequires: python-testrepository >= 0.0.18
|
|
BuildRequires: python-testresources >= 0.2.4
|
|
BuildRequires: python-testtools >= 1.4.0
|
|
Requires: python-WebOb >= 1.7.1
|
|
Requires: python-keystoneauth1 >= 2.21.0
|
|
Requires: python-keystoneclient >= 3.8.0
|
|
Requires: python-oslo.config >= 4.0.0
|
|
Requires: python-oslo.context >= 2.14.0
|
|
Requires: python-oslo.i18n >= 2.1.0
|
|
Requires: python-oslo.serialization >= 1.10.0
|
|
Requires: python-oslo.utils >= 3.20.0
|
|
Requires: python-positional >= 1.1.1
|
|
Requires: python-pycadf >= 1.1.0
|
|
Requires: python-requests >= 2.14.2
|
|
Requires: python-six >= 1.9.0
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
This package contains middleware modules designed to provide authentication
|
|
and authorization features to web services other than Keystone
|
|
The most prominent module is keystonemiddleware.auth_token. This package
|
|
does not expose any CLI or Python API features.
|
|
|
|
%package doc
|
|
Summary: Documentation for Middleware for OpenStack Identity
|
|
Group: Development/Languages/Python
|
|
BuildRequires: python-Sphinx
|
|
BuildRequires: python-openstackdocstheme >= 1.11.0
|
|
|
|
%description doc
|
|
Documentation for Middleware for OpenStack Identity.
|
|
|
|
%prep
|
|
%autosetup -p1 -n %{sname}-%{version}
|
|
%py_req_cleanup
|
|
sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
|
|
|
|
%build
|
|
%{py2_build}
|
|
|
|
%install
|
|
%{py2_install}
|
|
|
|
# generate html docs
|
|
%{__python2} setup.py build_sphinx
|
|
# remove the sphinx-build leftovers
|
|
rm -rf doc/build/html/.{doctrees,buildinfo}
|
|
|
|
%check
|
|
export PYTHONWARNINGS="ignore"
|
|
%{__python2} setup.py testr
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc ChangeLog README.rst
|
|
%{python2_sitelib}/%{sname}
|
|
%{python2_sitelib}/*.egg-info
|
|
|
|
%files doc
|
|
%doc doc/build/html
|
|
%license LICENSE
|
|
|
|
%changelog
|