From 53fe52cbe0eecc769c835d1c4c31b0684cdec3e9 Mon Sep 17 00:00:00 2001 From: Susi Lehtola Date: Jan 02 2019 13:56:07 +0000 Subject: Fix shebang and changelog. --- diff --git a/OpenMolcas.spec b/OpenMolcas.spec index 17515e8..6407576 100644 --- a/OpenMolcas.spec +++ b/OpenMolcas.spec @@ -2,7 +2,7 @@ Name: OpenMolcas Version: 18.09 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A multiconfigurational quantum chemistry software package License: LGPLv2 URL: https://gitlab.com/Molcas/OpenMolcas @@ -54,6 +54,12 @@ sed -i 's|@OPENBLAS_LIBRARY@|openblaso|g' CMakeLists.txt # Location python modules are installed sed -i 's|@MOLCAS_PYTHON@|%{_libdir}/%{name}/python|g' Tools/pymolcas/pymolcas.py +# Fix shebang +%if 0%{?rhel} == 7 +sed -i 's|#!/usr/bin/env python|#!/usr/bin/python2|g' Tools/pymolcas/pymolcas.py +%else +sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|g' Tools/pymolcas/pymolcas.py +%endif %build mkdir objdir @@ -103,6 +109,12 @@ cp -p Tools/pymolcas/pymolcas.py %{buildroot}%{_bindir}/pymolcas %{_bindir}/pymolcas %changelog +* Wed Jan 02 2019 Susi Lehtola - 18.09-2 +- Fix python shebang. + +* Wed Jan 02 2019 Susi Lehtola - 18.09-1 +- Update to 18.09 stable release. + * Tue Sep 25 2018 Susi Lehtola - 18.0-7.o180813.1752 - Remove HDF5 support because upstream code is non-portable and too hard to fix.