forked from pool/python-retrying
Accepting request 518041 from devel:languages:python
- convert to singlespec (forwarded request 518040 from tbechtold) OBS-URL: https://build.opensuse.org/request/show/518041 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-retrying?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 22 06:13:42 UTC 2017 - tbechtold@suse.com
|
||||||
|
|
||||||
|
- convert to singlespec
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 7 15:37:09 UTC 2015 - tbechtold@suse.com
|
Wed Jan 7 15:37:09 UTC 2015 - tbechtold@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-retrying
|
# spec file for package python-retrying
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-retrying
|
Name: python-retrying
|
||||||
Version: 1.3.3
|
Version: 1.3.3
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -24,14 +25,13 @@ License: Apache-2.0
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/rholder/retrying
|
Url: https://github.com/rholder/retrying
|
||||||
Source: https://pypi.python.org/packages/source/r/retrying/retrying-%{version}.tar.gz
|
Source: https://pypi.python.org/packages/source/r/retrying/retrying-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-six >= 1.7.0
|
Requires: python-six >= 1.7.0
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Retrying is an Apache 2.0 licensed general-purpose retrying library, written in
|
Retrying is an Apache 2.0 licensed general-purpose retrying library, written in
|
||||||
@@ -41,12 +41,12 @@ Python, to simplify the task of adding retry behavior to just about anything.
|
|||||||
%setup -q -n retrying-%{version}
|
%setup -q -n retrying-%{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 AUTHORS.rst LICENSE README.rst
|
%doc AUTHORS.rst LICENSE README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
Reference in New Issue
Block a user