[packages/petsc] - updated to 3.25.3

qboosh qboosh at pld-linux.org
Sun Jul 19 21:54:47 CEST 2026


commit 11d695309c9a19c06a0c0e7c36d6c21c9a7c9cb7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jul 19 21:54:56 2026 +0200

    - updated to 3.25.3

 petsc.spec | 31 ++++++++++++++-----------------
 1 file changed, 14 insertions(+), 17 deletions(-)
---
diff --git a/petsc.spec b/petsc.spec
index e9e2a4a..f79f52a 100644
--- a/petsc.spec
+++ b/petsc.spec
@@ -1,17 +1,17 @@
 #
 # Conditional build:
-%bcond_with	mpi	# MPI support
+%bcond_with	mpi	# MPI support (unfinished)
 #
 Summary:	PETSc - Portable, Extensible Toolkit for Scientific Computation
 Summary(pl.UTF-8):	PETSc - przenośny, rozszerzalny zestaw narządzi do obliczeń naukowych
 Name:		petsc
-Version:	3.18.3
-Release:	0.1
+Version:	3.25.3
+Release:	1
 License:	BSD
 Group:		Libraries
-Source0:	https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/%{name}-%{version}.tar.gz
-# Source0-md5:	db8de65fea494b42097f29f17f5be4fc
-#Patch0:	%{name}-what.patch
+#Source0Download: https://gitlab.com/petsc/petsc/-/tags
+Source0:	https://gitlab.com/petsc/petsc/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
+# Source0-md5:	8841ca7deb79d94ae2d45c09417da445
 URL:		https://petsc.org/release/
 BuildRequires:	gcc-fortran
 BuildRequires:	lapack-devel
@@ -56,19 +56,16 @@ Header files for PETsc library.
 Pliki nagłówkowe biblioteki PETsc.
 
 %prep
-%setup -q
-#%%patch0 -p1
+%setup -q -n %{name}-v%{version}
 
 %build
-CC="%{__cc}" \
-CXX="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-CPPFLAGS="%{rpmcppflags}" \
-CXXFLAGS="%{rpmcxxflags}" \
-LDFLAGS="%{rpmldflags}" \
 %{__python3} configure \
 	-CC="%{__cc}" \
+	-CFLAGS="%{rpmcflags}" \
+	-CPPFLAGS="%{rpmcppflags}" \
 	-CXX="%{__cxx}" \
+	-CXXFLAGS="%{rpmcxxflags}" \
+	-FFLAGS="%{rpmfflags} -ffree-line-length-none -ffree-line-length-0" \
 	-LDFLAGS="%{rpmldflags}" \
 	-prefix=%{_prefix} \
 	-with-debugging=0 \
@@ -102,12 +99,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libpetsc.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libpetsc.so.3.18
+%{_libdir}/libpetsc.so.*.*.*
+%ghost %{_libdir}/libpetsc.so.3.25
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libpetsc.so
+%{_libdir}/libpetsc.so
 %{_includedir}/petsc
 %{_includedir}/petsc*.h
 %{_includedir}/petsc*.hpp
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/petsc.git/commitdiff/11d695309c9a19c06a0c0e7c36d6c21c9a7c9cb7



More information about the pld-cvs-commit mailing list