[packages/linux-gpib] - disable debuginfo when not building userspace

baggins baggins at pld-linux.org
Thu Feb 25 21:59:02 CET 2021


commit eda43fa2960fe980e66745f6c6bd4ff79a3330ea
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Feb 25 21:58:42 2021 +0100

    - disable debuginfo when not building userspace

 linux-gpib.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/linux-gpib.spec b/linux-gpib.spec
index a99188f..e2659f0 100644
--- a/linux-gpib.spec
+++ b/linux-gpib.spec
@@ -25,6 +25,11 @@
 exit 1
 %endif
 
+%if %{without userspace}
+# nothing to be placed to debuginfo package
+%define		_enable_debug_packages	0
+%endif
+
 %ifnarch %{ix86}
 %undefine	with_drivers_isa
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/linux-gpib.git/commitdiff/eda43fa2960fe980e66745f6c6bd4ff79a3330ea



More information about the pld-cvs-commit mailing list