Add comment about SOURCE_DATE_EPOCH

OBS-URL: https://build.opensuse.org/package/show/science:HPC/openmpi4?expand=0&rev=13
This commit is contained in:
Nicolas Morey-Chaisemartin 2021-03-31 07:29:38 +00:00 committed by Git OBS Bridge
parent 1d2406b740
commit d47d4dad1b

View File

@ -1,5 +1,5 @@
# #
# spec file for package openmpi4 # spec file for package %{package_name}%{?testsuite:-testsuite}
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2021 SUSE LLC
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
@ -162,7 +162,7 @@ BuildRequires: gcc-c++
BuildRequires: gcc-fortran BuildRequires: gcc-fortran
BuildRequires: mpi-selector BuildRequires: mpi-selector
Requires: mpi-selector Requires: mpi-selector
Requires(preun): mpi-selector Requires(preun):mpi-selector
Requires: %{package_name}-libs = %{version} Requires: %{package_name}-libs = %{version}
%else %else
BuildRequires: %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel BuildRequires: %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel
@ -209,7 +209,7 @@ Requires: openssh
%define mpi_bindir %hpc_bindir %define mpi_bindir %hpc_bindir
%define mpi_libdir %hpc_libdir %define mpi_libdir %hpc_libdir
%define mpi_datadir %hpc_datadir %define mpi_datadir %hpc_datadir
%define mpi_helpdir %{mpi_datadir}/openmpi %define mpi_helpdir %{mpi_datadir}/openmpi
%define mpi_includedir %hpc_includedir %define mpi_includedir %hpc_includedir
%define mpi_mandir %hpc_mandir %define mpi_mandir %hpc_mandir
@ -288,7 +288,7 @@ programming API, which is a Partitioned Global Address Space (PGAS)
abstraction layer providing inter-process communication using abstraction layer providing inter-process communication using
one-sided communication techniques. one-sided communication techniques.
This package provides the development files for Open MPI/OpenSHMEM This package provides the development files for Open MPI/OpenSHMEM
version %{m_f_ver}, such as wrapper compilers and header files for version %{m_f_ver}, such as wrapper compilers and header files for
MPI/OpenSHMEM development. MPI/OpenSHMEM development.
@ -414,6 +414,7 @@ sed -i -e 's/^greek=.*$/greek=%{git_ver}/' -e 's/^repo_rev=.*$/repo_rev=%{versio
# make build reproducible # make build reproducible
export USER=OBS export USER=OBS
export HOSTNAME=OBS export HOSTNAME=OBS
# OBS sets SOURCE_DATE_EPOCH
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects %global _lto_cflags %{_lto_cflags} -ffat-lto-objects
%{?with_hpc:%hpc_debug} %{?with_hpc:%hpc_debug}
./autogen.pl --force ./autogen.pl --force