Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2024-06-20 16:47:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/petsc (Old)
 and      /work/SRC/openSUSE:Factory/.petsc.new.18349 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "petsc"

Thu Jun 20 16:47:42 2024 rev:35 rq:1181786 version:3.21.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/petsc/petsc.changes      2023-12-25 
19:06:11.647439381 +0100
+++ /work/SRC/openSUSE:Factory/.petsc.new.18349/petsc.changes   2024-06-20 
16:48:10.419685161 +0200
@@ -1,0 +2,768 @@
+Tue Jun 18 05:25:24 UTC 2024 - Egbert Eich <e...@suse.com>
+
+- Update to version 3.21:
+  - General:
+    * Add single precision support for using HYPRE and MFEM
+    * Require Fortran 2003 compiler with `GET_COMMAND_ARGUMENT()` support
+      for building PETSc with Fortran bindings
+  - Sys:
+    * Add `PetscBench` an object class for managing benchmarks in PETSc
+    * Deprecate `PetscVoidFunction`, `PetscVoidStarFunction`, and
+      `PetscErrorCodeFunction` typedefs in favor of `PetscVoidFn` and
+      `PetscErrorCodeFn`.
+    * Add `PetscOptionsBoundedReal()` and `PetscOptionsRangeReal()`.
+    * Rename Petsc stream types to `PETSC_STREAM_DEFAULT`,
+      `PETSC_STREAM_NONBLOCKING`, `PETSC_STREAM_DEFAULT`_WITH_BARRIER` and
+      `PETSC_STREAM_NONBLOCKING_WITH_BARRIER`. The root device context uses
+      `PETSC_STREAM_DEFAULT` by default.
+  - PetscViewer:
+    * Change `PetscViewerRestoreSubViewer()` to no longer need a call to
+      `PetscViewerFlush()` after it.
+    * Introduce `PetscOptionsRestoreViewer()` that must be called after
+      `PetscOptionsGetViewer()` and `PetscOptionsGetViewers()` to ensure
+      thread safety.
+    * Add `PetscViewerASCIIWORLDSetFileUnit()`.
+  - VecScatter / PetscSF:
+     * Add MPI-4.0 persistent neighborhood collectives support. Use
+       `-sf_neighbor_persistent` along with `-sf_type` neighbor to enable it.
+     * Add `PetscSFCreateStridedSF()` to communicate strided blocks of data/
+  - Vec:
+    * Add `VecGhostGetGhostIS()` to get the ghost indices of a ghosted vector.
+    * Add `-vec_mdot_use_gemv` to let `VecMDot()`, `VecMTDot()` use BLAS2
+      `gemv()` instead of custom unrolled kernel. Default is on.
+    * Add `-vec_maxpy_use_gemv` to let `VecMAXPY()` use BLAS2 `gemv()`
+      instead of custom unrolled kernel. Default is off.
+    * `VecReplaceArray()` on the first Vec obtained from `VecDuplicateVecs()`
+      with either of the two above *_use_gemv options won’t work anymore.
+      If needed, turn them off or use VecDuplicateVec() instead `VecScale()`
+      is now a logically collective operation.
+    * Add `VecISShift()` to shift a part of the vector.
+    * `VecISSet()` does no longer accept NULL as index set.
+    * `VecLoad()` automatically determines whether the file was written
+      using 32-bit or 64-bit indices, and files can read with PETSc built
+      either way.
+  - PetscSection:
+    * Add `PetscSectionGetBlockStarts()` and `PetscSectionSetBlockStarts()`.
+    * Add argument to `PetscSectionCreateGlobalSection()` that can ignore
+      the local section permutation.
+    * Add `PetscSectionCreateComponentSubsection()`.
+  - PetscPartitioner:
+    * Add edge weights to `PetscPartitionerPartition()`
+  - Mat:
+    * Reset `MATLMVM` history vectors if size is changed.
+    * Add specific support for `MatMultHermitianTranspose()` and
+      `MatMultHermitianTransposeAdd()` in `MATSHELL`, `MATDENSE`,
+      `MATNEST`, and `MATSCALAPACK`
+    * Add function `MatProductGetAlgorithm()` `MATTRANSPOSEVIRTUAL`,
+      `MATHERMITIANTRANSPOSEVIRTUAL`, `MATNORMAL`, `MATNORMALHERMITIAN`
+      and `MATCOMPOSITE` now derive from `MATSHELL`. This implies a new
+      behavior for those Mat, as calling `MatAssemblyBegin()`/
+      `MatAssemblyEnd()` destroys scalings and shifts for `MATSHELL`, but
+      it was not previously the case for other `MatType`.
+    * Add function `MatGetRowSumAbs()` to compute vector of L1 norms of
+      rows ([`B`]`AIJ` only).
+    * Add partial support for `MatBackwardSolve()`/`MatForwardSolve()` with
+      `MATSOLVERMKL_PARDISO` and `MATSOLVERMKL_CPARDISO`.
+    * Deprecate `MATIS` options `-matis_xxx`. Use `-mat_is_xxx`.
+    * Add support for repeated entries in the local part of the local to
+      global map for `MATIS` via the routines `MatISSetAllowRepeated()`
+      and `MatISGetAllowRepeated()`.
+    * Add support to dump and load a matrix of `MATIS` type.
+    * Add dense representations of symmetric Broyden matrices
+      `MATLMVMDBFGS`, `MATLMVMDDFP`, and `MATLMVMDQN`.
+    * Add `MATSELLHIP` and the corresponding HIP kernels for matrix-vector
+      multiplication.
+  - MatCoarsen:
+    * Add `MatCoarsenSetMaximumIterations()` with corresponding option
+      `-mat_coarsen_max_it <4>`. The number of iteration of the coarsening
+      method. Used for the HEM coarsener.
+    * Add `MatCoarsenSetThreshold()` with corresponding option
+      `-mat_coarsen_threshold <-1>`. Threshold for filtering graph for HEM.
+      Like GAMG < 0 means no filtering.
+    * Change API for several PetscCD methods used internally in `PCGAMG` and
+      `MatCoarsen` (eg, change `PetscCDSetChuckSize()` to
+      `PetscCDSetChunckSize()`), remove Mat argument from
+      `PetscCDGetASMBlocks()`.
+  - PC:
+    * Add `PCGAMGSetLowMemoryFilter()` with corresponding option
+      `-pc_gamg_low_memory_threshold_filter`. Use the system `MatFilter`
+      graph/matrix filter, without a temporary copy of the graph, otherwise
+      use method that can be faster.
+    * Add `PCGAMGASMSetHEM()` with corresponding option
+      `-pc_gamg_asm_hem_aggs N`. Use ASM smoother constructed from N
+      applications of heavy edge matching.
+    * `PCMAT` use `MatSolve()` if implemented by the matrix type.
+    * Add `PCLMVMSetUpdateVec()` for the automatic update of the LMVM
+      preconditioner inside a SNES solve.
+    * Add `PCGAMGSetInjectionIndex()` with corresponding option
+      `-pc_gamg_injection_index i,j,k...`. Inject provided indices of fine
+      grid operator as first coarse grid restriction (sort of p-multigrid
+      for C1 elements).
+    * Add `PC_JACOBI_ROWL1` to `PCJacobiType` to use (scaled) l1 row norms
+      for diagonal approximation with scaling of off-diagonal elements.
+    * Add `PCJacobiSetRowl1Scale()` and `-pc_jacobi_rowl1_scale` scale to
+      access new scale member of PC_Jacobi class, for new row l1 Jacobi.
+    * Add `-mg_fine_...` prefix alias for fine grid options to override
+      `-mg_levels_...` options, like `-mg_coarse_...`.
+    * The generated sub-matrices in `PCFIELDSPLIT`, `PCASM`, and `PCBJACOBI`
+      now retain any null space or near null space attached to them even
+      if the non-zero structure of the outer matrix changes.
+    * Add support for multiple subdomain per MPI process in `PCBDDC`.
+    * Add `PCJacobiGetDiagonal()` to access the Jacobi inverted matrix
+      diagonal and its square root variant.
+  - SNES:
+    * Add support for Quasi-Newton models in `SNESNEWTONTR` via
+      `SNESNewtonTRSetQNType`.
+    * Add support for trust region norm customization in `SNESNEWTONTR` via
+      `SNESNewtonTRSetNormType`.
+    * Remove default of `KSPPREONLY` and `PCLU` for `SNESNASM` subdomain
+      solves: for `SNESASPIN` use `-npc_sub_ksp_type preonly -npc_sub_pc_type
+      lu`.
+    * Add function typedefs `SNESInitialGuessFn`, `SNESFunctionFn`,
+      `SNESObjectiveFn`, `SNESJacobianFn`, and `SNESNGSFn`.
+    * Deprecate `DMDASNESFunction`, `DMDASNESJacobian`, `DMDASNESObjective`,
+      `DMDASNESFunctionVec`, `DMDASNESJacobianVec`, and `DMDASNESObjectiveVec`
+      in favor of `DMDASNESFunctionFn`, `DMDASNESJacobianFn`,
+      `DMDASNESObjectiveFn`, `DMDASNESFunctionVecFn`, `DMDASNESJacobianVecFn`,
+      and `DMDASNESObjectiveVecFn`.
+  - SNESLineSearch:
+    * Deprecate `SNESLineSearchShellSetUserFunc()` and
+      `SNESLineSearchShellGetUserFunc()` in favor of
+      `SNESLineSearchShellSetApply()` and `SNESLineSearchShellGetApply()`.
+  - TS:
+    * Add support for custom predictor callbacks in the second-order
+      generalized-alpha method using `TSAlpha2SetPredictor()`.
+    * Allow adaptivity to change time step size in first step of
+      second-order generalized-alpha method.
+    * Add `TSSetPostEventStep()` to control the first step after event.
+    * Rename `TSSetPostEventIntervalStep()` to `TSSetPostEventSecondStep()`,
+      controlling the second step after event.
+    * Rename option `-ts_event_post_eventinterval_step` to
+      `-ts_event_post_event_second_step`.
+    * Change the (event) indicator functions type from `PetscScalar[]` to
+      `PetscReal[]` in the user `indicator()` callback set by
+      `TSSetEventHandler()`.
+    * Add `TSGetStepRollBack()` to access the internal rollback flag.
+    * Add boolean flag to TSSetResize() to control when to resize.
+  - TAO:
+    * Deprecate `TaoCancelMonitors()` (resp. `-tao_cancelmonitors`) in
+      favor of `TaoMonitorCancel()` (resp. `-tao_monitor_cancel`).
+    * Deprecate `-tao_view_gradient`, `-tao_view_ls_residual`,
+      `-tao_view_solution`, and `-tao_view_stepdirection` in favor of
+      `-tao_monitor_gradient`, `-tao_monitor_ls_residual`,
+      `-tao_monitor_solution`, and `-tao_monitor_step`.
+    * Deprecate `-tao_draw_solution`, `-tao_draw_gradient`, and
+      `-tao_draw_step` in favor of `-tao_monitor_solution_draw`,
+      `-tao_monitor_gradient_draw`, and `-tao_monitor_step_draw`.
+    * Deprecate `TaoSetMonitor()` in favor of `TaoMonitorSet()`.
+    * Deprecate all of the provided Tao monitor routine names in favor of
+      the standard PETSc naming conventions.
+  - DM/DA:
+    * Add MPI reduction inside `SNESComputeObjective_DMDA()`. No need to
+      call reduction in local callback.
+    * Deprecate `PetscSimplePointFunc` in favor of `PetscSimplePointFn`.
+    * Move `DMPlexReorderDefaultFlag` to `DMReorderDefaultFlag`.
+    * Add `DMCreateSectionPermutation()`, `DMReorderSectionGetType()`,
+      and `DMReorderSectionSetType()`.
+    * Add `DMReorderSectionGetDefault()` and `DMReorderSectionSetDefault()`
+      to allow point permutations when sections are built automatically.
+    * Change interface to `DMCreateSectionSubDM()` to add component
+       specification.
+    * Add DMDAGetBoundaryType().
+  - DMSwarm:
+    * Add continuous DM argument to `DMSwarmProjectFields()`.
+    * Add `DMSwarmGetFieldInfo()`.
+    * Add `DMSwarmVectorGetField()`.
+  - DMPlex:
+    * Drop support for MED, i.e. remove `DMPlexCreateMedFromFile()` and
+      `--with-med`.
+    * Change protototype of `DMPlexSetSNESLocalFEM()`. Now it accepts a
+      single context and a Boolean indicating to use the objective function
+      callback.
+    * Replace `DMProjectCoordinates()` with `DMSetCoordinateDisc()`.
+    * Add argument to `DMPlexCreateCoordinateSpace()`.
+    * Add `DMPlexCoordMap` and some default maps.
+    * Add Boolean argument to `DMPlexPartitionLabelCreateSF()` to sort ranks.
+    * Add `DMClearAuxiliaryVec()` to clear the auxiliary data.
+    * Add `ignoreLabelHalo`, `sanitizeSubmesh`, and `ownershipTransferSF`
+      arguments to `DMPlexFilter()`.
+    * Change `DMPlexSetIsoperiodicFaceSF()`, `DMPlexGetIsoperiodicFaceSF()`,
+      and `DMPlexSetIsoperiodicFaceTransform()` to accept multiple values
+      for different periodic pairings.
+  - FE/FV:
+    * Add Jacobian type argument to `PetscFEIntegrateBdJacobian()`.
+    * Add `PetscFVClone()`.
+    * Add `PetscFVCreateDualSpace()`.
+  - DMStag:
+    * Add support for `DMLocalToLocalBegin()` and `DMLocalToLocalEnd()`.
+    * Add `DMStagSetRefinementFactor()` and `DMStagGetRefinementFactor()`
+      to set and get the refinement ratio.
+    * Add support for arbitrary refinement ratio and degree of freedom in
+      interpolation and restriction.
+  - DT:
+    * Add `PetscDSUpdateBoundaryLabels()`.
+
+- Update to version 3.20:
+  - General:
+    * Add `PetscOptionsBegin()`, `PetscOptionsEnd()`, `PetscOptionsInt()`,
+      `PetscOptionsBool()`, `PetscOptionsIntArray()`, `PetscOptionsReal()`,
+      `PetscOptionsRealArray()`, and `PetscOptionsScalar()` for Fortran.
+    * Add `PetscAssertPointer()` as a replacement for `PetscValidPointer()`,
+      `PetscValidCharPointer()`, `PetscValidIntPointer()`,
+      `PetscValidInt64Pointer()`, `PetscValidCountPointer()`,
+      `PetscValidBoolPointer()`, `PetscvalidScalarPointer()`, and
+      `PetscValidRealPointer()`.
+    *  Convert standard header-guards in PETSc header-files to `#pragma`
+       once. Users relying on specific preprocessor definitions to determine
+       whether particular PETSc headers (e.g. `petscdm.h` used to be guarded
+       by PETSCDM_H) have been included will find that this no longer works.
+       While header-guards are technically “public” (insofar that they 
appear
+       in public header-files), their name and value are considered
+       implementation details.
+  - Sys:
+    * Add `PetscDeviceContextGetStreamHandle()` to return a handle to the
+      stream the current device context is using.
+    * Add utility functions `PetscGetCurrentCUDAStream()` and
+      `PetscGetCurrentHIPStream()` to return the GPU stream the current
+      device context is using.
+    * Add `PetscStrcmpAny()` to compare against multiple non-empty strings.
+    * Change arguments 4 and 5 of `PetscViewerBinaryReadAll()` and
+      `PetscViewerBinaryWriteAll()` to `PetscInt64`.
+    * Add `PetscIsCloseAtTolScalar()`.
+    * Remove `PetscTellMyCell()` and related runtime option.
+    * Remove `PetscTextBelt()` and related runtime option.
+    * Remove deprecated `-malloc [no]` startup option.
+    * Remove deprecated `-malloc_info` startup option.
+    * Remove deprecated `-log_summary` option.
+    * Remove `PetscURLShorten()`, it has not worked since 2019.
+      Move `PetscIntStackCreate()`, `PetscIntStackDestroy()`,
+      `PetscIntStackPush()`, `PetscIntStackPop()`, and `PetscIntStackEmpty()`
+      declarations to public API in `petsclog.h`.
+    * Add `-on_error_malloc_dump` option.
+  - Event Logging:
+    * Add `PetscLogState` interface for describing profiling events and
+      stages.
+    * Add `PetscLogHandler` interface that interprets the profiling events
+      of a `PetscLogState`.
+    * Add `PETSCLOGHANDLERDEFAULT` implementation of `PetscLogHandler`.
+    * Add `PETSCLOGHANDLERNESTED` implementation of `PetscLogHandler`.
+    * Add `PETSCLOGHANDLERTRACE` implementation of `PetscLogHandler`.
+    * Add `PetscLogHandlerCreateTrace()`.
+    * Add `PETSCLOGHANDLERMPE` implementation of `PetscLogHandler`.
+    * Add `PETSCLOGHANDLERPERFSTUBS` implementation of `PetscLogHandler`.
+    * Add `PETSCLOGHANDLERLEGACY` implementation of `PetscLogHandler`.
+    * Add `PetscLogHandlerCreateLegacy()`.
+    * Add `PetscLogPerfstubsBegin()` for log handling with PerfStubs/TAU.
+    * Add `PetscLogLegacyCallbacksBegin()` to transition old log handler
+      callbacks to the PetscLogHandler-based approach.
+    * Add `PetscLogHandlerStart()` to connect a `PetscLogHandler` to
+      PETSc’s global logging events.
+    * Add `PetscLogStageGetName()`.
+    * Add `PetscLogEventGetName()`.
+    * Add `PetscLogEventsPause()` and `PetscLogEventsResume()` to isolate
+      a logging event from unrelated in-process events.
+    * Add `PetscLogClassGetClassId()`.
+    * Add `PetscLogClassIdGetName()`.
+    * Deprecate `PetscLogClassPerfInfoClear()` ,
+      `PetscLogClassPerfLogCreate()`, and `PetscLogClassPerfLogDestroy()`.
+    * Deprecate `PetscClassPerfLogEnsureSize()`, `PetscClassRegInfoDestroy()`,
+      `PetscClassRegLogCreate()`, `PetscClassRegLogDestroy()`,
+      `PetscClassRegLogGetClass()`, and `PetscClassRegLogRegister()`.
+    * Deprecate `PetscEventPerfInfoClear()` and `PetscEventPerfInfoCopy()`.
+    * Deprecate `PetscEventPerfLogActivate()`,
+      `PetscEventPerfLogActivateClass()`, `PetscEventPerfLogCreate()`,
+      `PetscEventPerfLogDeactivate()`, `PetscEventPerfLogDeactivateClass()`,
+      `PetscEventPerfLogDeactivatePop()`, `PetscEventPerfLogDeactivatePush()`,
+      `PetscEventPerfLogDestroy()`, `PetscEventPerfLogEnsureSize()`,
+      `PetscEventPerfLogGetVisible()`, and `PetscEventPerfLogSetVisible()`.
+    * Deprecate `PetscEventRegLogCreate()`, `PetscEventRegLogDestroy()`,
+      `PetscEventRegLogGetEvent()`, and `PetscEventRegLogRegister()`.
+    * Deprecate `PetscStageLogCreate()`, `PetscStageLogDestroy()`,
+      `PetscStageLogGetActive()`, `PetscStageLogGetClassPerfLog()`,
+      `PetscStageLogGetClassRegLog()`, `PetscStageLogGetEventRegLog()`,
+      `PetscStageLogGetStage()`, `PetscStageLogGetVisible()`,
+      `PetscStageLogPop()`, `PetscStageLogPush()`, `PetscStageLogRegister()`,
+      `PetscStageLogSetActive()`, `PetscStageLogSetVisible()`,
+      `PetscStageLogGetCurrent()`, and `PetscStageLogGetEventPerfLog()`.
+    * Deprecate `PetscLogGetStageLog()`.
+    * Deprecate `PetscLogPushCurrentEvent_Internal()`.
+    * Deprecate `PetscLogPopCurrentEvent_Internal()`.
+    * Deprecate `PetscLogAllBegin()`.
+    * Deprecate `PetscLogSet()`.
+    * Add `PetscLogHandlerGetEventPerfInfo()`.
+    * Add `PetscLogHandlerSetLogActions()`.
+    * Add `PetscLogHandlerSetLogObjects()`.
+    * Add `PetscLogHandlerLogObjectState()`.
+    * Add `PetscLogHandlerGetNumObjects()`.
+    * Add `PetscLogHandlerEventDeactivatePush()`.
++++ 471 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/petsc/petsc.changes
++++ and /work/SRC/openSUSE:Factory/.petsc.new.18349/petsc.changes

