From 36f100cc81c978049ea5e869011befe0b134a2bd163f0487e6bcbddf5552bc73 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Thu, 3 Jan 2019 17:48:35 +0000 Subject: [PATCH 1/2] Accepting request 660124 from home:TheBlackCat:branches:science - Use upstream-recommended %{_rpmconfigdir}/macros.d directory for the rpm macros. OBS-URL: https://build.opensuse.org/request/show/660124 OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=94 --- hdf5.changes | 6 ++++++ hdf5.spec | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/hdf5.changes b/hdf5.changes index 26a9768..cd9184d 100644 --- a/hdf5.changes +++ b/hdf5.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Dec 19 19:54:05 UTC 2018 - Todd R + +- Use upstream-recommended %{_rpmconfigdir}/macros.d directory + for the rpm macros. + ------------------------------------------------------------------- Wed Dec 12 15:28:48 UTC 2018 - Todd R diff --git a/hdf5.spec b/hdf5.spec index 14e1d01..cc20b87 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -578,8 +578,8 @@ mv %{buildroot}%{_prefix}/share/%{version} \ %{buildroot}%{_prefix}/share/hdf5_examples %else # rpm macro for version checking -mkdir -p %{buildroot}%{_sysconfdir}/rpm -cat > %{buildroot}%{_sysconfdir}/rpm/macros.hdf5 < %{buildroot}%{_rpmconfigdir}/macros.d/macros.hdf5 < Date: Thu, 3 Jan 2019 17:49:01 +0000 Subject: [PATCH 2/2] Accepting request 662659 from home:eeich:branches:science - Do not build non-HPC on SLE: This helps to save some build cycles. OBS-URL: https://build.opensuse.org/request/show/662659 OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=95 --- hdf5.changes | 6 ++++++ hdf5.spec | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/hdf5.changes b/hdf5.changes index cd9184d..697d9a3 100644 --- a/hdf5.changes +++ b/hdf5.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 3 11:39:58 UTC 2019 - eich@suse.com + +- Do not build non-HPC on SLE: This helps to save some build + cycles. + ------------------------------------------------------------------- Wed Dec 19 19:54:05 UTC 2018 - Todd R diff --git a/hdf5.spec b/hdf5.spec index cc20b87..0aec87c 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -1,7 +1,7 @@ # # spec file for package hdf5 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -153,6 +153,11 @@ ExclusiveArch: do_not_build %global mpi_flavor mpich %endif +# Don't build non-HPC on SLE +%if !0%{?is_opensuse} && !0%{?with_hpc:1} +ExclusiveArch: do_not_build +%endif + # Disable until resource issue is resolved. %if "%mpi_flavor" == "openmpi" %define _do_check 0