diff --git a/raspberrypi-eeprom.changes b/raspberrypi-eeprom.changes index 864451a..5a10730 100644 --- a/raspberrypi-eeprom.changes +++ b/raspberrypi-eeprom.changes @@ -2,3 +2,4 @@ Fri Jan 22 14:15:38 UTC 2021 - Nicolas Patricio Saenz Julienne - First commit +- Introduce patches: 'add-suse-config.patch' and 'don't-use-env.patch'. diff --git a/raspberrypi-eeprom.spec b/raspberrypi-eeprom.spec index cebc11d..aa2b241 100644 --- a/raspberrypi-eeprom.spec +++ b/raspberrypi-eeprom.spec @@ -76,13 +76,13 @@ install -m 0755 rpi-eeprom-update %{buildroot}%{_bindir} mkdir -p %{buildroot}/etc/default install -m 644 rpi-eeprom-update-default %{buildroot}/etc/default/rpi-eeprom-update -mkdir -p %{buildroot}/lib/firmware/raspberrypi/bootloader -mv firmware/beta %{buildroot}/lib/firmware/raspberrypi/bootloader -mv firmware/critical %{buildroot}/lib/firmware/raspberrypi/bootloader -mv firmware/stable %{buildroot}/lib/firmware/raspberrypi/bootloader -cp -a firmware/latest %{buildroot}/lib/firmware/raspberrypi/bootloader -cp -a firmware/default %{buildroot}/lib/firmware/raspberrypi/bootloader -%fdupes -s %{buildroot}/lib/firmware/raspberrypi/bootloader +mkdir -p %{buildroot}/%{_firmwaredir}/raspberrypi/bootloader +mv firmware/beta %{buildroot}/%{_firmwaredir}/raspberrypi/bootloader +mv firmware/critical %{buildroot}/%{_firmwaredir}/raspberrypi/bootloader +mv firmware/stable %{buildroot}/%{_firmwaredir}/raspberrypi/bootloader +cp -a firmware/latest %{buildroot}/%{_firmwaredir}/raspberrypi/bootloader +cp -a firmware/default %{buildroot}/%{_firmwaredir}/raspberrypi/bootloader +%fdupes -s %{buildroot}/%{_firmwaredir}/raspberrypi/bootloader %files %license LICENSE @@ -93,12 +93,12 @@ cp -a firmware/default %{buildroot}/lib/firmware/raspberrypi/bootloader %config /etc/default/rpi-eeprom-update %files firmware -/lib/firmware/ -/lib/firmware/raspberrypi -/lib/firmware/raspberrypi/bootloader/beta -/lib/firmware/raspberrypi/bootloader/critical -/lib/firmware/raspberrypi/bootloader/stable -/lib/firmware/raspberrypi/bootloader/latest -/lib/firmware/raspberrypi/bootloader/default +%{_firmwaredir} +%{_firmwaredir}/raspberrypi +%{_firmwaredir}/raspberrypi/bootloader/beta +%{_firmwaredir}/raspberrypi/bootloader/critical +%{_firmwaredir}/raspberrypi/bootloader/stable +%{_firmwaredir}/raspberrypi/bootloader/latest +%{_firmwaredir}/raspberrypi/bootloader/default %changelog