###############################################################################
name = grubby
-version = 8.9
-release = 1
+version = 8.11
+release = 3
groups = System/Base
url = http://git.fedorahosted.org/git/grubby.git
end
make_install_targets += mandir=%{mandir}
+
+ install_cmds
+ mkdir -pv %{BUILDROOT}%{prefix}
+ mv -v %{BUILDROOT}{,%{prefix}}/sbin
+ end
end
packages
package %{name}
- # Pull in uboot-tools on ARM platforms.
- if "%{DISTRO_ARCH}" == "armv7hl"
- requires += uboot-tools
+ # Pull in u-boot-tools on ARM platforms.
+ if "%{DISTRO_PLATFORM}" == "arm"
+ requires += u-boot-tools
end
- if "%{DISTRO_ARCH}" == "armv5tel"
- requires += uboot-tools
+ provides
+ /sbin/grubby
+ /sbin/installkernel
+ /sbin/new-kernel-pkg
end
end