From 452990e6f592f15b6e16dfa90c50875e5fa2b313824219dbbe06e0ca0b36ad29 Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 5 Sep 2012 18:52:41 +0000 Subject: [PATCH] Fix python3 spec file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=2 --- python3-joblib.spec | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/python3-joblib.spec b/python3-joblib.spec index 5ff9bb9..81aaa22 100644 --- a/python3-joblib.spec +++ b/python3-joblib.spec @@ -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 \ No newline at end of file