Accepting request 790801 from home:eeich:branches:science

- Fix library link flags on pkg-config file for HPC builds (boo#1134298).

OBS-URL: https://build.opensuse.org/request/show/790801
OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=128
This commit is contained in:
2020-04-02 08:15:28 +00:00
committed by Git OBS Bridge
parent 522754067c
commit c9f4c4e67f
2 changed files with 11 additions and 6 deletions

View File

@@ -714,12 +714,12 @@ rm -rf %{buildroot}%{_prefix}/share/hdf5_examples
%fdupes -s %{buildroot}/%{_datadir}
%if %{with hpc}
%{hpc_write_pkgconfig -n hdf5 -l libhdf5}
%{hpc_write_pkgconfig -n hdf5_hl -l libhdf5_hl}
%{hpc_write_pkgconfig -n hdf5_fortran -l libhdf5_fortran}
%{hpc_write_pkgconfig -n hdf5_hl_fortran -l libhdfhl_fortran}
%{hpc_write_pkgconfig -n hdf5_cpp -l libhdf5_cpp}
%{hpc_write_pkgconfig -n hdf5_hl_cpp -l libhdf5_hl_cpp}
%{hpc_write_pkgconfig -n hdf5 -l hdf5}
%{hpc_write_pkgconfig -n hdf5_hl -l hdf5_hl}
%{hpc_write_pkgconfig -n hdf5_fortran -l hdf5_fortran}
%{hpc_write_pkgconfig -n hdf5_hl_fortran -l hdf5hl_fortran}
%{hpc_write_pkgconfig -n hdf5_cpp -l hdf5_cpp}
%{hpc_write_pkgconfig -n hdf5_hl_cpp -l hdf5_hl_cpp}
%hpc_write_modules_files
#%%Module1.0#####################################################################