Accepting request 318941 from home:TheBlackCat:branches:science

- Use explicit library requirements to avoid ambiguities.  Without this, packages that depend on hdf5 won't know which library to use.

OBS-URL: https://build.opensuse.org/request/show/318941
OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=6
This commit is contained in:
Todd R 2015-07-27 10:12:44 +00:00 committed by Git OBS Bridge
parent f9b95bef44
commit 423a45aab4
2 changed files with 16 additions and 3 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jul 27 10:06:49 UTC 2015 - toddrme2178@gmail.com
- Use explicit library requirements to avoid ambiguities.
Without this, packages that depend on hdf5 won't know which
library to use.
-------------------------------------------------------------------
Thu Jul 23 11:30:56 UTC 2015 - toddrme2178@gmail.com

View File

@ -62,6 +62,8 @@ BuildRequires: openmpi-devel
%if 0%{?_mvapich2}
BuildRequires: mvapich2-devel
%endif
Requires: %{libname}-%{hdf5_libver} = %{version}
Requires: %{libname}_hl%{hdf5_libver} = %{version}
%description
HDF5 is a general purpose library and file format for storing scientific data.
@ -116,7 +118,7 @@ hdf5.
%package devel-static
Summary: Hierarchical Data File Format Version 5 - static libraries
Group: Development/Libraries/C and C++
Requires: hdf5-devel
Requires: %{name}-devel = %{version}
%description devel-static
The HDF project involves the development and support of software and
@ -140,6 +142,8 @@ Examples of HDF5 library use.
%package -n %{name}-openmpi
Summary: A general purpose library and file format for storing scientific data
Group: Development/Libraries/Other
Requires: %{libname}-%{hdf5_libver}-openmpi = %{version}
Requires: %{libname}_hl%{hdf5_libver}-openmpi = %{version}
%description -n %{name}-openmpi
HDF5 is a general purpose library and file format for storing scientific data.
@ -194,7 +198,7 @@ hdf5.
%package openmpi-devel-static
Summary: Hierarchical Data File Format Version 5 - static libraries
Group: Development/Libraries/C and C++
Requires: hdf5-openmpi-devel
Requires: %{name}-openmpi-devel = %{version}
%description openmpi-devel-static
The HDF project involves the development and support of software and
@ -208,6 +212,8 @@ This package provides the static libraries.
%package -n %{name}-mvapich2
Summary: A general purpose library and file format for storing scientific data
Group: Development/Libraries/Other
Requires: %{libname}-%{hdf5_libver}-mvapich2 = %{version}
Requires: %{libname}_hl%{hdf5_libver}-mvapich2 = %{version}
%description -n %{name}-mvapich2
HDF5 is a general purpose library and file format for storing scientific data.
@ -262,7 +268,7 @@ hdf5.
%package mvapich2-devel-static
Summary: Hierarchical Data File Format Version 5 - static libraries
Group: Development/Libraries/C and C++
Requires: hdf5-mvapich2-devel
Requires: %{name}-mvapich2-devel = %{version}
%description mvapich2-devel-static
The HDF project involves the development and support of software and