###############################################################################
name = grubby
-version = 8.3
-release = 1
+version = 8.11
+release = 3
groups = System/Base
url = http://git.fedorahosted.org/git/grubby.git
environment.
end
-sources = %{thisapp}.tar.bz2
+# Source tarballs must be generated from git.
+sources = %{thisapp}.tar.bz2
build
requires
make test
end
- make_install_targets += mandir=/usr/share/man
+ make_install_targets += mandir=%{mandir}
+
+ install_cmds
+ mkdir -pv %{BUILDROOT}%{prefix}
+ mv -v %{BUILDROOT}{,%{prefix}}/sbin
+ end
end
packages
package %{name}
+ # Pull in u-boot-tools on ARM platforms.
+ if "%{DISTRO_PLATFORM}" == "arm"
+ requires += u-boot-tools
+ end
+
+ provides
+ /sbin/grubby
+ /sbin/installkernel
+ /sbin/new-kernel-pkg
+ end
+ end
package %{name}-debuginfo
template DEBUGINFO