diff --git a/hdf5.changes b/hdf5.changes index 840abbd..287d9f9 100644 --- a/hdf5.changes +++ b/hdf5.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Aug 21 09:45:05 UTC 2015 - toddrme2178@gmail.com + +- 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. + ------------------------------------------------------------------- Thu Aug 13 07:42:07 UTC 2015 - badshah400@gmail.com diff --git a/hdf5.spec b/hdf5.spec index 2979c84..55fdee8 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -143,6 +143,9 @@ with HDF5 files. %package -n %{libname}-%{sonum} Summary: Shared libraries for the HDF5 scientific data format Group: Productivity/Scientific/Other +# To avoid unresolvable errors due to multiple providers of the library +Provides: %{libname} = %{version} +Obsoletes: %{libname} < %{version} %description -n %{libname}-%{sonum} HDF5 is a data model, library, and file format for storing and @@ -167,6 +170,9 @@ This package contains the HDF5 runtime libraries. %package -n %{libname}-%{sonum}-openmpi Summary: Shared libraries for the HDF5 scientific data format Group: Productivity/Scientific/Other +# To avoid unresolvable errors due to multiple providers of the library +Provides: %{libname}-openmpi = %{version} +Obsoletes: %{libname}-openmpi < %{version} %description -n %{libname}-%{sonum}-openmpi HDF5 is a data model, library, and file format for storing and @@ -191,6 +197,9 @@ This package contains the openmpi version of the HDF5 runtime libraries. %package -n %{libname}-%{sonum}-mvapich2 Summary: Shared libraries for the HDF5 scientific data format Group: Productivity/Scientific/Other +# To avoid unresolvable errors due to multiple providers of the library +Provides: %{libname}-mvapich2 = %{version} +Obsoletes: %{libname}-mvapich2 < %{version} %description -n %{libname}-%{sonum}-mvapich2 HDF5 is a data model, library, and file format for storing and @@ -215,6 +224,9 @@ This package contains the mvapich2 version of the HDF5 runtime libraries. %package -n %{libname}_hl%{sonum} Summary: High-level shared libraries for the HDF5 scientific data format Group: Productivity/Scientific/Other +# To avoid unresolvable errors due to multiple providers of the library +Provides: %{libname}_hl = %{version} +Obsoletes: %{libname}_hl < %{version} %description -n %{libname}_hl%{sonum} HDF5 is a data model, library, and file format for storing and @@ -239,6 +251,9 @@ This package contains the the high-level HDF5 runtime libraries. %package -n %{libname}_hl%{sonum}-openmpi Summary: High-level shared libraries for the HDF5 scientific data format Group: Productivity/Scientific/Other +# To avoid unresolvable errors due to multiple providers of the library +Provides: %{libname}_hl-openmpi = %{version} +Obsoletes: %{libname}_hl-openmpi < %{version} %description -n %{libname}_hl%{sonum}-openmpi HDF5 is a data model, library, and file format for storing and @@ -264,6 +279,9 @@ runtime libraries. %package -n %{libname}_hl%{sonum}-mvapich2 Summary: High-level shared libraries for the HDF5 scientific data format Group: Productivity/Scientific/Other +# To avoid unresolvable errors due to multiple providers of the library +Provides: %{libname}_hl-mvapich2 = %{version} +Obsoletes: %{libname}_hl-mvapich2 < %{version} %description -n %{libname}_hl%{sonum}-mvapich2 HDF5 is a data model, library, and file format for storing and