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