diff --git a/hdf5.changes b/hdf5.changes index 8f59939..583b9df 100644 --- a/hdf5.changes +++ b/hdf5.changes @@ -1,3 +1,11 @@ + +------------------------------------------------------------------- +Sat Apr 7 22:31:05 UTC 2018 - eich@suse.com + +- Only build one example package for all flavors, do not + include dependencies as these would be flavor specific + (bsc#1088547). + ------------------------------------------------------------------- Sat Mar 31 23:53:50 UTC 2018 - stefan.bruens@rwth-aachen.de diff --git a/hdf5.spec b/hdf5.spec index b290826..855b5eb 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -412,12 +412,6 @@ This package provides the static libraries for the %{flavor} version of HDF5. %package -n %{pname}-examples Summary: Examples for %{name} Group: Documentation/Other -Requires: %{libname -l _cpp -s %{sonum_CXX}} = %{version} -Requires: %{libname -l _fortran -s %{sonum_F}} = %{version} -Requires: %{libname -l _hl -s %{sonum_HL}} = %{version} -Requires: %{libname -l _hl_cpp -s %{sonum_HL_CXX}} = %{version} -Requires: %{libname -l hl_fortran -s %{sonum_HL_F}} = %{version} -Requires: %{libname -s %{sonum}} = %{version} %description -n %{pname}-examples HDF5 is a data model, library, and file format for storing and @@ -560,11 +554,9 @@ make install DESTDIR=%{buildroot} find %{buildroot} -type f -name "*.la" -delete -print -%if %{without mpi} +%if %{without mpi} && %{without hpc} find %{buildroot}%{_datadir}/hdf5_examples -type f \ | grep -v ".sh$" | xargs chmod 644 - - %if %{without hpc} # rpm macro for version checking mkdir -p %{buildroot}%{_sysconfdir}/rpm cat > %{buildroot}%{_sysconfdir}/rpm/macros.hdf5 < %{buildroot}%{_sysconfdir}/rpm/macros.hdf5 <