Hello community, here is the log from the commit of package python-numpy for openSUSE:Factory checked in at 2017-06-20 11:00:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-numpy (Old) and /work/SRC/openSUSE:Factory/.python-numpy.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-numpy" Tue Jun 20 11:00:48 2017 rev:54 rq:503339 version:1.12.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-numpy/python-numpy.changes 2017-04-19 18:08:24.110414395 +0200 +++ /work/SRC/openSUSE:Factory/.python-numpy.new/python-numpy.changes 2017-06-20 11:01:13.552525506 +0200 @@ -1,0 +2,5 @@ +Tue Jun 6 08:15:54 UTC 2017 - [email protected] + +- allow building numpy on fedora by making fdupes dependency optional + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-numpy-doc.spec ++++++ --- /var/tmp/diff_new_pack.ENZ4BI/_old 2017-06-20 11:01:14.440400353 +0200 +++ /var/tmp/diff_new_pack.ENZ4BI/_new 2017-06-20 11:01:14.444399789 +0200 @@ -36,7 +36,9 @@ BuildRequires: python3-setuptools BuildRequires: zip BuildRequires: unzip +%if 0%{?suse_version} BuildRequires: fdupes +%endif Provides: python2-numpy-doc = %{version} Provides: python3-numpy-doc = %{version} Provides: python2-numpy-doc-html = %{version} @@ -84,7 +86,9 @@ # install the documentation mkdir -p %{buildroot}%{_docdir}/python-numpy/ cp -r doc/build/html %{buildroot}%{_docdir}/python-numpy/ +%if 0%{?suse_version} %fdupes %{buildroot}%{_docdir}/python-numpy/html/ +%endif %files ++++++ python-numpy.spec ++++++ --- /var/tmp/diff_new_pack.ENZ4BI/_old 2017-06-20 11:01:14.468396406 +0200 +++ /var/tmp/diff_new_pack.ENZ4BI/_new 2017-06-20 11:01:14.472395843 +0200 @@ -53,8 +53,14 @@ # PATCH-FIX-OPENSUSE numpy-1.9.0-remove-__declspec.patch -- fix for spurious compiler warnings that cause build failure Patch1: numpy-1.9.0-remove-__declspec.patch BuildRequires: blas-devel +%if 0%{?suse_version} BuildRequires: fdupes +%endif +%if 0%{?suse_version} BuildRequires: gcc-fortran +%else +BuildRequires: gcc-gfortran +%endif BuildRequires: lapack-devel BuildRequires: unzip BuildRequires: python-rpm-macros @@ -86,7 +92,11 @@ Group: Development/Libraries/Python Requires: %{name} = %{version} Requires: blas-devel -Requires: gcc-fortran +%if 0%{?suse_version} +BuildRequires: gcc-fortran +%else +BuildRequires: gcc-gfortran +%endif Requires: lapack-devel Requires: python-devel %if %{with openblas} @@ -113,7 +123,9 @@ %install %python_exec setup.py install --prefix=%{_prefix} --root=%{buildroot} %python_expand rm -rf %{buildroot}%{$python_sitearch}/numpy/{,core,distutils,f2py,fft,lib,linalg,ma,matrixlib,oldnumeric,polynomial,random,testing}/tests # Don't package testsuite +%if 0%{?suse_version} %fdupes %{buildroot}%{prefix} +%endif %files %{python_files}
