Name: rpi-udev-rules Version: 0 Release: 1%{?dist} Summary: Udev rules for Raspberry Pi License: BSD-3 URL: https://github.com/RPi-Distro/raspberrypi-sys-mods Source0: https://raw.githubusercontent.com/RPi-Distro/raspberrypi-sys-mods/master/etc.armhf/udev/rules.d/99-com.rules Source1: LICENSE %description Simple package that installs general udev rules for Raspberry Pi %prep %build %install mkdir -p %{buildroot}/lib/udev/rules.d install -m 0644 %{SOURCE0} %{buildroot}/lib/udev/rules.d install %{SOURCE1} . %files %license LICENSE /lib/udev/rules.d/99-com.rules