diff --git a/udev-hid-bpf.spec b/udev-hid-bpf.spec index 4e03588..212e398 100644 --- a/udev-hid-bpf.spec +++ b/udev-hid-bpf.spec @@ -2,6 +2,7 @@ %global udevdir %(pkg-config --variable=udevdir udev) %global cargo_install_lib 0 %global crate udev-hid-bpf +%global _firmware /usr/lib/firmware %if 0%{?rhel} %global bundled_rust_deps 1 @@ -138,18 +139,18 @@ export RUSTFLAGS="%build_rustflags" %license LICENSE %license LICENSE.dependencies %{_udevhwdbdir}/81-hid-bpf-stable.hwdb -/usr/lib/firmware/hid/bpf/*-FR-TEC__Raptor-Mach-2.bpf.o -/usr/lib/firmware/hid/bpf/*-HP__Elite-Presenter.bpf.o -/usr/lib/firmware/hid/bpf/*-Huion__Kamvas-Pro-19.bpf.o -/usr/lib/firmware/hid/bpf/*-IOGEAR__Kaliber-MMOmentum.bpf.o -/usr/lib/firmware/hid/bpf/*-Microsoft__Xbox-Elite-2.bpf.o -/usr/lib/firmware/hid/bpf/*-Wacom__ArtPen.bpf.o -/usr/lib/firmware/hid/bpf/*-XPPen__Artist24.bpf.o -/usr/lib/firmware/hid/bpf/*-XPPen__ArtistPro16Gen2.bpf.o -/usr/lib/firmware/hid/bpf/*-Huion__Inspiroy-2-S.bpf.o -/usr/lib/firmware/hid/bpf/*-Huion__Dial-2.bpf.o -/usr/lib/firmware/hid/bpf/*-XPPen__DecoMini4.bpf.o -/usr/lib/firmware/hid/bpf/*-Thrustmaster__TCA-Yoke-Boeing.bpf.o +%{_firmware}/hid/bpf/*-FR-TEC__Raptor-Mach-2.bpf.o +%{_firmware}/hid/bpf/*-HP__Elite-Presenter.bpf.o +%{_firmware}/hid/bpf/*-Huion__Kamvas-Pro-19.bpf.o +%{_firmware}/hid/bpf/*-IOGEAR__Kaliber-MMOmentum.bpf.o +%{_firmware}/hid/bpf/*-Microsoft__Xbox-Elite-2.bpf.o +%{_firmware}/hid/bpf/*-Wacom__ArtPen.bpf.o +%{_firmware}/hid/bpf/*-XPPen__Artist24.bpf.o +%{_firmware}/hid/bpf/*-XPPen__ArtistPro16Gen2.bpf.o +%{_firmware}/hid/bpf/*-Huion__Inspiroy-2-S.bpf.o +%{_firmware}/hid/bpf/*-Huion__Dial-2.bpf.o +%{_firmware}/hid/bpf/*-XPPen__DecoMini4.bpf.o +%{_firmware}/hid/bpf/*-Thrustmaster__TCA-Yoke-Boeing.bpf.o %files testing %license LICENSE