sergiopr pushed to python-scikit-learn (f22). "Readd provides filter (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Apr 9 23:05:11 UTC 2015


>From 445c8eaaa14813b07aadaa8aa40fc4b4a4611490 Mon Sep 17 00:00:00 2001
From: Sergio Pascual <sergiopr at fis.ucm.es>
Date: Thu, 9 Apr 2015 17:59:52 +0200
Subject: Readd provides filter

- Increase joblib minimum version
- New upstream (0.16.0)

diff --git a/python-scikit-learn.spec b/python-scikit-learn.spec
index faca91b..13fb46c 100644
--- a/python-scikit-learn.spec
+++ b/python-scikit-learn.spec
@@ -3,7 +3,7 @@
 
 Name: python-scikit-learn
 Version: 0.16.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: Machine learning in Python
 License: BSD
 
@@ -15,11 +15,14 @@ Patch0: sklearn-unbundle-joblib.patch
 
 BuildRequires: python2-devel 
 BuildRequires: numpy scipy python-nose python-matplotlib
-BuildRequires: python-joblib >= 0.8.2
+BuildRequires: python-joblib >= 0.8.4
 BuildRequires: python-six >= 1.4.1
 BuildRequires: atlas-devel blas-devel
 BuildRequires: Cython python-pillow
-Requires: numpy scipy python-joblib >= 0.8.2
+Requires: numpy scipy python-joblib >= 0.8.4
+
+# we don't want to provide private python extension libs
+%global __provides_exclude_from ^(%{python2_sitearch}|%{python3_sitearch})/.*\\.so$
 
 %description
 Scikit-learn integrates machine learning algorithms in the tightly-knit 
@@ -33,11 +36,11 @@ efficient, accessible to everybody, and reusable in various contexts.
 Summary: Machine learning in Python
 BuildRequires: python3-devel python3-nose
 BuildRequires: python3-numpy python3-scipy python3-matplotlib
-BuildRequires: python3-joblib >= 0.8.2
+BuildRequires: python3-joblib >= 0.8.4
 BuildRequires: python3-six >= 1.4.1
 BuildRequires: atlas-devel blas-devel
 BuildRequires: python3-Cython python3-pillow
-Requires: python3-numpy python3-scipy python3-joblib >= 0.8.2
+Requires: python3-numpy python3-scipy python3-joblib >= 0.8.4
 
 %description -n python3-%{upname}
 Scikit-learn integrates machine learning algorithms in the tightly-knit 
@@ -64,7 +67,8 @@ cp %{SOURCE2} sklearn/externals/joblib.py
 # Remove the source code of the bundled blas library
 rm -rf sklearn/src/cblas/*
 
-#chmod -x examples/decomposition/plot_pca_vs_fa_model_selection.py 
+chmod -x examples/decomposition/plot_pca_vs_fa_model_selection.py 
+sed -i -e "1d" examples/decomposition/plot_pca_vs_fa_model_selection.py
 
 find -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python2}|'
 
@@ -120,7 +124,9 @@ popd
 %endif # with_python3
 
 %changelog
-* Thu Apr 09 2015 Sergio Pascual <sergiopr at fedoraproject.org> - 0.16.0-1
+* Thu Apr 09 2015 Sergio Pascual <sergiopr at fedoraproject.org> - 0.16.0-2
+- Readd provides filter
+- Increase joblib minimum version
 - New upstream (0.16.0)
 
 * Tue Sep 16 2014 Sergio Pascual <sergiopr at fedoraproject.org> - 0.15.2-2
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-scikit-learn.git/commit/?h=f22&id=445c8eaaa14813b07aadaa8aa40fc4b4a4611490


More information about the scm-commits mailing list