Old:
----
  petsc-3.18.5.tar.gz
  petsc-3.3-p2-no-rpath.patch

New:
----
  Allow-lib64-as-library-directory-for-scalapack.patch
  Remove-rpath-test.patch
  petsc-3.21.2.tar.gz

BETA DEBUG BEGIN:
  Old:- Refresh & Rename:
  petsc-3.3-p2-no-rpath.patch -> Remove-rpath-test.patch
- Add:
BETA DEBUG END:

BETA DEBUG BEGIN:
  New:- Add:
  Allow-lib64-as-library-directory-for-scalapack.patch
  New:- Refresh & Rename:
  petsc-3.3-p2-no-rpath.patch -> Remove-rpath-test.patch
- Add:
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ petsc.spec ++++++
--- /var/tmp/diff_new_pack.T13NV5/_old  2024-06-20 16:48:13.851805875 +0200
+++ /var/tmp/diff_new_pack.T13NV5/_new  2024-06-20 16:48:13.851805875 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package petsc
+# spec file
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,9 +19,9 @@
 %global flavor @BUILD_FLAVOR@%{nil}
 
 %define pname petsc
-%define vers 3.18.5
-%define _vers 3_18_5
-%define so_ver 3_18
+%define vers 3.21.2
+%define _vers 3_21_2
+%define so_ver 3_21
 %define openblas_vers 0.3.6
 
 ExcludeArch:    s390 s390x
