From: Jan Rękorajski Date: Thu, 25 Feb 2021 20:58:42 +0000 (+0100) Subject: - disable debuginfo when not building userspace X-Git-Tag: auto/th/linux-gpib-4.3.3-3 X-Git-Url: http://git.pld-linux.org/?p=packages%2Flinux-gpib.git;a=commitdiff_plain;h=eda43fa - disable debuginfo when not building userspace --- 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