From eda43fa2960fe980e66745f6c6bd4ff79a3330ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Thu, 25 Feb 2021 21:58:42 +0100 Subject: [PATCH] - 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 -- 2.43.0