From 413dd18fa9ec5f34fd47241410e464fbb1a79e96a9b33ca4072599fc5f180240 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Mon, 19 Nov 2018 09:32:41 +0000 Subject: [PATCH] Accepting request 650133 from home:eeich:branches:science:machinelearning * Do not remove executable flag on .so files OBS-URL: https://build.opensuse.org/request/show/650133 OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=37 --- macros.hpc | 2 +- suse-hpc.changes | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/macros.hpc b/macros.hpc index 746c1b3..ca8fa70 100644 --- a/macros.hpc +++ b/macros.hpc @@ -615,7 +615,7 @@ When this package gets updated it installs the latest version of %name. \ _hpc_base=$(basename %{1}) \ [ -d %{buildroot}/$_hpc_pydir ] || mkdir -p %{buildroot}/${_hpc_pydir} \ mv %{buildroot}%{1} %{buildroot}/${_hpc_pydir} \ - chmod a-x %{buildroot}/$_hpc_pydir/$_hpc_base \ + [[ "$_hpc_base" =~ .*\.so ]] || chmod a-x %{buildroot}/$_hpc_pydir/$_hpc_base \ %{hpc_shebang_remove %{buildroot}/$_hpc_pydir/$_hpc_base} # %hpc_verify_python3 diff --git a/suse-hpc.changes b/suse-hpc.changes index 4e3569b..a518f7d 100644 --- a/suse-hpc.changes +++ b/suse-hpc.changes @@ -4,6 +4,7 @@ Mon Nov 19 01:19:05 UTC 2018 - eich@suse.com - Improve python handling: * set python3 as default for Factory * allow to specify subdir to HPC pyton path + * Do not remove executable flag on .so files ------------------------------------------------------------------- Sun Nov 18 10:19:22 UTC 2018 - eich@suse.com