Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package petsc for openSUSE:Factory checked in at 2026-05-09 12:59:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/petsc (Old) and /work/SRC/openSUSE:Factory/.petsc.new.1966 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "petsc" Sat May 9 12:59:43 2026 rev:43 rq:1352052 version:3.25.1 Changes: -------- --- /work/SRC/openSUSE:Factory/petsc/petsc.changes 2025-09-17 16:44:13.534853073 +0200 +++ /work/SRC/openSUSE:Factory/.petsc.new.1966/petsc.changes 2026-05-09 12:59:53.465277410 +0200 @@ -1,0 +2,34 @@ +Tue May 5 15:25:16 UTC 2026 - Atri Bhattacharya <[email protected]> + +- Update to version 3.25.1: + * No upstream release notes. +- Changes from version 3.25.0: + * Long list of changes, see + <https://petsc.org/release/changes/325/> +- Rebase Allow-lib64-as-library-directory-for-scalapack.patch for + update. +- Add shared library conflict against older 3.24 version to avoid + upgrade issues. + +------------------------------------------------------------------- +Sun Mar 8 17:59:55 UTC 2026 - Atri Bhattacharya <[email protected]> + +- Split off -data subpackage and require it from shared library + and devel package to prevent shared library conflicts when + upgrading. +- Add shared library conflict against older 3.23 version to avoid + upgrade issues. + +------------------------------------------------------------------- +Tue Mar 3 08:29:43 UTC 2026 - Atri Bhattacharya <[email protected]> + +- Update to version 3.24.5: + * No upstream release notes. +- Changes from version 3.24.0: + * Long list of changes, see + https://petsc.org/release/changes/324/ +- Re-base patches for update: + * Allow-lib64-as-library-directory-for-scalapack.patch + * petsc-fix-libdir.patch + +------------------------------------------------------------------- Old: ---- petsc-3.23.0.tar.gz New: ---- petsc-3.25.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ petsc.spec ++++++ --- /var/tmp/diff_new_pack.RLscAm/_old 2026-05-09 12:59:54.221308433 +0200 +++ /var/tmp/diff_new_pack.RLscAm/_new 2026-05-09 12:59:54.225308597 +0200 @@ -1,8 +1,8 @@ # # spec file for package petsc # -# Copyright (c) 2025 SUSE LLC -# Copyright (c) 2025 Atri B. <[email protected]> +# Copyright (c) 2026 SUSE LLC and contributors +# Copyright (c) 2026 Atri B. <[email protected]> # Copyright (c) 2024 Andreas Stieger <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -22,7 +22,7 @@ # Please also update slepc, which is version locked with petsc %define pname petsc -%define so_ver 3_23 +%define so_ver 3_25 ExcludeArch: s390 s390x @@ -71,7 +71,7 @@ Summary: Portable Extensible Toolkit for Scientific Computation License: BSD-2-Clause Group: Development/Libraries/C and C++ -Version: 3.23.0 +Version: 3.25.1 Release: 0 URL: https://www.mcs.anl.gov/petsc/ Source: https://web.cels.anl.gov/projects/petsc/download/release-snapshots/petsc-%{version}.tar.gz @@ -121,6 +121,9 @@ Group: System/Libraries # Fixup wrong package name Conflicts: libpetsc3%{?mpi_suffix} +Conflicts: lib%{pname}3_23%{?mpi_suffix} +Conflicts: lib%{pname}3_24%{?mpi_suffix} +Requires: %{name}-data = %{version} %description -n %{libname} PETSc is a suite of data structures and routines for the scalable @@ -131,6 +134,7 @@ Summary: Devel files for petsc Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} +Requires: %{name}-data = %{version} Requires: hdf5%{?mpi_suffix}-devel Requires: suitesparse-devel Requires: pkgconfig(yaml-0.1) @@ -158,6 +162,19 @@ %description doc This package contains the documentation for petsc. +%package data +Summary: Data and other shared files for petsc +Group: Development/Libraries/C and C++ +Conflicts: lib%{pname}3_23%{?mpi_suffix} + +%description data +PETSc is a suite of data structures and routines for the scalable +(parallel) solution of scientific applications modeled by partial +differential equations. + +This package provides data and other shared files for use by petsc shared +library and devel package. + %prep %setup -q -n petsc-%{version} @@ -282,9 +299,6 @@ %files -n %{libname} %{p_libdir}/*.so.* -%{p_prefix}/share/petsc/ -%exclude %{p_prefix}/share/petsc/examples -%exclude %{p_prefix}/share/petsc/saws %files %{?n_pre}devel %exclude %{p_libdir}/petsc/bin/saws @@ -299,3 +313,8 @@ %{p_libdir}/pkgconfig/*.pc %doc %{p_prefix}/share/petsc/examples +%files data +%{p_prefix}/share/petsc/ +%exclude %{p_prefix}/share/petsc/examples +%exclude %{p_prefix}/share/petsc/saws + ++++++ Allow-lib64-as-library-directory-for-scalapack.patch ++++++ --- /var/tmp/diff_new_pack.RLscAm/_old 2026-05-09 12:59:54.249309581 +0200 +++ /var/tmp/diff_new_pack.RLscAm/_new 2026-05-09 12:59:54.253309746 +0200 @@ -8,19 +8,19 @@ Signed-off-by: Egbert Eich <[email protected]> Signed-off-by: Egbert Eich <[email protected]> --- - config/BuildSystem/config/packages/scalapack.py | 2 +- + config/BuildSystem/config/packages/ScaLAPACK.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: petsc-3.23.0/config/BuildSystem/config/packages/scalapack.py +Index: petsc-3.25.1/config/BuildSystem/config/packages/ScaLAPACK.py =================================================================== ---- petsc-3.23.0.orig/config/BuildSystem/config/packages/scalapack.py -+++ petsc-3.23.0/config/BuildSystem/config/packages/scalapack.py -@@ -20,7 +20,7 @@ class Configure(config.package.CMakePack +--- petsc-3.25.1.orig/config/BuildSystem/config/packages/ScaLAPACK.py ++++ petsc-3.25.1/config/BuildSystem/config/packages/ScaLAPACK.py +@@ -19,7 +19,7 @@ class Configure(config.package.CMakePack self.downloadonWindows= 1 self.makerulename = 'scalapack' - self.minCmakeVersion = (3,9,0) + self.minCmakeVersion = (3,26,0) - self.libDirs = ['lib',os.path.join('lib','intel64')] + self.libDirs = ['lib','lib64',os.path.join('lib','intel64')] - self.requirekandr = 1 return + def setupDependencies(self, framework): ++++++ petsc-3.23.0.tar.gz -> petsc-3.25.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/petsc/petsc-3.23.0.tar.gz /work/SRC/openSUSE:Factory/.petsc.new.1966/petsc-3.25.1.tar.gz differ: char 13, line 1 ++++++ petsc-fix-libdir.patch ++++++ --- /var/tmp/diff_new_pack.RLscAm/_old 2026-05-09 12:59:54.317312372 +0200 +++ /var/tmp/diff_new_pack.RLscAm/_new 2026-05-09 12:59:54.321312535 +0200 @@ -4,14 +4,14 @@ Subject: [PATCH] libdir --- - config/PETSc/Configure.py | 6 ++++-- - config/install.py | 14 ++++++++------ - 2 files changed, 12 insertions(+), 8 deletions(-) + config/PETSc/Configure.py | 7 +++++-- + config/install.py | 14 ++++++++------ + 2 files changed, 13 insertions(+), 8 deletions(-) -Index: petsc-3.23.0/config/PETSc/Configure.py +Index: petsc-3.24.5/config/PETSc/Configure.py =================================================================== ---- petsc-3.23.0.orig/config/PETSc/Configure.py -+++ petsc-3.23.0/config/PETSc/Configure.py +--- petsc-3.24.5.orig/config/PETSc/Configure.py ++++ petsc-3.24.5/config/PETSc/Configure.py @@ -2,9 +2,12 @@ import config.base import os @@ -34,7 +34,7 @@ with self.setCompilers.Language('C'): fd.write('ccompiler='+self.setCompilers.getCompiler()+'\n') -@@ -449,7 +452,7 @@ prepend-path PATH "%s" +@@ -460,7 +463,7 @@ prepend-path PATH "%s" self.addMakeMacro('PETSC_FC_INCLUDES',self.headers.toStringNoDupes(allincludes,modinc(allincludes))) self.addMakeMacro('PETSC_FC_INCLUDES_INSTALL',self.headers.toStringNoDupes(allincludes_install,modinc(allincludes_install))) @@ -43,20 +43,19 @@ self.addDefine('LIB_DIR','"'+LIB_DIR+'"') # Use build dir here for 'make check' to work before 'make install' PREINSTALL_LIB_DIR = os.path.join(self.petscdir.dir,self.arch.arch,'lib') -Index: petsc-3.23.0/config/install.py +Index: petsc-3.24.5/config/install.py =================================================================== ---- petsc-3.23.0.orig/config/install.py -+++ petsc-3.23.0/config/install.py -@@ -1,6 +1,8 @@ - #!/usr/bin/env python3 - from __future__ import print_function --import os, re, shutil, sys -+import os, re, shutil, sys, sysconfig -+ -+LIB = sysconfig.get_config_var('platlibdir') or 'lib' +--- petsc-3.24.5.orig/config/install.py ++++ petsc-3.24.5/config/install.py +@@ -3,6 +3,8 @@ from __future__ import print_function + import os, re, shutil, sys + import sysconfig ++LIB = sysconfig.get_config_var('platlibdir') or 'lib' ++ if 'PETSC_DIR' in os.environ: PETSC_DIR = os.environ['PETSC_DIR'] + else: @@ -77,12 +79,12 @@ class Installer(script.Script): self.archBinDir = os.path.join(self.rootDir, self.arch, 'bin') self.archLibDir = os.path.join(self.rootDir, self.arch, 'lib') @@ -75,7 +74,7 @@ self.rootShareDir = os.path.join(self.rootDir, 'share') self.destShareDir = os.path.join(self.destDir, 'share') self.rootSrcDir = os.path.join(self.rootDir, 'src') -@@ -344,7 +346,7 @@ class Installer(script.Script): +@@ -361,7 +363,7 @@ class Installer(script.Script): return glob.glob(os.path.join(dirname, *patterns)) def shell(*args): return self.executeShellCommand(' '.join(args))[0]
