Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package eigen3 for openSUSE:Factory checked in at 2025-11-04 18:40:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/eigen3 (Old) and /work/SRC/openSUSE:Factory/.eigen3.new.1980 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "eigen3" Tue Nov 4 18:40:42 2025 rev:26 rq:1315351 version:3.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/eigen3/eigen3.changes 2022-02-09 20:38:34.094285296 +0100 +++ /work/SRC/openSUSE:Factory/.eigen3.new.1980/eigen3.changes 2025-11-04 18:41:13.298559166 +0100 @@ -1,0 +2,17 @@ +Mon Oct 27 15:19:14 UTC 2025 - Atri Bhattacharya <[email protected]> + +- Update to version 3.4.1: + * Many back-ported fixes from 5.0 branch, see + <https://gitlab.com/libeigen/eigen/-/issues?state=all&label_name%5B%5D=3.4.1> + for full list. +- Drop fix_ppc64le_always_inline_680.patch: incorporated upstream. +- Docs no longer build with doxygen >= 1.14, so add upstream + pre-generated doc tarball as source, and extract its contents to + a doc dir. +- Drop docs flavor (and _multibuild entirely) since we no longer + build the docs; split off separate -doc package directly from + main package. +- Also drop _constraints file which was only being used for the + docs flavor. + +------------------------------------------------------------------- Old: ---- _constraints _multibuild eigen-3.4.0.tar.bz2 fix_ppc64le_always_inline_680.patch New: ---- eigen-3.4.1.tar.bz2 eigen-doc-3.4.tar.bz2 ----------(Old B)---------- Old: for full list. - Drop fix_ppc64le_always_inline_680.patch: incorporated upstream. - Docs no longer build with doxygen >= 1.14, so add upstream ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ eigen3.spec ++++++ --- /var/tmp/diff_new_pack.zfGRTW/_old 2025-11-04 18:41:14.286600761 +0100 +++ /var/tmp/diff_new_pack.zfGRTW/_new 2025-11-04 18:41:14.290600929 +0100 @@ -1,7 +1,7 @@ # -# spec file +# spec file for package eigen3 # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%global flavor @BUILD_FLAVOR@%{nil} %global pkgname eigen3 %global srcname eigen @@ -28,21 +27,22 @@ # Also balloons the resources required: > 32 GiB disk space + >= 12 GiB memory %bcond_with tests -%if "%{flavor}" == "docs" -%define pkgsuffix -doc -%endif +# Docs for version 3.4.1 do not build with doxygen 1.14.0 or later: https://gitlab.com/libeigen/eigen/-/issues/2976 +# So, we do not build them but just extract a pre-generated doc tarball from upstream and package its contents + +%define major_ver 3.4 +%define api_docdir %{_docdir}/%{name}/api -Name: eigen3%{?pkgsuffix} -Version: 3.4.0 +Name: eigen3 +Version: %{major_ver}.1 Release: 0 Summary: C++ Template Library for Linear Algebra License: BSD-3-Clause AND LGPL-2.1-only AND MPL-2.0 AND LGPL-2.1-or-later URL: http://eigen.tuxfamily.org/ Source0: https://gitlab.com/libeigen/eigen/-/archive/%{version}/%{srcname}-%{version}.tar.bz2 +Source1: https://libeigen.gitlab.io/eigen/docs-%{major_ver}/eigen-doc.tgz#/%{srcname}-doc-%{major_ver}.tar.bz2 Patch0: 0001-Disable-Altivec-for-ppc64le.patch Patch1: 0001-Do-stack-allignment-on-ppc.patch -# PATCH-FIX-UPSTREAM -- https://gitlab.com/libeigen/eigen/-/merge_requests/680.patch -Patch2: fix_ppc64le_always_inline_680.patch %if %{with tests} # SECTION Patches to fix tests # PATCH-FIX-UPSTREAM eigen3-googlehash-detection.patch [email protected] -- GoogleHash needs C++11 std to compile test code and be succesfully detected @@ -53,6 +53,7 @@ %endif BuildRequires: adolc-devel BuildRequires: cmake +BuildRequires: fdupes BuildRequires: fftw3-devel BuildRequires: gcc-c++ BuildRequires: gcc-fortran @@ -65,15 +66,6 @@ BuildRequires: sparsehash-devel BuildRequires: suitesparse-devel BuildRequires: superlu-devel -%if "%{flavor}" == "docs" -BuildRequires: doxygen -BuildRequires: fdupes -BuildRequires: graphviz -BuildRequires: graphviz-gd -BuildRequires: texlive-dvips -BuildRequires: texlive-latex -BuildRequires: tex(newunicodechar.sty) -%endif %if %{with opengl_test} BuildRequires: freeglut-devel BuildRequires: glew-devel @@ -95,48 +87,41 @@ Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms. -%if "%{flavor}" == "docs" +%package doc Summary: Documentation for the Eigen3 C++ Template Library for Linear Algebra +BuildArch: noarch -%description +%description doc Documentation in HTML format for the Eigen3 C++ Template Library for Linear Algebra -%endif %prep -%autosetup -p1 -n %{srcname}-%{version} +%autosetup -p1 -b1 -n %{srcname}-%{version} # Fix rpmlint warning "wrong-file-end-of-line-encoding" sed -i 's/\r$//' COPYING.MINPACK -# Remove build time references so build-compare can do its work -echo "HTML_TIMESTAMP = NO" >> doc/Doxyfile.in - %build %cmake \ - -DINCLUDE_INSTALL_DIR:PATH=include/eigen3 \ -DCMAKE_SKIP_RPATH:BOOL=OFF \ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \ + -DEIGEN_BUILD_BLAS:BOOL=OFF \ + -DEIGEN_BUILD_LAPACK:BOOL=OFF \ -DEIGEN_TEST_CXX11:Bool=%{?with_tests:ON}%{!?with_tests:OFF} \ - -DEIGEN_TEST_OPENMP:Bool=%{?with_tests:ON}%{!?with_tests:OFF} + -DEIGEN_TEST_OPENMP:Bool=%{?with_tests:ON}%{!?with_tests:OFF} \ + -DINCLUDE_INSTALL_DIR:PATH=include/eigen3 \ + %{nil} -%if "%{flavor}" == "" %cmake_build all %{?with_tests:buildtests} -%else -%cmake_build doc -%endif - -rm -f doc/html/*.tgz -find doc -name _formulas.log -print -delete %install -%if "%{flavor}" == "" %cmake_install -%else -%fdupes -s build/doc/html/ -%endif -%if "%{flavor}" == "" +# Install bundled docs +mkdir -p %{buildroot}%{api_docdir} +cp -r ../eigen-doc/* %{buildroot}%{api_docdir} +%fdupes %{buildroot}%{api_docdir} + %if %{with tests} %check # Run with a fixed seed to prevent random failures: https://gitlab.com/libeigen/eigen/-/issues/2088 @@ -145,13 +130,6 @@ export EIGEN_REPEAT=1 %ctest %endif -%endif - -%if "%{flavor}" == "docs" -%files -%doc build/doc/html/ - -%else %files devel %license COPYING.* @@ -159,5 +137,7 @@ %{_datadir}/eigen3/ %{_datadir}/pkgconfig/eigen3.pc -%endif +%files doc +%dir %{_docdir}/%{name} +%doc %{api_docdir} ++++++ eigen-3.4.0.tar.bz2 -> eigen-3.4.1.tar.bz2 ++++++ ++++ 27959 lines of diff (skipped)
