[packages/eigen3] - updated to 3.4.1, switched gdb printers to python3 (required since gdb 10+ in PLD)

qboosh qboosh at pld-linux.org
Sun Sep 20 18:48:38 CEST 2026


commit 1121863f4183acfab140e7a9e765c7fa713468da
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 20 18:48:53 2026 +0200

    - updated to 3.4.1, switched gdb printers to python3 (required since gdb 10+ in PLD)

 eigen3.spec | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)
---
diff --git a/eigen3.spec b/eigen3.spec
index 2584b13..6ff57ef 100644
--- a/eigen3.spec
+++ b/eigen3.spec
@@ -6,16 +6,16 @@
 Summary:	C++ template library for linear algebra
 Summary(pl.UTF-8):	Biblioteka szablonów C++ do algebry liniowej
 Name:		eigen3
-Version:	3.4.0
+Version:	3.4.1
 Release:	1
 License:	MPL v2.0 with LGPL v2.1+ parts
 Group:		Development/Libraries
-#Source0Download: http://eigen.tuxfamily.org/index.php?title=Main_Page
+#Source0Download: https://libeigen.gitlab.io/
 Source0:	https://gitlab.com/libeigen/eigen/-/archive/%{version}/eigen-%{version}.tar.bz2
-# Source0-md5:	132dde48fe2b563211675626d29f1707
-URL:		http://eigen.tuxfamily.org/
-BuildRequires:	cmake >= 3.5.0
-%{?with_gdb:BuildRequires:	python-modules}
+# Source0-md5:	e066eafde28de575ed6530a5ecb06462
+URL:		https://libeigen.gitlab.io/
+BuildRequires:	cmake >= 3.10.0
+%{?with_gdb:BuildRequires:	python3-modules >= 1:3.2}
 BuildRequires:	rpmbuild(macros) >= 1.605
 Requires:	libstdc++-devel
 BuildArch:	noarch
@@ -57,6 +57,8 @@ Obsługuje bez powielania kodu i w całkowicie zintegrowany sposób:
 Summary:	eigen3 pretty printers for GDB
 Summary(pl.UTF-8):	Funkcje wypisujące dane eigen3 dla GDB
 Group:		Development/Debuggers
+# PLD switched gdb to python3 during 9.1->10.2 upgrade
+Requires:	gdb >= 10.2
 
 %description gdb
 This package contains Python scripts for GDB pretty printing of the
@@ -90,6 +92,8 @@ install -d build
 cd build
 # CMakeLists.txt requires CMAKE_INSTALL_INCLUDEDIR to be relative (for proper .pc file generation)
 %cmake .. \
+	-DEIGEN_BUILD_BLAS=OFF \
+	-DEIGEN_BUILD_LAPACK=OFF \
 	-DCMAKE_CXX_COMPILER_WORKS=1 \
 	-DCMAKE_CXX_COMPILER="%{__cxx}" \
 	-DCMAKE_INSTALL_DATADIR:PATH=share \
@@ -108,11 +112,10 @@ rm -rf $RPM_BUILD_ROOT
 	DESTDIR=$RPM_BUILD_ROOT
 
 %if %{with gdb}
-install -D debug/gdb/printers.py $RPM_BUILD_ROOT%{_datadir}/gdb/python/%{name}/printers.py
+install -Dp debug/gdb/printers.py $RPM_BUILD_ROOT%{_datadir}/gdb/python/%{name}/printers.py
 touch $RPM_BUILD_ROOT%{_datadir}/gdb/python/%{name}/__init__.py
-%py_comp $RPM_BUILD_ROOT%{_datadir}/gdb/python/%{name}
-%py_ocomp $RPM_BUILD_ROOT%{_datadir}/gdb/python/%{name}
-%py_postclean %{_datadir}/gdb/python/%{name}
+%py3_comp $RPM_BUILD_ROOT%{_datadir}/gdb/python/%{name}
+%py3_ocomp $RPM_BUILD_ROOT%{_datadir}/gdb/python/%{name}
 %endif
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/eigen3.git/commitdiff/1121863f4183acfab140e7a9e765c7fa713468da



More information about the pld-cvs-commit mailing list