forked from pool/python-python-jenkins
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:
@@ -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
|
Fri Apr 28 10:43:13 UTC 2017 - tbechtold@suse.com
|
||||||
|
|
||||||
|
@@ -17,6 +17,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-python-jenkins
|
Name: python-python-jenkins
|
||||||
Version: 0.4.14
|
Version: 0.4.14
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -25,19 +26,15 @@ License: BSD-3-Clause
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://launchpad.net/python-jenkins
|
Url: http://launchpad.net/python-jenkins
|
||||||
Source: https://pypi.io/packages/source/p/python-jenkins/python-jenkins-%{version}.tar.gz
|
Source: https://pypi.io/packages/source/p/python-jenkins/python-jenkins-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: python-pbr
|
BuildRequires: %{python_module 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
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
|
||||||
Requires: python-multi_key_dict
|
Requires: python-multi_key_dict
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
Requires: python-six >= 1.3.0
|
Requires: python-six >= 1.3.0
|
||||||
Provides: python-jenkins = %{version}
|
Provides: python-jenkins = %{version}
|
||||||
Obsoletes: python-jenkins <= 0.4.12
|
Obsoletes: python-jenkins <= 0.4.12
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package provides Python bindings for the Jenkins Remote
|
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}
|
%setup -q -n python-jenkins-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING README.rst
|
%doc COPYING README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
Reference in New Issue
Block a user