@@ -266,12 +266,14 @@
 Version:        %vers
 Release:        0
 
-Source:         
ftp://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-%{version}.tar.gz
-Patch0:         petsc-3.3-p2-no-rpath.patch
+Source:         
https://web.cels.anl.gov/projects/petsc/download/release-snapshots/petsc-%{version}.tar.gz
+Patch0:         Remove-rpath-test.patch
 Patch1:         petsc-3.7-fix-pastix-detection.patch
+Patch2:         Allow-lib64-as-library-directory-for-scalapack.patch
 URL:            https://www.mcs.anl.gov/petsc/
 BuildRequires:  fdupes
 BuildRequires:  hwloc-devel
+BuildRequires:  libyaml-devel
 BuildRequires:  pkg-config
 BuildRequires:  python3-base
 
@@ -447,6 +449,7 @@
   --with-python-exec=python%{python_ver} \
   --with-shared-libraries \
   --with-batch=0 \
+  --with-yaml=1 \
 %if %{without hpc}
   --with-suitesparse=1 \
   
--with-suitesparse-lib=[%{_libdir}/libklu.so,%{_libdir}/libumfpack.so,%{_libdir}/libcholmod.so,%{_libdir}/libcolamd.so,%{_libdir}/libccolamd.so,%{_libdir}/libcamd.so,%{_libdir}/libamd.so,%{_libdir}/libspqr.so,%{_libdir}/libsuitesparseconfig.so]
 \
