# Preamble appended to every mafp8800-spidev-kmp-<flavor> subpackage by the
# SUSE KMP template (/usr/lib/rpm/kernel-module-subpackage); "%1" is the
# kernel flavor, e.g. "default".  The template itself already adds the
# ksym() dependencies, "Enhances: kernel-%1" and
# "Supplements: packageand(kernel-%1:mafp8800-spidev)".
#
# The ksym() dependencies already pin a compatible kernel build; the
# explicit Requires is what the openSUSE KMP policy (rpmlint) expects.
Requires:       kernel-%1
# The modprobe.d snippet (bufsiz=32768) lives in the main package.
Requires:       %{name} = %{version}
# Offer the module automatically on systems that actually have the sensor
# (ACPI HID MAFP8800, modalias "acpi:MAFP8800:") and run this kernel flavor.
Supplements:    modalias(kernel-%1:acpi*:MAFP8800*)
