File python-keystone-json-assignment.spec of Package python-keystone-json-assignment

# spec file for package python-keystone-json-assignment
# Copyright (c) 2019 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

%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:           python-keystone-json-assignment
Version:        0.0.4
Release:        0
Summary:        JSON Backend for the Keystone Assignment Driver
License:        Apache-2.0
Group:          Development/Languages/Python
Source:         keystone-json-assignment-%{version}.tar.gz
BuildRequires:  %{python_module PyYAML}
BuildRequires:  %{python_module devel}
BuildRequires:  %{python_module setuptools}
BuildRequires:  python-rpm-macros
Requires:       python-PyYAML
Requires:       python-oslo.config
Requires:       python-oslo.log
BuildArch:      noarch

This assignment backend inherits from the standard SQL backend and adds
user-project assignments for LDAP users using a JSON mapping found at
/etc/keystone/user-project-map.json. This is based on the
`hybrid_json_assignment driver for SUSE OpenStack Cloud 6

%setup -q -n keystone-json-assignment-%{version}



# need fixes
# python_exec test

%files %{python_files}
%doc README.rst
%license LICENSE

openSUSE Build Service is sponsored by