@@ -482,6 +485,7 @@
  %endif
 %else
   --with-blas-lapack-lib=$OPENBLAS_LIB/libopenblas.so \
+  --with-scalapack=1 \
   --with-scalapack-dir=$SCALAPACK_DIR \
   --with-hdf5=1 \
   --with-hdf5-lib=$HDF5_LIB/libhdf5.so \
@@ -663,6 +667,19 @@
 ln -s %{p_libdir}/petsc/%{version}/%{petsc_arch}/lib/pkgconfig/petsc.pc \
       %{buildroot}%{p_libdir}/pkgconfig/
 %endif
+for d in /usr/lib64/petsc/3.21.2/linux-gnu-c-opt/share/petsc/matlab \
+ /usr/lib64/petsc/3.21.2/linux-gnu-c-opt/lib/petsc/bin \
+ /usr/lib64/petsc/3.21.2/linux-gnu-c-opt/share/petsc/bin
+do
+   for i in `find %{buildroot}/$d -type f  -a -perm /a=x`
+   do
+     head -1 $i | grep -q "^#!" || chmod -x $i
+   done
+   for i in `find %{buildroot}/$d -type f -a -name "*.py" -a -not -perm /a=x`
+   do
+     head -1 $i | grep -q "^#!" && chmod a+x $i
+   done
+done
 
 %fdupes %{buildroot}%{p_include}
 %fdupes %{buildroot}%{p_libdir}

