]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - grubby/grubby.nm
grubby: Fix typo in dependency name.
[people/ms/ipfire-3.x.git] / grubby / grubby.nm
index b471a7aa42f03c59e4a82c6536b010b5f719195a..f4fbf3b729fa803686f8c235be98588a63ff8053 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = grubby
 version    = 8.11
-release    = 1
+release    = 2
 
 groups     = System/Base
 url        = http://git.fedorahosted.org/git/grubby.git
@@ -45,13 +45,9 @@ end
 
 packages
        package %{name}
-               # Pull in uboot-tools on ARM platforms.
-               if "%{DISTRO_ARCH}" == "armv7hl"
-                       requires += uboot-tools
-               end
-
-               if "%{DISTRO_ARCH}" == "armv5tel"
-                       requires += uboot-tools
+               # Pull in u-boot-tools on ARM platforms.
+               if "%{DISTRO_PLATFORM}" == "arm"
+                       requires += u-boot-tools
                end
        end