2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-22 09:31:48 +00:00
xcat-dep/yaboot/yaboot-xcat.spec
jbjohnso 5ef6e417e4 -Refresh yaboot to address issues in recent SLES11 updates
Former-commit-id: 2fc472cfefa6d1611e757e5cc2922d55d5a11f14
2010-05-12 22:04:57 +00:00

41 lines
722 B
RPMSpec

%define pkg yaboot-xcat
%define ver 1.3.15
Summary: yaboot binary for tftp server
Name: %{pkg}
Version: %{ver}
Release: 05122010
Group: System/Administration
License: GPL2
URL: http://yaboot.ozlabs.org/
Source: yaboot-%{ver}-%{release}.tar.gz
Patch0: yaboot-skipmac.patch
Patch1: yaboot-32bitbuild.patch
BuildRoot: %{_tmppath}/%{pkg}-buildroot
Prefix: %{_prefix}
BuildArch: noarch
%description
This is a version of yaboot to facilitate an xCAT management node to boot
ppc nodes.
%prep
%{__rm} -rf %{buildroot}
%setup -q -n yaboot-%{ver}-%{release}
%patch0 -p1
%patch1 -p1
%build
make
%install
mkdir -p %{buildroot}/tftpboot/
cp second/yaboot %{buildroot}/tftpboot/
%files
%defattr(-,root,root)
/tftpboot/yaboot