++++++ Allow-lib64-as-library-directory-for-scalapack.patch ++++++
From: Egbert Eich <e...@suse.com>
Date: Tue Jun 18 18:26:00 2024 +0200
Subject: Allow lib64 as library directory for scalapack
Patch-mainline: never
Git-commit: a310a348ad61f5b0ae4c693279143c0ebc4a95ac
References: 

Signed-off-by: Egbert Eich <e...@suse.com>
Signed-off-by: Egbert Eich <e...@suse.de>
---
 config/BuildSystem/config/packages/scalapack.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/BuildSystem/config/packages/scalapack.py 
b/config/BuildSystem/config/packages/scalapack.py
index a4bf7ec..f009ca4 100644
--- a/config/BuildSystem/config/packages/scalapack.py
+++ b/config/BuildSystem/config/packages/scalapack.py
@@ -19,7 +19,7 @@ class Configure(config.package.CMakePackage):
     self.downloadonWindows= 1
     self.makerulename     = 'scalapack'
     self.minCmakeVersion  = (3,9,0)
-    self.libDirs          = ['lib',os.path.join('lib','intel64')]
+    self.libDirs          = ['lib','lib64',os.path.join('lib','intel64')]
     self.requirekandr     = 1
     return
 

++++++ Remove-rpath-test.patch ++++++
From: Egbert Eich <e...@suse.com>
Date: Tue Jun 18 13:02:15 2024 +0200
Subject: Remove rpath test
Patch-mainline: never
Git-commit: 470db80c9f69c6a707570732c67a1550dbe19ca1
References: 

