[packages/papers] - debugsource packages are available now, but disable debuginfo at all on x86 due to OOM
qboosh
qboosh at pld-linux.org
Tue Mar 4 19:17:48 CET 2025
commit a1a5eb2732bb4f62896863f01d25d4c1ee2a62dc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Mar 4 18:59:34 2025 +0100
- debugsource packages are available now, but disable debuginfo at all on x86 due to OOM
papers.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/papers.spec b/papers.spec
index 64f6559..49b12c4 100644
--- a/papers.spec
+++ b/papers.spec
@@ -60,8 +60,10 @@ Requires: libarchive >= 3.6.0
Requires: pango >= 1:1.54.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-# debugsource packages don't support rust (or require adding some flags to rust/cargo)
-%define _debugsource_packages 0
+%ifarch %{ix86}
+# OOM when linking with debug info enabled
+%define _enable_debug_packages 0
+%endif
%description
Papers is a document viewer for multiple document formats like pdf,
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/papers.git/commitdiff/a1a5eb2732bb4f62896863f01d25d4c1ee2a62dc
More information about the pld-cvs-commit
mailing list