Hello community,

here is the log from the commit of package netcdf for openSUSE:Factory checked 
in at 2015-08-27 08:57:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/netcdf (Old)
 and      /work/SRC/openSUSE:Factory/.netcdf.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "netcdf"

Changes:
--------
--- /work/SRC/openSUSE:Factory/netcdf/netcdf.changes    2015-08-23 
15:42:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.netcdf.new/netcdf.changes       2015-08-27 
08:57:02.000000000 +0200
@@ -1,0 +2,13 @@
+Mon Aug 24 09:22:06 UTC 2015 - [email protected]
+
+- Currently the regular, openmpi, and mpivachi2 versions of the
+  library packages all provide the exact same libraries.  So any
+  package built against the -devel package will end up with an
+  "unresolvable" build error because there are multiple versions
+  of the library it can use. To avoid this, I have added generic
+  provides for the library package so packages can depend on the
+  version they really need, avoiding these build issues.
+- Depend on the correct regular, openmpi, and mpivachi2 versions of
+  hdf, hdf5, and parallel-netcdf.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ netcdf.spec ++++++
--- /var/tmp/diff_new_pack.boLrzU/_old  2015-08-27 08:57:02.000000000 +0200
+++ /var/tmp/diff_new_pack.boLrzU/_new  2015-08-27 08:57:02.000000000 +0200
@@ -50,6 +50,9 @@
 BuildRequires:  gcc-fortran
 BuildRequires:  hdf-devel
 BuildRequires:  hdf5-devel >= 1.8.8
+BuildRequires:  libhdf
+BuildRequires:  libhdf5
+BuildRequires:  libhdf5_hl
 BuildRequires:  libcurl-devel >= 7.18.0
 BuildRequires:  pkg-config
 BuildRequires:  zlib-devel >= 1.2.5
@@ -61,15 +64,21 @@
 BuildRequires:  hdf-openmpi-devel
 BuildRequires:  hdf5-openmpi-devel
 BuildRequires:  parallel-netcdf-openmpi-devel
+BuildRequires:  libhdf-openmpi
+BuildRequires:  libhdf5-openmpi
+BuildRequires:  libhdf5_hl-openmpi
+BuildRequires:  libpnetcdf-openmpi
 %endif
 %if 0%{?_mvapich2}
 BuildRequires:  mvapich2-devel
 BuildRequires:  hdf-mvapich2-devel
 BuildRequires:  hdf5-mvapich2-devel
 BuildRequires:  parallel-netcdf-mvapich2-devel
+BuildRequires:  libhdf-mvapich2
+BuildRequires:  libhdf5-mvapich2
+BuildRequires:  libhdf5_hl-mvapich2
+BuildRequires:  libpnetcdf-mvapich2
 %endif
-Requires:       hdf
-Requires:       hdf5
 Requires:       %{libname}%{sonum} = %{version}
 
 %description
@@ -185,9 +194,12 @@
 Group:          Productivity/Scientific/Other
 Provides:       %{libname}-4 = %{version}
 Obsoletes:      %{libname}-4 < %{version}
-Requires:       libhdf%{_hdf_sonum}
-Requires:       libhdf5-%{_hdf5_sonum}
-Requires:       libhdf5_hl%{_hdf5_sonum}
+# To avoid unresolvable errors due to multiple providers of the library
+Provides:       %{libname} = %{version}
+Obsoletes:      %{libname} < %{version}
+Requires:       libhdf
+Requires:       libhdf5
+Requires:       libhdf5_hl
 
 %description -n %{libname}%{sonum}
 NetCDF is a set of software libraries and self-describing, 
@@ -224,10 +236,13 @@
 %package -n     %{libname}%{sonum}-openmpi
 Summary:        Shared libraries for the NetCDF scientific data format
 Group:          Productivity/Scientific/Other
-Requires:       libhdf%{_hdf_sonum}-openmpi
-Requires:       libhdf5%{_hdf5_sonum}-openmpi
-Requires:       libhdf5_hl%{_hdf5_sonum}-openmpi
-Requires:       libpnetcdf%{_pnetcdf_sonum}-openmpi
+# To avoid unresolvable errors due to multiple providers of the library
+Provides:       %{libname}-openmpi = %{version}
+Obsoletes:      %{libname}-openmpi < %{version}
+Requires:       libhdf-openmpi
+Requires:       libhdf5-openmpi
+Requires:       libhdf5_hl-openmpi
+Requires:       libpnetcdf-openmpi
 
 %description -n %{libname}%{sonum}-openmpi
 NetCDF is a set of software libraries and self-describing, 
@@ -265,10 +280,13 @@
 %package -n     %{libname}%{sonum}-mvapich2
 Summary:        Shared libraries for the NetCDF scientific data format
 Group:          Productivity/Scientific/Other
-Requires:       libhdf%{_hdf_sonum}-mvapich2
-Requires:       libhdf5%{_hdf5_sonum}-mvapich2
-Requires:       libhdf5_hl%{_hdf5_sonum}-mvapich2
-Requires:       libpnetcdf%{_pnetcdf_sonum}-mvapich2
+# To avoid unresolvable errors due to multiple providers of the library
+Provides:       %{libname}-mvapich2 = %{version}
+Obsoletes:      %{libname}-mvapich2 < %{version}
+Requires:       libhdf-mvapich2
+Requires:       libhdf5-mvapich2
+Requires:       libhdf5_hl-mvapich2
+Requires:       libpnetcdf-mvapich2
 
 %description -n %{libname}%{sonum}-mvapich2
 NetCDF is a set of software libraries and self-describing, 



Reply via email to