Signed-off-by: Egbert Eich <e...@suse.com>
Signed-off-by: Egbert Eich <e...@suse.de>
---
 config/BuildSystem/config/setCompilers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/BuildSystem/config/setCompilers.py 
b/config/BuildSystem/config/setCompilers.py
index bcf0181..8013365 100644
--- a/config/BuildSystem/config/setCompilers.py
+++ b/config/BuildSystem/config/setCompilers.py
@@ -2545,7 +2545,7 @@ class Configure(config.base.Configure):
         testFlags = []
       # test '-R' before '-rpath' as sun compilers [c,fortran] don't give 
proper errors with wrong options.
       elif not Configure.isDarwin(self.log):
-        testFlags = ['-Wl,-rpath,', '-R','-rpath ' , '-Wl,-R,']
+        testFlags = []
       else:
         testFlags = ['-Wl,-rpath,']
       # test '-R' before '-Wl,-rpath' for SUN compilers [as cc on linux 
accepts -Wl,-rpath, but  f90 & CC do not.

++++++ petsc-3.18.5.tar.gz -> petsc-3.21.2.tar.gz ++++++
/work/SRC/openSUSE:Factory/petsc/petsc-3.18.5.tar.gz 
/work/SRC/openSUSE:Factory/.petsc.new.18349/petsc-3.21.2.tar.gz differ: char 
12, line 1

Reply via email to