forked from pool/python-joblib
Accepting request 154986 from home:posophe:branches:devel:languages:python
Update OBS-URL: https://build.opensuse.org/request/show/154986 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
57a110663b
commit
6227b4eef5
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-joblib
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
%define modname joblib
|
||||
Name: python-%{modname}
|
||||
Version: 0.6.4
|
||||
Version: 0.7.0d
|
||||
Release: 0
|
||||
License: BSD-3-Clause
|
||||
Summary: Lightweight pipelining: using Python functions as pipeline jobs
|
||||
@@ -27,7 +27,6 @@ Source: http://pypi.python.org/packages/source/j/%{modname}/%{modname}-%
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-distribute
|
||||
BuildRequires: python-Sphinx
|
||||
Requires: python(abi) >= %{py_ver}
|
||||
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()")}
|
||||
@@ -62,8 +61,10 @@ Documentation and help files for %{name}
|
||||
%setup -q -n %{modname}-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" python setup.py build
|
||||
CFLAGS="%{optflags}" python setup.py build_sphinx
|
||||
python setup.py build
|
||||
python setup.py build_sphinx
|
||||
# Remove hidden file
|
||||
rm -r build/sphinx/html/.buildinfo
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
@@ -77,5 +78,4 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%defattr(-,root,root,-)
|
||||
%doc build/sphinx/html/
|
||||
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user