parent
a7e567a02c
commit
95647c8867
18
grubby.spec
18
grubby.spec
|
@ -1,6 +1,6 @@
|
||||||
Name: grubby
|
Name: grubby
|
||||||
Version: 7.0.16
|
Version: 7.0.16
|
||||||
Release: 4%{?dist}
|
Release: 5%{?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+
|
||||||
|
@ -18,6 +18,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
|
||||||
|
|
||||||
Patch0: Add-uboot-support-for-ARM-712199.patch
|
Patch0: Add-uboot-support-for-ARM-712199.patch
|
||||||
|
|
||||||
|
@ -46,7 +49,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
|
||||||
|
@ -59,9 +65,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
|
||||||
|
* Thu Jun 16 2011 Dennis Gilmore <dennis@ausil.us> - 7.0.16-5
|
||||||
|
- add uboot-tools requires on arm arches
|
||||||
|
- add uboot config file
|
||||||
|
|
||||||
* Thu Jun 09 2011 Brian C. Lane <bcl@redhat.com> - 7.0.16-4
|
* Thu Jun 09 2011 Brian C. Lane <bcl@redhat.com> - 7.0.16-4
|
||||||
- Add git patch processing to spec file
|
- Add git patch processing to spec file
|
||||||
- Add uboot support for ARM
|
- Add uboot support for ARM
|
||||||
|
|
Loading…
Reference in New Issue