Hello community, here is the log from the commit of package tensorflow for openSUSE:Leap:15.2 checked in at 2020-03-06 12:38:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/tensorflow (Old) and /work/SRC/openSUSE:Leap:15.2/.tensorflow.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tensorflow" Fri Mar 6 12:38:53 2020 rev:2 rq:780774 version:1.13.2 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/tensorflow/tensorflow.changes 2020-02-09 11:24:59.499284361 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.tensorflow.new.26092/tensorflow.changes 2020-03-06 12:40:45.922738532 +0100 @@ -1,0 +2,12 @@ +Thu Feb 13 19:36:59 UTC 2020 - Guillaume GARDET <[email protected]> + +- Add 'Provides' only for hpc flavors, otherwise it matches the + package name + +------------------------------------------------------------------- +Thu Feb 13 12:42:22 UTC 2020 - Guillaume GARDET <[email protected]> + +- Add provides/conflicts to avoid to install tensorflow and + tensorflow2 as some files are provided by both packages + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tensorflow.spec ++++++ --- /var/tmp/diff_new_pack.kYTn5L/_old 2020-03-06 12:40:47.682739602 +0100 +++ /var/tmp/diff_new_pack.kYTn5L/_new 2020-03-06 12:40:47.686739604 +0100 @@ -127,6 +127,8 @@ %{?with_mpi:%global hpc_module_pname p%{pname}} %define python_flavor python3 %define package_name %{hpc_package_name %_vers} +%define package_name_provide tensorflow%{hpc_package_name_tail} +%define package_name_conflict tensorflow2%{hpc_package_name_tail} %define libname(l:s:) lib%{pname}%{-l*}%{hpc_package_name_tail %{?_vers}} %define package_python_sitearch %hpc_python_sitearch %define package_python_sitelib %{hpc_prefix}/lib64/%{python_ver_hack}/site-packages/ @@ -135,6 +137,7 @@ %define package_libdir %hpc_libdir %else %define package_name %pname%{?package_suffix} +%define package_name_conflict tensorflow2%{?package_suffix} %define package_python_sitearch %{python3_sitearch} %define package_python_sitelib %{python3_sitelib} %define package_prefix %_prefix @@ -283,6 +286,10 @@ Requires: python3-pip Requires: python3-protobuf Requires: python3-termcolor +Conflicts: %{package_name_conflict} +%if %{with hpc} +Provides: %{package_name_provide} +%endif %if %{with hpc} Requires: python3-numpy-%{compiler_family}%{?c_f_ver}-hpc %else @@ -342,6 +349,10 @@ Summary: Header files of tensorflow Group: Development/Languages/Python Requires: %{package_name} = %{version} +Conflicts: %{package_name_conflict}-devel +%if %{with hpc} +Provides: %{package_name_provide}-devel +%endif %description -n %{package_name}-devel This open source software library for numerical computation is used for data
