patch in headers used from kernel-devel on 32 bit sparc

This commit is contained in:
Dennis Gilmore 2011-02-23 10:40:09 -06:00
parent 9b4636c6f8
commit 7e8d285168
2 changed files with 1510 additions and 2 deletions

1494
fcoe-sparc.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
Name: fcoe-utils
Version: 1.0.14
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Fibre Channel over Ethernet utilities
Group: Applications/System
@ -19,10 +19,14 @@ Patch2: fcoe-utils-1.0.8-includes.patch
Patch3: fcoe-utils-1.0.8-init-LSB.patch
Patch4: fcoe-utils-1.0.12-makefile-data-hook.patch
Patch5: fcoe-utils-1.0.14-no-vconfig.patch
Patch6: fcoe-sparc.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExcludeArch: s390 ppc
BuildRequires: libhbaapi-devel lldpad-devel libtool automake kernel-devel
BuildRequires: libhbaapi-devel lldpad-devel libtool automake
%ifnarch sparc sparcv9
BuildRequires: kernel-devel
%endif
Requires: lldpad libhbalinux >= 1.0.9 iproute device-mapper-multipath
Requires(post): chkconfig
Requires(preun): chkconfig initscripts
@ -42,6 +46,13 @@ fcoemon - service to configure DCB Ethernet QOS filters, works with dcbd or lldp
%patch4 -p1 -b .data-hook
%patch5 -p1 -b .no-vconfig
# we dont build a kernel on 32 bit sparc so have no kernel-devel
# patch in a copy of the headers for use.
# userland is entirely 32 bit and kernel is 64 bit
%ifarch sparc sparcv9
%patch6 -p1 -b .sparc
%endif
%build
./bootstrap.sh
%configure
@ -115,6 +126,9 @@ fi
%changelog
* Wed Feb 23 2011 Dennis Gilmore <dennis@ausil.us> - 1.0.14-5
- patch in headers used from kernel-devel on 32 bit sparc
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.14-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild