add uboot-tools requires on arm arches

- add uboot config file on arm arches
This commit is contained in:
Dennis Gilmore 2012-02-07 11:15:03 -06:00
parent 7698149da0
commit f62abfe143

View File

@ -1,6 +1,6 @@
Name: grubby Name: grubby
Version: 8.8 Version: 8.8
Release: 2%{?dist} Release: 3%{?dist}
Summary: Command line tool for updating bootloader configs Summary: Command line tool for updating bootloader configs
Group: System Environment/Base Group: System Environment/Base
License: GPLv2+ License: GPLv2+
@ -17,6 +17,9 @@ BuildRequires: util-linux-ng
%ifarch s390 s390x %ifarch s390 s390x
Requires: s390utils-base Requires: s390utils-base
%endif %endif
%ifarch %{arm}
Requires: uboot-tools
%endif
%description %description
grubby is a command line tool for updating and displaying information about grubby is a command line tool for updating and displaying information about
@ -38,7 +41,10 @@ make test
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
%ifarch %{arm}
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/
install -p uboot $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/uboot
%endif
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -51,9 +57,15 @@ rm -rf $RPM_BUILD_ROOT
/sbin/new-kernel-pkg /sbin/new-kernel-pkg
/sbin/grubby /sbin/grubby
%{_mandir}/man8/*.8* %{_mandir}/man8/*.8*
%ifarch %{arm}
%config %{_sysconfdir}/sysconfig/uboot
%endif
%changelog %changelog
* Tue Feb 07 2012 Dennis Gilmore <dennis@ausil.us> - 8.8-3
- add uboot-tools requires on arm arches
- add uboot config file on arm arches
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.8-2 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild