]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - linux-firmware/linux-firmware.nm
unbound: Use /run instead of /var/run
[ipfire-3.x.git] / linux-firmware / linux-firmware.nm
index 096adef4c6ddbb0bb3637f3c5a0625657eade20b..08b6e9b1d73bddb976c7d05fee332099c4fba2d1 100644 (file)
@@ -4,11 +4,9 @@
 ###############################################################################
 
 name       = linux-firmware
-version    = 20130307
-git_ver    = c530a75
-release    = 1.git%{git_ver}
+version    = 20221214
+release    = 1
 arch       = noarch
-thisapp    = %{name}-%{git_ver}
 
 maintainer = Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
 groups     = System/Libraries
@@ -17,9 +15,9 @@ license    = Non-GPL
 summary    = Firmware Binaries for some Devices.
 
 description
-       linux-firmware provides some firmware binaries that \
-       are loaded into the devices at startup. \
-       For detailed license info check the WHENCE and LICENSE.* texts \
+       linux-firmware provides some firmware binaries that
+       are loaded into the devices at startup.
+       For detailed license info check the WHENCE and LICENSE.* texts
        for the specific firmware.
 end
 
@@ -30,9 +28,12 @@ build
                : # Nothing to do.
        end
 
-       install
-               mkdir -pv %{BUILDROOT}%{prefix}/lib/firmware
-               cp -prv * %{BUILDROOT}%{prefix}/lib/firmware
+       make_install_targets += FIRMWAREDIR=%{firmwaredir}
+
+       install_cmds
+               # Remove executable bits from any files
+               find %{BUILDROOT}%{firmwaredir} -type f \
+                       -executable -print | xargs chmod -v a-x
        end
 end