- Add %{?hpc_ext} to install path to allow multiple flavor installs

OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=5
This commit is contained in:
Nicolas Morey-Chaisemartin 2017-09-27 07:33:00 +00:00 committed by Git OBS Bridge
parent fe7e841696
commit a334d90eb9
3 changed files with 8 additions and 4 deletions

View File

@ -18,7 +18,7 @@
# For mpi libraries # For mpi libraries
%hpc_mpi_install_base %{hpc_base}%{?hpc_cf_dir}mpi/ %hpc_mpi_install_base %{hpc_base}%{?hpc_cf_dir}mpi/
%hpc_mpi_install_path_base %{hpc_mpi_install_base}%{hpc_mpi_family}/ %hpc_mpi_install_path_base %{hpc_mpi_install_base}%{hpc_mpi_family}%{?hpc_ext}/
%hpc_mpi_install_path %{hpc_mpi_install_path_base}%{version} %hpc_mpi_install_path %{hpc_mpi_install_path_base}%{version}
# Different paths - below HPC directory # Different paths - below HPC directory

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 21 15:10:29 UTC 2017 - nmoreychaisemartin@suse.com
- Add %{?hpc_ext} to install path to allow multiple flavor installs
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 13 19:27:49 UTC 2017 - eich@suse.com Wed Sep 13 19:27:49 UTC 2017 - eich@suse.com

View File

@ -1,5 +1,5 @@
# #
# spec file for package suse_hpc # spec file for package suse-hpc
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
@ -28,7 +28,7 @@ Source2: hpc_elf.pl
Source3: hpc_elf.attr Source3: hpc_elf.attr
Source4: hpc_elflib.attr Source4: hpc_elflib.attr
Source5: LICENSE Source5: LICENSE
Url: http://www.suse.com/hpc Url: http://www.suse.com/hpc
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -57,5 +57,4 @@ cp %{S:5} .
%{_rpmconfigdir}/hpc_elf.pl %{_rpmconfigdir}/hpc_elf.pl
%{_rpmconfigdir}/fileattrs/* %{_rpmconfigdir}/fileattrs/*
%changelog %changelog