Hello community,

here is the log from the commit of package python2-scipy for openSUSE:Factory 
checked in at 2019-05-22 10:52:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python2-scipy (Old)
 and      /work/SRC/openSUSE:Factory/.python2-scipy.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python2-scipy"

Wed May 22 10:52:50 2019 rev:2 rq:704535 version:1.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python2-scipy/python2-scipy.changes      
2019-05-20 13:17:14.655950605 +0200
+++ /work/SRC/openSUSE:Factory/.python2-scipy.new.5148/python2-scipy.changes    
2019-05-22 10:52:53.971260310 +0200
@@ -1,0 +2,5 @@
+Tue May 21 16:29:02 UTC 2019 - Todd R <toddrme2...@gmail.com>
+
+- Fix Provides
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python2-scipy.spec ++++++
--- /var/tmp/diff_new_pack.xEfa8G/_old  2019-05-22 10:52:55.099259277 +0200
+++ /var/tmp/diff_new_pack.xEfa8G/_new  2019-05-22 10:52:55.099259277 +0200
@@ -20,8 +20,6 @@
 
 %define _ver 1_2_1
 %define shortname scipy
-%define pname python2-%{shortname}
-
 %bcond_with ringdisabled
 
 %define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_')
@@ -61,6 +59,17 @@
  %define c_f_ver 7
 %endif
 
+# HPC macros automatically handle adding the python2-scipy provides.
+# If the pname is set to python2-scipy for hpc, we get
+# Provides: python22-scipy.  So use python-scipy for hpc to get
+# the correct provides
+%if %{without hpc}
+%define pname python2-%{shortname}
+%define old_pname python-%{shortname}
+%else
+%define pname python-%{shortname}
+%endif
+
 %if %{without hpc}
 %define package_name %{pname}
 %define p_python_sitearch %python_sitearch
@@ -122,6 +131,8 @@
 BuildRequires:  %{python_module numpy-devel >= 1.5.1}
 BuildRequires:  lapacke-devel
 Requires:       python-numpy >= 1.5.1
+Provides:       %{old_pname} = %{version}
+Obsoletes:      %{old_pname} < %{version}
 %else
 BuildRequires:  %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel >= 1.3
 BuildRequires:  %{python_module 
numpy%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc-devel}


Reply via email to