File python-monasca-common.spec of Package python-monasca-common

#
# spec file for package python-monasca-common
#
# Copyright (c) 2018 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 monasca-common
Name:           python-monasca-common
Version:        2.3.1~dev3
Release:        0
Summary:        Reusable code for building monitoring related services.
License:        Apache-2.0
Group:          Development/Languages/Python
Url:            https://wiki.openstack.org/wiki/Monasca
Source0:        monasca-common-stable-pike.tar.gz
BuildRequires:  openstack-macros
BuildRequires:  python-PyMySQL >= 0.7.6
BuildRequires:  python-kazoo >= 2.2
BuildRequires:  python-mock >= 2.0
BuildRequires:  python-mox >= 0.5.3
BuildRequires:  python-nose
BuildRequires:  python-oslo.config >= 4.0.0
BuildRequires:  python-oslotest >= 1.10.0
BuildRequires:  python-pbr >= 2.0.0
BuildRequires:  python-pyparsing >= 2.1.0
BuildRequires:  python-setuptools >= 16.0
BuildRequires:  python-six >= 1.9.0
BuildRequires:  python-ujson >= 1.35
Requires:       python-PyMySQL >= 0.7.6
Requires:       python-kazoo >= 2.2
Requires:       python-oslo.config >= 4.0.0
Requires:       python-pyparsing >= 2.1.0
Requires:       python-six >= 1.9.0
Requires:       python-ujson >= 1.35
BuildArch:      noarch

%description
Collection of sub-projects containing reusable application and
platform code for building monitoring related services.

%prep
%autosetup -n %{sname}-2.3.1.dev3
%py_req_cleanup

%build
%{py2_build}

%install
%{py2_install}

%check
nosetests monasca_common --verbose

%files
%license LICENSE
%doc README.md ChangeLog
%{python2_sitelib}/monasca_common
%{python2_sitelib}/*.egg-info

%changelog
openSUSE Build Service is sponsored by