forked from pool/python-joblib
Fix python3 spec file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=2
This commit is contained in:
@@ -24,9 +24,8 @@ Summary: Lightweight pipelining: using Python functions as pipeline jobs
|
||||
Url: http://packages.python.org/joblib/
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/j/%{modname}/%{modname}-%{version}.tar.gz
|
||||
BuildRequires: python3-2to3
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-distribute
|
||||
BuildRequires: python3-Sphinx
|
||||
Requires: python(abi) >= %{py3_ver}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
@@ -46,19 +45,11 @@ Joblib is optimized to be **fast** and **robust** in particular on large
|
||||
data and has specific optimizations for `numpy` arrays. It is
|
||||
**BSD-licensed**.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
|
||||
%description doc
|
||||
Documentation and help files for %{name}
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" python3 setup.py build
|
||||
CFLAGS="%{optflags}" python3 setup.py build_sphinx
|
||||
|
||||
%install
|
||||
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
@@ -68,9 +59,5 @@ python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%{python3_sitelib}/%{modname}-%{version}-py*.egg-info
|
||||
%{python3_sitelib}/%{modname}/
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc build/sphinx/html/
|
||||
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user