- Fix the build again

- Fix the fdupes call
- Update version to 3.5.0.5:
  * Various small bugfixes all around

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-billiard?expand=0&rev=31
This commit is contained in:
Tomáš Chvátal 2018-12-06 11:17:36 +00:00 committed by Git OBS Bridge
parent ee26b351bf
commit a6b918c0de
4 changed files with 25 additions and 26 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3eb01a8fe44116aa6d63d2010515ef1526e40caee5f766f75b2d28393332dcaa
size 157299

3
billiard-3.5.0.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:42d9a227401ac4fba892918bba0a0c409def5435c4b483267ebfe821afaaba0e
size 150031

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Dec 6 11:17:08 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
- Fix the build again
- Fix the fdupes call
- Update version to 3.5.0.5:
* Various small bugfixes all around
-------------------------------------------------------------------
Tue Dec 4 12:46:06 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@ -18,33 +18,31 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-billiard
Version: 3.5.0.2
Version: 3.5.0.5
Release: 0
Url: https://github.com/celery/billiard
Summary: Python multiprocessing fork
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/celery/billiard
Source: https://files.pythonhosted.org/packages/source/b/billiard/billiard-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{python_module case >= 1.3.1}
BuildRequires: %{python_module pytest >= 3.0}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# Documentation requirements (only python3 needed):
BuildRequires: python2-devel
# Documentation requirements
BuildRequires: python3-Sphinx >= 0.5
# Test requirements:
BuildRequires: %{python_module case >= 1.3.1}
BuildRequires: %{python_module pytest >= 3.0}
Suggests: %name-doc = %version
Suggests: %{name}-doc = %{version}
%ifpython3
BuildArch: noarch
%endif
%package -n %{name}-doc
Summary: Documentation for %name
Summary: Documentation for %{name}
Group: Development/Languages/Python
Provides: %{python_module billiard-doc = %{version}}
BuildArch: noarch
%python_subpackages
%description
@ -54,7 +52,7 @@ pyprocessing package. This standalone variant is intended to be compatible with
Python 2.4 and 2.5, and will draw it's fixes/improvements from python-trunk.
%description -n %{name}-doc
Documentation and help files for %name.
Documentation and help files for %{name}.
%prep
%setup -q -n billiard-%{version}
@ -68,24 +66,17 @@ popd
%install
%python_install
%fdupes %buildroot/%_prefix
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%python_exec setup.py test
%files %{python_files}
%defattr(-,root,root,-)
%files %{python_files}
%doc CHANGES.txt README.rst
%if 0%{?leap_version} >= 420200 || 0%{?suse_version} > 1320
%license LICENSE.txt
%else
%doc LICENSE.txt
%endif
%ifpython2
%{python_sitearch}/*
%else
%{python_sitelib}/*
%endif
%python3_only %{python_sitelib}/*
%python2_only %{python_sitearch}/*
%files -n %{name}-doc
%doc Doc/html