Tidies and improvements to specfile. OBS-URL: https://build.opensuse.org/request/show/1118132 OBS-URL: https://build.opensuse.org/package/show/hardware/gasket-driver?expand=0&rev=16
16 lines
757 B
Plaintext
16 lines
757 B
Plaintext
# The stated solution to this error is to use `noarch`, but as this
|
|
# package is for building kernel modules `noarch` causes a cryptic error
|
|
# there's _very_ little information about online:
|
|
# ```
|
|
# warning: Macro %flavors_to_build needs whitespace before body
|
|
# warning: Macro %_suse_kernel_module_subpackage defined but not used within scope
|
|
# error: line 43: Unknown tag: %internal_kmp_error
|
|
# ```
|
|
# My guess is that when `noarch` is specified then `%flavors_to_build` isn't
|
|
# populated properly, and issues cascade from there. Something like that anyway...
|
|
# In the meantime this is an acceptable alternative.
|
|
addFilter("E: no-binary")
|
|
|
|
# This error is introduced by the KMP sub-package build.
|
|
addFilter("gasket-driver-kmp-.* E: suse-zypp-packageand")
|