14
0

Accepting request 528632 from devel:languages:python

- convert to singlespec

OBS-URL: https://build.opensuse.org/request/show/528632
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-jenkins?expand=0&rev=4
This commit is contained in:
2017-09-26 19:15:53 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 10 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 25 12:39:24 UTC 2017 - dmueller@suse.com
- convert to singlespec
-------------------------------------------------------------------
Fri Apr 28 10:43:13 UTC 2017 - tbechtold@suse.com

View File

@@ -17,6 +17,7 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-python-jenkins
Version: 0.4.14
Release: 0
@@ -25,19 +26,15 @@ 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-devel
BuildRequires: python-pbr
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pbr}
BuildArch: noarch
%endif
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
@@ -50,12 +47,12 @@ API. It current supports management of:
%setup -q -n python-jenkins-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%files
%files %{python_files}
%defattr(-,root,root,-)
%doc COPYING README.rst
%{python_sitelib}/*