From cefa59406a2f18890399e1109e815e00cd9e8b5f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 17:49:51 +0000 Subject: [PATCH 01/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- mpqc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mpqc.spec b/mpqc.spec index 4f37588..df48741 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -1,7 +1,7 @@ Name: mpqc Summary: Ab-inito chemistry program Version: 2.3.1 -Release: 43%{?dist} +Release: 44%{?dist} License: GPLv2+ and LGPLv2+ URL: http://www.mpqc.org/ Source0: http://downloads.sourceforge.net/mpqc/%{name}-%{version}.tar.bz2 @@ -193,6 +193,9 @@ done %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 2.3.1-44 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Fri Feb 01 2019 Fedora Release Engineering - 2.3.1-43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 44c5911b4011db97d67abc58e1aff756d4ff0a68 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jan 2020 14:11:21 +0000 Subject: [PATCH 02/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- mpqc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mpqc.spec b/mpqc.spec index df48741..bba83c3 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -1,7 +1,7 @@ Name: mpqc Summary: Ab-inito chemistry program Version: 2.3.1 -Release: 44%{?dist} +Release: 45%{?dist} License: GPLv2+ and LGPLv2+ URL: http://www.mpqc.org/ Source0: http://downloads.sourceforge.net/mpqc/%{name}-%{version}.tar.bz2 @@ -193,6 +193,9 @@ done %changelog +* Wed Jan 29 2020 Fedora Release Engineering - 2.3.1-45 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Jul 25 2019 Fedora Release Engineering - 2.3.1-44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 833e81dbd801a89fb7001f3f019011fcae7f8cdc Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Mon, 27 Jul 2020 22:50:09 -0600 Subject: [PATCH 03/25] Use C++14 as this code is not C++17 ready --- mpqc.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mpqc.spec b/mpqc.spec index bba83c3..08dceb4 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -1,7 +1,7 @@ Name: mpqc Summary: Ab-inito chemistry program Version: 2.3.1 -Release: 45%{?dist} +Release: 46%{?dist} License: GPLv2+ and LGPLv2+ URL: http://www.mpqc.org/ Source0: http://downloads.sourceforge.net/mpqc/%{name}-%{version}.tar.bz2 @@ -90,6 +90,7 @@ Version=1.0 EOF %build +export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS" export F77=gfortran autoreconf -v -f -i -I lib/autoconf @@ -193,6 +194,9 @@ done %changelog +* Mon Jul 27 2020 Jeff Law - 2.3.1-46 +- Use C++14 as this code is not C++17 ready + * Wed Jan 29 2020 Fedora Release Engineering - 2.3.1-45 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From b3f0f28b54d96307612f6ff411d59af6125c576f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 08:32:50 +0000 Subject: [PATCH 04/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- mpqc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mpqc.spec b/mpqc.spec index 08dceb4..3775633 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -1,7 +1,7 @@ Name: mpqc Summary: Ab-inito chemistry program Version: 2.3.1 -Release: 46%{?dist} +Release: 47%{?dist} License: GPLv2+ and LGPLv2+ URL: http://www.mpqc.org/ Source0: http://downloads.sourceforge.net/mpqc/%{name}-%{version}.tar.bz2 @@ -194,6 +194,9 @@ done %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 2.3.1-47 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jul 27 2020 Jeff Law - 2.3.1-46 - Use C++14 as this code is not C++17 ready From fdf21db40cd5a0ca6610c3ba68c9da03c1a93cde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20=C3=9Acar?= Date: Thu, 20 Aug 2020 14:53:08 +0200 Subject: [PATCH 05/25] https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager --- mpqc.spec | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/mpqc.spec b/mpqc.spec index 3775633..320641f 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -1,7 +1,7 @@ Name: mpqc Summary: Ab-inito chemistry program Version: 2.3.1 -Release: 47%{?dist} +Release: 48%{?dist} License: GPLv2+ and LGPLv2+ URL: http://www.mpqc.org/ Source0: http://downloads.sourceforge.net/mpqc/%{name}-%{version}.tar.bz2 @@ -15,7 +15,8 @@ BuildRequires: gcc-c++ BuildRequires: libtool flex bison BuildRequires: desktop-file-utils BuildRequires: gcc-gfortran perl-generators tk doxygen -BuildRequires: libint-devel atlas-devel +BuildRequires: libint-devel +BuildRequires: flexiblas-devel %description MPQC is the Massively Parallel Quantum Chemistry Program. It computes @@ -94,20 +95,12 @@ export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS" export F77=gfortran autoreconf -v -f -i -I lib/autoconf -# Libraries to use -%if 0%{?fedora} > 20 -lapacklib="-L%{_libdir}/atlas -ltatlas" -%else -lapacklib="-L%{_libdir}/atlas -llapack -lf77blas -latlas" -%endif - %configure --enable-shared --disable-static \ --enable-threads --disable-parallel \ --includedir="%{_includedir}/mpqc" \ - --with-libdirs="-L%{_libdir}/atlas" \ --with-cxx-optflags="$CXXFLAGS" \ --with-cc-optflags="$CFLAGS" \ - --with-libs="$lapacklib" + --with-libs="-lflexiblas" sed -i 's|.rpath .libdir||g' bin/sc-config sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool @@ -194,6 +187,9 @@ done %changelog +* Sun Aug 16 2020 Iñaki Úcar - 2.3.1-48 +- https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager + * Tue Jul 28 2020 Fedora Release Engineering - 2.3.1-47 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 5790d5ce5a5047b42752142d15884fb5df86a203 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 7 Jan 2021 02:04:45 +0000 Subject: [PATCH 06/25] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- mpqc.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/mpqc.spec b/mpqc.spec index 320641f..8049eb7 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -11,6 +11,7 @@ Patch1: mpqc-2.3.1-format-security.patch # C++11 build fix Patch2: mpqc-2.3.1-cpp11-constexpr.patch Requires: %{name}-libs%{?_isa} = %{version}-%{release} +BuildRequires: make BuildRequires: gcc-c++ BuildRequires: libtool flex bison BuildRequires: desktop-file-utils From 84195038673c16d8b9acf0c1f699236b2a63ce6a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 20:54:57 +0000 Subject: [PATCH 07/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- mpqc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mpqc.spec b/mpqc.spec index 8049eb7..07823a2 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -1,7 +1,7 @@ Name: mpqc Summary: Ab-inito chemistry program Version: 2.3.1 -Release: 48%{?dist} +Release: 49%{?dist} License: GPLv2+ and LGPLv2+ URL: http://www.mpqc.org/ Source0: http://downloads.sourceforge.net/mpqc/%{name}-%{version}.tar.bz2 @@ -188,6 +188,9 @@ done %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 2.3.1-49 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Sun Aug 16 2020 Iñaki Úcar - 2.3.1-48 - https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager From cab6da22d4ade14af8f32c7572f5045fa176ca7e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 15:29:31 +0000 Subject: [PATCH 08/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- mpqc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mpqc.spec b/mpqc.spec index 07823a2..f4fab40 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -1,7 +1,7 @@ Name: mpqc Summary: Ab-inito chemistry program Version: 2.3.1 -Release: 49%{?dist} +Release: 50%{?dist} License: GPLv2+ and LGPLv2+ URL: http://www.mpqc.org/ Source0: http://downloads.sourceforge.net/mpqc/%{name}-%{version}.tar.bz2 @@ -188,6 +188,9 @@ done %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 2.3.1-50 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 2.3.1-49 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 9aad20d6a16a8deeceed6031208d772c1304c294 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 20:32:22 +0000 Subject: [PATCH 09/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- mpqc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mpqc.spec b/mpqc.spec index f4fab40..46d9d29 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -1,7 +1,7 @@ Name: mpqc Summary: Ab-inito chemistry program Version: 2.3.1 -Release: 50%{?dist} +Release: 51%{?dist} License: GPLv2+ and LGPLv2+ URL: http://www.mpqc.org/ Source0: http://downloads.sourceforge.net/mpqc/%{name}-%{version}.tar.bz2 @@ -188,6 +188,9 @@ done %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 2.3.1-51 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Jul 22 2021 Fedora Release Engineering - 2.3.1-50 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 1c185be4a2ac967b4ba577940fcc530011739821 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 21 Jul 2022 23:51:29 +0000 Subject: [PATCH 10/25] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- mpqc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mpqc.spec b/mpqc.spec index 46d9d29..eacf34c 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -1,7 +1,7 @@ Name: mpqc Summary: Ab-inito chemistry program Version: 2.3.1 -Release: 51%{?dist} +Release: 52%{?dist} License: GPLv2+ and LGPLv2+ URL: http://www.mpqc.org/ Source0: http://downloads.sourceforge.net/mpqc/%{name}-%{version}.tar.bz2 @@ -188,6 +188,9 @@ done %changelog +* Thu Jul 21 2022 Fedora Release Engineering - 2.3.1-52 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Thu Jan 20 2022 Fedora Release Engineering - 2.3.1-51 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From ff01f33218267f740f4843d08a231b8c2184b958 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Sun, 27 Nov 2022 22:06:00 +0900 Subject: [PATCH 11/25] Make configure (wrt Fortran symbol detection) c99 conformant for -Werror=implicit-int -Werror=implicit-function-declaration wrt https://fedoraproject.org/wiki/Toolchain/PortingToModernC https://fedoraproject.org/wiki/Changes/PortingToModernC --- mpqc.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mpqc.spec b/mpqc.spec index eacf34c..519b716 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -1,7 +1,7 @@ Name: mpqc Summary: Ab-inito chemistry program Version: 2.3.1 -Release: 52%{?dist} +Release: 53%{?dist} License: GPLv2+ and LGPLv2+ URL: http://www.mpqc.org/ Source0: http://downloads.sourceforge.net/mpqc/%{name}-%{version}.tar.bz2 @@ -77,6 +77,8 @@ sed -i -r -e 's/AC_DEFINE_UNQUOTED\(([^,]*),([^)]*)\)/AC_DEFINE_UNQUOTED([\1],\2 sed -i -r -e 's/AC_DEFINE_DIR\(([^,]*),([^)]*)\)/AC_DEFINE_DIR([\1],\2,[\1])/g' configure.ac sed -i -r -e 's/AC_CANONICAL_SYSTEM/AC_CANONICAL_SYSTEM\nAC_DEFINE([SHMTYPE], [void *], [data type for shmat])/g' configure.ac sed -i -r -e 's/AC_DEFINE\(\[CXX_RESTRICT\],1,\[CXX_RESTRICT\]\)/AC_DEFINE([restrictxx],[restrict],[have restrict keyword]),AC_DEFINE([restrictxx],[],[do not have restrict keyword])/g' configure.ac +# Make configure.ac c99 conformant, -Werror=implicit-int -Werror=implicit-function-declaration +sed -i -e '\@main.*FF@s|main|extern void FF(void); int main|' configure.ac rm -f lib/autoconf/libtool.m4 # end autoreconf fixup cat >molrender.desktop << EOF @@ -188,6 +190,10 @@ done %changelog +* Sun Nov 27 2022 Mamoru TASAKA - 2.3.1-53 +- Make configure (wrt Fortran symbol detection) c99 conformant + for -Werror=implicit-int -Werror=implicit-function-declaration + * Thu Jul 21 2022 Fedora Release Engineering - 2.3.1-52 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 2551044feb51de7f0f82ccf38b14053a2103c560 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 20:51:03 +0000 Subject: [PATCH 12/25] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- mpqc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mpqc.spec b/mpqc.spec index 519b716..4d62f9d 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -1,7 +1,7 @@ Name: mpqc Summary: Ab-inito chemistry program Version: 2.3.1 -Release: 53%{?dist} +Release: 54%{?dist} License: GPLv2+ and LGPLv2+ URL: http://www.mpqc.org/ Source0: http://downloads.sourceforge.net/mpqc/%{name}-%{version}.tar.bz2 @@ -190,6 +190,9 @@ done %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 2.3.1-54 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sun Nov 27 2022 Mamoru TASAKA - 2.3.1-53 - Make configure (wrt Fortran symbol detection) c99 conformant for -Werror=implicit-int -Werror=implicit-function-declaration From ab3adecfb0b7db80b8eb06190e6da42075b3d6c2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jul 2023 15:55:07 +0000 Subject: [PATCH 13/25] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- mpqc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mpqc.spec b/mpqc.spec index 4d62f9d..8e608dc 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -1,7 +1,7 @@ Name: mpqc Summary: Ab-inito chemistry program Version: 2.3.1 -Release: 54%{?dist} +Release: 55%{?dist} License: GPLv2+ and LGPLv2+ URL: http://www.mpqc.org/ Source0: http://downloads.sourceforge.net/mpqc/%{name}-%{version}.tar.bz2 @@ -190,6 +190,9 @@ done %changelog +* Thu Jul 20 2023 Fedora Release Engineering - 2.3.1-55 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Thu Jan 19 2023 Fedora Release Engineering - 2.3.1-54 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 5afa81003d57cb4f088f8d2794bab5c13ab1c3bb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 08:46:04 +0000 Subject: [PATCH 14/25] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- mpqc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mpqc.spec b/mpqc.spec index 8e608dc..4d39ade 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -1,7 +1,7 @@ Name: mpqc Summary: Ab-inito chemistry program Version: 2.3.1 -Release: 55%{?dist} +Release: 56%{?dist} License: GPLv2+ and LGPLv2+ URL: http://www.mpqc.org/ Source0: http://downloads.sourceforge.net/mpqc/%{name}-%{version}.tar.bz2 @@ -190,6 +190,9 @@ done %changelog +* Sun Jan 21 2024 Fedora Release Engineering - 2.3.1-56 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Thu Jul 20 2023 Fedora Release Engineering - 2.3.1-55 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 96ae1464a4a80c927984e77aebd46f9587f0754f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 08:12:42 +0000 Subject: [PATCH 15/25] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- mpqc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mpqc.spec b/mpqc.spec index 4d39ade..4ea505a 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -1,7 +1,7 @@ Name: mpqc Summary: Ab-inito chemistry program Version: 2.3.1 -Release: 56%{?dist} +Release: 57%{?dist} License: GPLv2+ and LGPLv2+ URL: http://www.mpqc.org/ Source0: http://downloads.sourceforge.net/mpqc/%{name}-%{version}.tar.bz2 @@ -190,6 +190,9 @@ done %changelog +* Thu Jan 25 2024 Fedora Release Engineering - 2.3.1-57 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Jan 21 2024 Fedora Release Engineering - 2.3.1-56 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From b4e3a17dc193bcab543bdbae53ce093d88def967 Mon Sep 17 00:00:00 2001 From: Software Management Team Date: Thu, 30 May 2024 12:46:47 +0200 Subject: [PATCH 16/25] Eliminate use of obsolete %patchN syntax (#2283636) --- mpqc.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mpqc.spec b/mpqc.spec index 4ea505a..d76f02f 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -65,9 +65,9 @@ based on mpqc computational chemistry package from Sandia Labs. %prep %setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -b .cpp11 +%patch -P0 -p1 +%patch -P1 -p1 +%patch -P2 -p1 -b .cpp11 sed -i -e 's,molrender.in,%{_datadir}/molrender/molrender.in,g' src/bin/molrender/tkmolrender.in sed -i -e 's,prefix/lib,prefix/%{_lib},g' configure.in # fixup for modern autoreconf From 268cdfa20684ed59fadc08ebb0c1d66fbc52b585 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Fri, 31 May 2024 14:35:51 +0900 Subject: [PATCH 17/25] Update %patch usage for recent rpm --- mpqc.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/mpqc.spec b/mpqc.spec index 4ea505a..166c1e6 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -1,7 +1,7 @@ Name: mpqc Summary: Ab-inito chemistry program Version: 2.3.1 -Release: 57%{?dist} +Release: 58%{?dist} License: GPLv2+ and LGPLv2+ URL: http://www.mpqc.org/ Source0: http://downloads.sourceforge.net/mpqc/%{name}-%{version}.tar.bz2 @@ -65,9 +65,9 @@ based on mpqc computational chemistry package from Sandia Labs. %prep %setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -b .cpp11 +%patch -P0 -p1 +%patch -P1 -p1 +%patch -P2 -p1 -b .cpp11 sed -i -e 's,molrender.in,%{_datadir}/molrender/molrender.in,g' src/bin/molrender/tkmolrender.in sed -i -e 's,prefix/lib,prefix/%{_lib},g' configure.in # fixup for modern autoreconf @@ -190,6 +190,9 @@ done %changelog +* Fri May 31 2024 Mamoru TASAKA - 2.3.1-58 +- Update %%patch usage for recent rpm + * Thu Jan 25 2024 Fedora Release Engineering - 2.3.1-57 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 8ac17032c47ecb33cec2c6ba41db6088deea24f3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 18:46:52 +0000 Subject: [PATCH 18/25] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- mpqc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mpqc.spec b/mpqc.spec index 166c1e6..c355e5d 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -1,7 +1,7 @@ Name: mpqc Summary: Ab-inito chemistry program Version: 2.3.1 -Release: 58%{?dist} +Release: 59%{?dist} License: GPLv2+ and LGPLv2+ URL: http://www.mpqc.org/ Source0: http://downloads.sourceforge.net/mpqc/%{name}-%{version}.tar.bz2 @@ -190,6 +190,9 @@ done %changelog +* Thu Jul 18 2024 Fedora Release Engineering - 2.3.1-59 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Fri May 31 2024 Mamoru TASAKA - 2.3.1-58 - Update %%patch usage for recent rpm From ff4a1cd592f521d0e1ae9a38117c6df7b6a5a402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Mon, 2 Sep 2024 12:00:45 +0200 Subject: [PATCH 19/25] convert license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- mpqc.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mpqc.spec b/mpqc.spec index c355e5d..0860d83 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -1,8 +1,9 @@ Name: mpqc Summary: Ab-inito chemistry program Version: 2.3.1 -Release: 59%{?dist} -License: GPLv2+ and LGPLv2+ +Release: 60%{?dist} +# Automatically converted from old format: GPLv2+ and LGPLv2+ - review is highly recommended. +License: GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+ URL: http://www.mpqc.org/ Source0: http://downloads.sourceforge.net/mpqc/%{name}-%{version}.tar.bz2 Source1: bash-script-noarch @@ -190,6 +191,9 @@ done %changelog +* Mon Sep 02 2024 Miroslav Suchý - 2.3.1-60 +- convert license to SPDX + * Thu Jul 18 2024 Fedora Release Engineering - 2.3.1-59 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From cb3479f5ff29e082433e81d680d5efb56001a8da Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 19:14:49 +0000 Subject: [PATCH 20/25] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- mpqc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mpqc.spec b/mpqc.spec index 0860d83..1bc6d32 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -1,7 +1,7 @@ Name: mpqc Summary: Ab-inito chemistry program Version: 2.3.1 -Release: 60%{?dist} +Release: 61%{?dist} # Automatically converted from old format: GPLv2+ and LGPLv2+ - review is highly recommended. License: GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+ URL: http://www.mpqc.org/ @@ -191,6 +191,9 @@ done %changelog +* Fri Jan 17 2025 Fedora Release Engineering - 2.3.1-61 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Mon Sep 02 2024 Miroslav Suchý - 2.3.1-60 - convert license to SPDX From 112da239612136419f58b2c3de21abd5c8f5cfdb Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Sun, 19 Jan 2025 22:52:54 +0900 Subject: [PATCH 21/25] Support C23 strict function prototype --- mpqc-2.3.1-c23-function-prototype.patch | 74 +++++++++++++++++++++++++ mpqc.spec | 10 +++- 2 files changed, 82 insertions(+), 2 deletions(-) create mode 100644 mpqc-2.3.1-c23-function-prototype.patch diff --git a/mpqc-2.3.1-c23-function-prototype.patch b/mpqc-2.3.1-c23-function-prototype.patch new file mode 100644 index 0000000..93db296 --- /dev/null +++ b/mpqc-2.3.1-c23-function-prototype.patch @@ -0,0 +1,74 @@ +diff --git a/src/lib/math/isosurf/implicit.c b/src/lib/math/isosurf/implicit.c +index c02a0e1..bf37f5c 100644 +--- a/src/lib/math/isosurf/implicit.c ++++ b/src/lib/math/isosurf/implicit.c +@@ -124,8 +124,8 @@ typedef struct intlists { /* list of list of integers */ + } INTLISTS; + + typedef struct process { /* parameters, function, storage */ +- double (*function)(); /* implicit surface function */ +- int (*triproc)(); /* triangle output function */ ++ double (*function)(double, double, double); /* implicit surface function */ ++ int (*triproc)(int, int, int, VERTICES); /* triangle output function */ + double size, delta; /* cube size, normal delta */ + int bounds; /* cube range within lattice */ + POINT start; /* start point on surface */ +@@ -136,14 +136,12 @@ typedef struct process { /* parameters, function, storage */ + EDGELIST **edges; /* edge and vertex id hash table */ + } PROCESS; + +-void *calloc(); +- + #define mycalloc(n,nbyte) _mycalloc(n,nbyte,__LINE__) + #define myfree(ptr) _myfree(ptr,__LINE__) + + static void makecubetable (); + static void free_cubetable(); +-static void converge(POINT*,POINT*,double,double(*f)(),POINT*); ++static void converge(POINT*,POINT*,double,double(*f)(double, double, double),POINT*); + static CORNER *setcorner (PROCESS*, int, int, int); + static int setcenter(CENTERLIST *table[], int, int, int); + static int dotet (CUBE*, int, int, int, int, PROCESS*); +@@ -231,7 +229,7 @@ VERTICES vertices; + + main () + { +- char *err, *polygonize(); ++ char *err; + + keepaspect(1, 1); + winopen("implicit"); +@@ -346,13 +344,12 @@ main () + */ + + char *polygonize (function, size, bounds, x, y, z, triproc, mode) +-double (*function)(), size, x, y, z; +-int bounds, (*triproc)(), mode; ++double (*function)(double, double, double), size, x, y, z; ++int bounds, (*triproc)(int, int, int, VERTICES), mode; + { + PROCESS p; + int n, noabort; +- CORNER *setcorner(); +- TEST in, out, find(); ++ TEST in, out; + + p.function = function; + p.triproc = triproc; +@@ -499,7 +496,6 @@ int i, j, k, face, c1, c2, c3, c4; + { + CUBE new; + CUBES *oldcubes = p->cubes; +- CORNER *setcorner(); + int n, pos = old->corners[c1]->value > 0.0 ? 1 : 0; + /* static int facebit[6] = {2, 2, 1, 1, 0, 0}; */ + /* int bit = facebit[face]; */ +@@ -1015,7 +1011,7 @@ PROCESS *p; + + static void converge (p1, p2, v, function, p) + double v; +-double (*function)(); ++double (*function)(double, double, double); + POINT *p1, *p2, *p; + { + int i = 0; diff --git a/mpqc.spec b/mpqc.spec index 1bc6d32..9cd7c85 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -1,7 +1,7 @@ Name: mpqc Summary: Ab-inito chemistry program Version: 2.3.1 -Release: 61%{?dist} +Release: 62%{?dist} # Automatically converted from old format: GPLv2+ and LGPLv2+ - review is highly recommended. License: GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+ URL: http://www.mpqc.org/ @@ -11,8 +11,10 @@ Patch0: mpqc-2.3.1-mdv-fix-wfn-lib.patch Patch1: mpqc-2.3.1-format-security.patch # C++11 build fix Patch2: mpqc-2.3.1-cpp11-constexpr.patch +# C23 strict function prototype fix +Patch3: mpqc-2.3.1-c23-function-prototype.patch Requires: %{name}-libs%{?_isa} = %{version}-%{release} -BuildRequires: make +BuildRequires: make BuildRequires: gcc-c++ BuildRequires: libtool flex bison BuildRequires: desktop-file-utils @@ -69,6 +71,7 @@ based on mpqc computational chemistry package from Sandia Labs. %patch -P0 -p1 %patch -P1 -p1 %patch -P2 -p1 -b .cpp11 +%patch -P3 -p1 -b .c23 sed -i -e 's,molrender.in,%{_datadir}/molrender/molrender.in,g' src/bin/molrender/tkmolrender.in sed -i -e 's,prefix/lib,prefix/%{_lib},g' configure.in # fixup for modern autoreconf @@ -191,6 +194,9 @@ done %changelog +* Sun Jan 19 2025 Mamoru TASAKA - 2.3.1-62 +- Support C23 strict function prototype + * Fri Jan 17 2025 Fedora Release Engineering - 2.3.1-61 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 49f0c60476477cb7be1c74121312ad105a3e744e Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Mon, 20 Jan 2025 14:21:39 +0900 Subject: [PATCH 22/25] Support C++17, remove deprecated exception specification --- ...-2.3.1-cpp17-exception-specification.patch | 91 +++++++++++++++++++ mpqc.spec | 10 +- 2 files changed, 99 insertions(+), 2 deletions(-) create mode 100644 mpqc-2.3.1-cpp17-exception-specification.patch diff --git a/mpqc-2.3.1-cpp17-exception-specification.patch b/mpqc-2.3.1-cpp17-exception-specification.patch new file mode 100644 index 0000000..5afd1db --- /dev/null +++ b/mpqc-2.3.1-cpp17-exception-specification.patch @@ -0,0 +1,91 @@ +diff --git a/src/lib/chemistry/qc/mbptr12/transform_ijxy.cc b/src/lib/chemistry/qc/mbptr12/transform_ijxy.cc +index 2b45d3b..a25e5f9 100644 +--- a/src/lib/chemistry/qc/mbptr12/transform_ijxy.cc ++++ b/src/lib/chemistry/qc/mbptr12/transform_ijxy.cc +@@ -174,7 +174,7 @@ TwoBodyMOIntsTransform_ijxy::init_acc() + } + + void +-TwoBodyMOIntsTransform_ijxy::check_int_symm(double threshold) const throw (ProgrammingError) ++TwoBodyMOIntsTransform_ijxy::check_int_symm(double threshold) const /*throw (ProgrammingError)*/ + { + Ref iacc = ints_acc(); + if (!iacc->is_committed()) +diff --git a/src/lib/chemistry/qc/mbptr12/transform_ijxy.h b/src/lib/chemistry/qc/mbptr12/transform_ijxy.h +index 3407cb3..ecb61c6 100644 +--- a/src/lib/chemistry/qc/mbptr12/transform_ijxy.h ++++ b/src/lib/chemistry/qc/mbptr12/transform_ijxy.h +@@ -70,7 +70,7 @@ public: + /// Computes transformed integrals + void compute(); + /// Check symmetry of transformed integrals +- void check_int_symm(double threshold = TwoBodyMOIntsTransform::zero_integral) const throw (ProgrammingError); ++ void check_int_symm(double threshold = TwoBodyMOIntsTransform::zero_integral) const /*throw (ProgrammingError)*/; + }; + + } +diff --git a/src/lib/chemistry/qc/mbptr12/transform_ikjy.cc b/src/lib/chemistry/qc/mbptr12/transform_ikjy.cc +index ccb8d45..43c2fb6 100644 +--- a/src/lib/chemistry/qc/mbptr12/transform_ikjy.cc ++++ b/src/lib/chemistry/qc/mbptr12/transform_ikjy.cc +@@ -175,7 +175,7 @@ TwoBodyMOIntsTransform_ikjy::init_acc() + } + + void +-TwoBodyMOIntsTransform_ikjy::check_int_symm(double threshold) const throw (ProgrammingError) ++TwoBodyMOIntsTransform_ikjy::check_int_symm(double threshold) const /*throw (ProgrammingError)*/ + { + Ref iacc = ints_acc(); + if (!iacc->is_committed()) +diff --git a/src/lib/chemistry/qc/mbptr12/transform_ikjy.h b/src/lib/chemistry/qc/mbptr12/transform_ikjy.h +index 5697813..4be38e4 100644 +--- a/src/lib/chemistry/qc/mbptr12/transform_ikjy.h ++++ b/src/lib/chemistry/qc/mbptr12/transform_ikjy.h +@@ -70,7 +70,7 @@ public: + /// Computes transformed integrals + void compute(); + /// Check symmetry of transformed integrals +- void check_int_symm(double threshold = TwoBodyMOIntsTransform::zero_integral) const throw (ProgrammingError); ++ void check_int_symm(double threshold = TwoBodyMOIntsTransform::zero_integral) const /*throw (ProgrammingError)*/; + }; + + } +diff --git a/src/lib/chemistry/qc/mbptr12/transform_ixjy.cc b/src/lib/chemistry/qc/mbptr12/transform_ixjy.cc +index 2548296..b4f08cd 100644 +--- a/src/lib/chemistry/qc/mbptr12/transform_ixjy.cc ++++ b/src/lib/chemistry/qc/mbptr12/transform_ixjy.cc +@@ -182,7 +182,7 @@ TwoBodyMOIntsTransform_ixjy::init_acc() + } + + void +-TwoBodyMOIntsTransform_ixjy::check_int_symm(double threshold) const throw (ProgrammingError) ++TwoBodyMOIntsTransform_ixjy::check_int_symm(double threshold) const /*throw (ProgrammingError)*/ + { + Ref iacc = ints_acc(); + if (!iacc->is_committed()) +diff --git a/src/lib/chemistry/qc/mbptr12/transform_ixjy.h b/src/lib/chemistry/qc/mbptr12/transform_ixjy.h +index 8fda231..a10e4ef 100644 +--- a/src/lib/chemistry/qc/mbptr12/transform_ixjy.h ++++ b/src/lib/chemistry/qc/mbptr12/transform_ixjy.h +@@ -71,7 +71,7 @@ public: + /// Computes transformed integrals + void compute(); + /// Check symmetry of transformed integrals +- void check_int_symm(double threshold = TwoBodyMOIntsTransform::zero_integral) const throw (ProgrammingError); ++ void check_int_symm(double threshold = TwoBodyMOIntsTransform::zero_integral) const /*throw (ProgrammingError)*/; + }; + + } +diff --git a/src/lib/chemistry/qc/mbptr12/transform_tbint.h b/src/lib/chemistry/qc/mbptr12/transform_tbint.h +index 731a53c..57e4e19 100644 +--- a/src/lib/chemistry/qc/mbptr12/transform_tbint.h ++++ b/src/lib/chemistry/qc/mbptr12/transform_tbint.h +@@ -196,7 +196,7 @@ public: + /// Computes transformed integrals + virtual void compute() = 0; + /// Check symmetry of transformed integrals +- virtual void check_int_symm(double threshold = TwoBodyMOIntsTransform::zero_integral) const throw (ProgrammingError) =0; ++ virtual void check_int_symm(double threshold = TwoBodyMOIntsTransform::zero_integral) const /*throw (ProgrammingError)*/ =0; + /// Make the transform obsolete. Next call to compute() will recompute + virtual void obsolete(); + diff --git a/mpqc.spec b/mpqc.spec index 9cd7c85..f584fb0 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -1,7 +1,7 @@ Name: mpqc Summary: Ab-inito chemistry program Version: 2.3.1 -Release: 62%{?dist} +Release: 63%{?dist} # Automatically converted from old format: GPLv2+ and LGPLv2+ - review is highly recommended. License: GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+ URL: http://www.mpqc.org/ @@ -13,6 +13,8 @@ Patch1: mpqc-2.3.1-format-security.patch Patch2: mpqc-2.3.1-cpp11-constexpr.patch # C23 strict function prototype fix Patch3: mpqc-2.3.1-c23-function-prototype.patch +# C++17 build fix: remove deprecated exception specification +Patch4: mpqc-2.3.1-cpp17-exception-specification.patch Requires: %{name}-libs%{?_isa} = %{version}-%{release} BuildRequires: make BuildRequires: gcc-c++ @@ -72,6 +74,8 @@ based on mpqc computational chemistry package from Sandia Labs. %patch -P1 -p1 %patch -P2 -p1 -b .cpp11 %patch -P3 -p1 -b .c23 +%patch -P4 -p1 -b .cpp17 + sed -i -e 's,molrender.in,%{_datadir}/molrender/molrender.in,g' src/bin/molrender/tkmolrender.in sed -i -e 's,prefix/lib,prefix/%{_lib},g' configure.in # fixup for modern autoreconf @@ -98,7 +102,6 @@ Version=1.0 EOF %build -export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS" export F77=gfortran autoreconf -v -f -i -I lib/autoconf @@ -194,6 +197,9 @@ done %changelog +* Mon Jan 20 2025 Mamoru TASAKA - 2.3.1-63 +- Support C++17, remove deprecated exception specification + * Sun Jan 19 2025 Mamoru TASAKA - 2.3.1-62 - Support C23 strict function prototype From c926d200eec0e27597d34715a204ce43e91e1493 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Fri, 31 Jan 2025 11:25:57 +0900 Subject: [PATCH 23/25] Use wish instead of tk for BuildRequires F42: rebuild with wish in tk9 --- mpqc.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mpqc.spec b/mpqc.spec index f584fb0..90b57ed 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -1,7 +1,7 @@ Name: mpqc Summary: Ab-inito chemistry program Version: 2.3.1 -Release: 63%{?dist} +Release: 64%{?dist} # Automatically converted from old format: GPLv2+ and LGPLv2+ - review is highly recommended. License: GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+ URL: http://www.mpqc.org/ @@ -20,7 +20,9 @@ BuildRequires: make BuildRequires: gcc-c++ BuildRequires: libtool flex bison BuildRequires: desktop-file-utils -BuildRequires: gcc-gfortran perl-generators tk doxygen +BuildRequires: gcc-gfortran perl-generators +BuildRequires: doxygen +BuildRequires: /usr/bin/wish BuildRequires: libint-devel BuildRequires: flexiblas-devel @@ -197,6 +199,10 @@ done %changelog +* Fri Jan 31 2025 Mamoru TASAKA - 2.3.1-64 +- Use wish instead of tk for BuildRequires +- F42: rebuild with wish in tk9 + * Mon Jan 20 2025 Mamoru TASAKA - 2.3.1-63 - Support C++17, remove deprecated exception specification From 2005ee245aaab3c953bdc3576fce71433b70d330 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 22:24:52 +0000 Subject: [PATCH 24/25] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- mpqc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mpqc.spec b/mpqc.spec index 90b57ed..7bb2cf1 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -1,7 +1,7 @@ Name: mpqc Summary: Ab-inito chemistry program Version: 2.3.1 -Release: 64%{?dist} +Release: 65%{?dist} # Automatically converted from old format: GPLv2+ and LGPLv2+ - review is highly recommended. License: GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+ URL: http://www.mpqc.org/ @@ -199,6 +199,9 @@ done %changelog +* Thu Jul 24 2025 Fedora Release Engineering - 2.3.1-65 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Fri Jan 31 2025 Mamoru TASAKA - 2.3.1-64 - Use wish instead of tk for BuildRequires - F42: rebuild with wish in tk9 From 24ab625d16064e44e45f6234109ebd5dc3883dcf Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Thu, 15 Jan 2026 15:04:00 +0900 Subject: [PATCH 25/25] c++20 fix for std::istream redirect operator change --- mpqc-2.3.1-cpp20-std_istream-redirect.patch | 29 +++++++++++++++++++++ mpqc.spec | 8 +++++- 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 mpqc-2.3.1-cpp20-std_istream-redirect.patch diff --git a/mpqc-2.3.1-cpp20-std_istream-redirect.patch b/mpqc-2.3.1-cpp20-std_istream-redirect.patch new file mode 100644 index 0000000..54c3ab0 --- /dev/null +++ b/mpqc-2.3.1-cpp20-std_istream-redirect.patch @@ -0,0 +1,29 @@ +--- mpqc-2.3.1/src/lib/util/state/state_text.cc.cpp20 2002-10-11 04:58:21.000000000 +0900 ++++ mpqc-2.3.1/src/lib/util/state/state_text.cc 2026-01-15 14:40:20.392566622 +0900 +@@ -138,6 +138,7 @@ StateInText::no_array() + + /////////////////////////////////////////////////////////////////////// + ++/* + int + StateInText::read(char*s) + { +@@ -149,6 +150,7 @@ StateInText::read(char*s) + } + return strlen(s)+1; + } ++*/ + + int + StateInText::read(unsigned int&i) +--- mpqc-2.3.1/src/lib/util/state/state_text.h.cpp20 2002-04-03 15:44:40.000000000 +0900 ++++ mpqc-2.3.1/src/lib/util/state/state_text.h 2026-01-15 14:40:28.004235129 +0900 +@@ -94,7 +94,7 @@ class StateInText: public StateInFile { + void no_newline(); + void no_array(); + +- int read(char*); ++ /* int read(char*); */ + int read(unsigned int&); + int read(int&); + int read(float&); diff --git a/mpqc.spec b/mpqc.spec index 7bb2cf1..4253eb1 100644 --- a/mpqc.spec +++ b/mpqc.spec @@ -1,7 +1,7 @@ Name: mpqc Summary: Ab-inito chemistry program Version: 2.3.1 -Release: 65%{?dist} +Release: 66%{?dist} # Automatically converted from old format: GPLv2+ and LGPLv2+ - review is highly recommended. License: GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+ URL: http://www.mpqc.org/ @@ -15,6 +15,8 @@ Patch2: mpqc-2.3.1-cpp11-constexpr.patch Patch3: mpqc-2.3.1-c23-function-prototype.patch # C++17 build fix: remove deprecated exception specification Patch4: mpqc-2.3.1-cpp17-exception-specification.patch +# C++20 fix: std::istream operator>>(char *) removal +Patch5: mpqc-2.3.1-cpp20-std_istream-redirect.patch Requires: %{name}-libs%{?_isa} = %{version}-%{release} BuildRequires: make BuildRequires: gcc-c++ @@ -77,6 +79,7 @@ based on mpqc computational chemistry package from Sandia Labs. %patch -P2 -p1 -b .cpp11 %patch -P3 -p1 -b .c23 %patch -P4 -p1 -b .cpp17 +%patch -P5 -p1 -b .cpp20 sed -i -e 's,molrender.in,%{_datadir}/molrender/molrender.in,g' src/bin/molrender/tkmolrender.in sed -i -e 's,prefix/lib,prefix/%{_lib},g' configure.in @@ -199,6 +202,9 @@ done %changelog +* Thu Jan 15 2026 Mamoru TASAKA - 2.3.1-66 +- c++20 fix for std::istream redirect operator change + * Thu Jul 24 2025 Fedora Release Engineering - 2.3.1-65 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild