File python-mistral-lib.spec of Package python-mistral-lib
#
# spec file for package python-mistral-lib
#
# Copyright (c) 2024 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: python-mistral-lib
Version: 3.0.0
Release: 0
Summary: Mistral shared routings and utilities
License: Apache-2.0
Group: Development/Languages/Python
URL: https://docs.openstack.org/mistral-lib
Source0: https://files.pythonhosted.org/packages/source/m/mistral-lib/mistral-lib-3.0.0.tar.gz
BuildRequires: openstack-macros
BuildRequires: python3-eventlet
BuildRequires: python3-oslo.log
BuildRequires: python3-oslo.serialization
BuildRequires: python3-oslotest
BuildRequires: python3-stestr
BuildRequires: python3-testtools
BuildRequires: python3-yaql
BuildArch: noarch
%description
This library contains data types, exceptions, functions and
utilities common to Mistral, python-mistralclient and mistral-extra
repositories.
This library also contains the public interfaces for 3rd party integration
(e.g. Actions API, YAQL functions API, etc.)
%package -n python3-mistral-lib
Summary: Mistral shared routings and utilities
Requires: python3-eventlet
Requires: python3-oslo.log
Requires: python3-oslo.serialization
Requires: python3-pbr
Requires: python3-yaql
%description -n python3-mistral-lib
This library contains data types, exceptions, functions and
utilities common to Mistral, python-mistralclient and mistral-extra
repositories.
This library also contains the public interfaces for 3rd party integration
(e.g. Actions API, YAQL functions API, etc.)
This package contains the Python 3.x module.
%prep
%autosetup -p1 -n mistral-lib-%{version}
%py_req_cleanup
%build
%{py3_build}
%install
%{py3_install}
%check
%{openstack_stestr_run}
%files -n python3-mistral-lib
%license LICENSE
%doc README.rst ChangeLog
%{python3_sitelib}/mistral_lib
%{python3_sitelib}/*.egg-info
%changelog