[packages/libint2] Rel 2. Fix build on x32.
arekm
arekm at pld-linux.org
Sun Nov 29 18:08:42 CET 2026
commit 0e4f5a24978f96d612c3367da0bd4e9140047d53
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Nov 28 00:31:39 2026 +0100
Rel 2. Fix build on x32.
libint2.spec | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/libint2.spec b/libint2.spec
index 3c20aa1..772269d 100644
--- a/libint2.spec
+++ b/libint2.spec
@@ -2,7 +2,7 @@ Summary: Evaluation of certain two-body molecular integrals over Cartesian Gauss
Summary(pl.UTF-8): Obliczanie całek dwuelementowych cząsteczek po kartezjańskich funkcjach Gaussa
Name: libint2
Version: 2.14.1
-Release: 1
+Release: 2
License: LGPL v3
Group: Libraries
#Source0Download: https://github.com/evaleev/libint/releases
@@ -88,6 +88,11 @@ rm -rf $RPM_BUILD_ROOT
# strip debug info from static library to avoid OOM during debuginfo extraction
%{__strip} -g $RPM_BUILD_ROOT%{_libdir}/libint2.a
+# x32 is ELF32: .debug_loc of the shared library exceeds 2 GB and debugedit fails
+%ifarch x32
+%{__strip} -g $RPM_BUILD_ROOT%{_libdir}/libint2.so.3
+%endif
+
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libint2.git/commitdiff/0e4f5a24978f96d612c3367da0bd4e9140047d53
More information about the pld-cvs-commit
mailing list