From 9eb362c484ee646c4505ebbd0766b7492f867c62 Mon Sep 17 00:00:00 2001 From: Susi Lehtola Date: Mon, 14 Aug 2023 16:47:13 +0000 Subject: [PATCH 1/2] Update to 6.6.1. --- .gitignore | 1 + sources | 2 +- xtb.spec | 13 ++++++++----- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 91f6bed..2996b90 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /xtb-6.4.1.tar.gz /xtb-6.5.0.tar.gz /xtb-6.5.1.tar.gz +/xtb-6.6.1.tar.gz diff --git a/sources b/sources index bd7c88f..119d811 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xtb-6.5.1.tar.gz) = fcf1e576ab4cf1665ba65b69c57982dba7aa27d03ef511f44aeb88374409f08b450f90ede3febb61fee45929f34aa48bd3db3a4c52c1d9f658915c1b5b5ea7cf +SHA512 (xtb-6.6.1.tar.gz) = 0a5b05be23fbc58f4c74abd6b0a10e5eb9a300b85cc065b9b6ef3d8e25cabfc04ee55ae2eafb6adaead6beddd1a8958ed547e1631131db0b71f1157c2df72dc2 diff --git a/xtb.spec b/xtb.spec index dd48ea8..6e07ae1 100644 --- a/xtb.spec +++ b/xtb.spec @@ -9,8 +9,8 @@ %endif Name: xtb -Version: 6.5.1 -Release: 2%{?dist} +Version: 6.6.1 +Release: 1%{?dist} Summary: Semiempirical Extended Tight-Binding Program Package License: LGPLv3+ URL: https://github.com/grimme-lab/xtb/ @@ -68,14 +68,14 @@ This package contains development headers for xtb. %prep %setup -q -%patch0 -p1 -b .fedoraver -%patch4 -p1 -b .env +%patch 0 -p1 -b .fedoraver +%patch 4 -p1 -b .env %build export FFLAGS="%{optflags} -I%{_fmoddir} -fPIE" export FCLAGS="%{optflags} -I%{_fmoddir} -fPIE" #meson -Dla_backend=custom -Dcustom_libraries=%{blaslib}%{blasvar} -Dfortran_args=-fexternal-blas -%meson -Dla_backend=custom -Dcustom_libraries=%{blaslib}%{blasvar} +%meson -Dlapack=custom -Dcustom_libraries=%{blaslib}%{blasvar} -Dtblite=disabled date=$(date) # Create customized Fedora versioning cat > %{_vpath_builddir}/xtb_version.fh < - 6.6.1-1 +- Update to 6.6.1. + * Sat Jan 21 2023 Fedora Release Engineering - 6.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From af0026909de188287ef4f1cb72510ddc452824ab Mon Sep 17 00:00:00 2001 From: Susi Lehtola Date: Mon, 14 Aug 2023 17:05:51 +0000 Subject: [PATCH 2/2] LEt's see if it compiles with -fPIC --- xtb.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xtb.spec b/xtb.spec index 6e07ae1..18f4a73 100644 --- a/xtb.spec +++ b/xtb.spec @@ -72,8 +72,8 @@ This package contains development headers for xtb. %patch 4 -p1 -b .env %build -export FFLAGS="%{optflags} -I%{_fmoddir} -fPIE" -export FCLAGS="%{optflags} -I%{_fmoddir} -fPIE" +export FFLAGS="%{optflags} -I%{_fmoddir} -fPIC" +export FCLAGS="%{optflags} -I%{_fmoddir} -fPIC" #meson -Dla_backend=custom -Dcustom_libraries=%{blaslib}%{blasvar} -Dfortran_args=-fexternal-blas %meson -Dlapack=custom -Dcustom_libraries=%{blaslib}%{blasvar} -Dtblite=disabled date=$(date)