From 547ca70288b262b904279a7ce3ef1aa93701fa8a Mon Sep 17 00:00:00 2001 From: Jean-Noël Grad Date: Jun 30 2022 21:16:49 +0000 Subject: Remove git-based build system --- diff --git a/espresso.spec b/espresso.spec index 1cd5a3e..e68d904 100644 --- a/espresso.spec +++ b/espresso.spec @@ -1,7 +1,5 @@ -%global git 0 %global commit 18d49bfc4b6ca5be264f16d262338fda1f9141a7 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global h5xxcommit 89d8d435872ec77dd931e709df98eefac8cbc925 Name: espresso Version: 4.2.0 @@ -13,12 +11,7 @@ ExcludeArch: s390x i686 armv7hl License: GPLv3+ URL: https://espressomd.org -%if %{git} -Source0: https://github.com/%{name}md/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz -Source1: https://github.com/h5md/h5xx/archive/%{h5xxcommit}/h5xx-%{h5xxcommit}.tar.gz -%else Source0: https://github.com/%{name}md/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz -%endif # skip fragile ICC python interface test on aarch64 Patch0: %{name}-aarch64.patch @@ -109,13 +102,7 @@ This package contains %{name} compiled against MPICH2. %prep -%if %{git} -%setup -q -a 1 -n espresso-%{commit} -rm -r libs/h5xx -mv h5xx-%{h5xxcommit} libs/h5xx -%else %setup -q -n %{name} -%endif %ifarch aarch64 %patch0 -p1 %endif diff --git a/sources b/sources index 0504441..1720c8b 100644 --- a/sources +++ b/sources @@ -1,3 +1 @@ SHA512 (espresso-4.2.0.tar.gz) = b80afb1bef57911fd79b88378a5b2e31b07a18d415fe17fcd5ed28fb448eeca5922f98af8df42117e9e869645765d55ecfb3aae615fa6a53c915f7d8a63081c5 -SHA512 (espresso-18d49bfc4b6ca5be264f16d262338fda1f9141a7.tar.gz) = 90fb015464fc5236a510f05dc426e38ca99e3e7ff3261abaa1d1d039f182f4a7f50a18e27e007a5e30ed627e1b8b40638ea4b49e7fab804de74db87bb875d2e1 -SHA512 (h5xx-89d8d435872ec77dd931e709df98eefac8cbc925.tar.gz) = 75518160d3ae575b3ff39d18b3f4269eebdde60c09a7ca808e7e5e49795768aaf35eff068e2242b8395191a3157b8a0f0fbfeda323ec3cd33e51a28d76e76fc8