File python-python-jenkins.spec of Package python-python-jenkins

#
# spec file for package python-python-jenkins
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2014 Thomas Bechtold <thomasbechtold@jpberlin.de>
#
# 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/
#


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:           python-python-jenkins
Version:        0.4.14
Release:        0
Summary:        Python bindings for the remote Jenkins API
License:        BSD-3-Clause
Group:          Development/Languages/Python
Url:            http://launchpad.net/python-jenkins
Source:         https://pypi.io/packages/source/p/python-jenkins/python-jenkins-%{version}.tar.gz
BuildRequires:  %{python_module devel}
BuildRequires:  %{python_module pbr}
BuildArch:      noarch
Requires:       python-multi_key_dict
Requires:       python-setuptools
Requires:       python-six >= 1.3.0
Provides:       python-jenkins = %{version}
Obsoletes:      python-jenkins <= 0.4.12
%python_subpackages

%description
This package provides Python bindings for the Jenkins Remote
API. It current supports management of:
 * Project configuration
 * Build control
 * Slave node configuration

%prep
%setup -q -n python-jenkins-%{version}

%build
%python_build

%install
%python_install

%files %{python_files}
%defattr(-,root,root,-)
%doc COPYING README.rst
%{python_sitelib}/*

%changelog
openSUSE Build Service is sponsored by