- Fix dhclient on s390x platform (#202911)

This commit is contained in:
David Cantrell 2006-08-17 21:22:10 +00:00
parent b0e70674e7
commit 572c69eebb

View File

@ -4,7 +4,7 @@
Summary: A DHCP (Dynamic Host Configuration Protocol) server and relay agent. Summary: A DHCP (Dynamic Host Configuration Protocol) server and relay agent.
Name: dhcp Name: dhcp
Version: 3.0.4 Version: 3.0.4
Release: 17.1 Release: 18%{?dist}
Epoch: 12 Epoch: 12
License: distributable License: distributable
Group: System Environment/Daemons Group: System Environment/Daemons
@ -16,7 +16,7 @@ Source4: dhcpd.conf
Source5: findptrsize.c Source5: findptrsize.c
Source6: libdhcp4client.pc Source6: libdhcp4client.pc
Source7: dhcptables.pl Source7: dhcptables.pl
#
Patch: dhcp-3.0-alignment.patch Patch: dhcp-3.0-alignment.patch
Patch100: dhcp-3.0-jbuild.patch Patch100: dhcp-3.0-jbuild.patch
Patch102: dhcp-3.0.1rc13-dhcpctlman.patch Patch102: dhcp-3.0.1rc13-dhcpctlman.patch
@ -89,13 +89,14 @@ Patch175: dhcp-3.0.4-bz191470.patch
Patch176: dhcp-3.0.4-dhclient-R_option.patch Patch176: dhcp-3.0.4-dhclient-R_option.patch
Patch177: dhcp-3.0.4-dhclient-script-METRIC.patch Patch177: dhcp-3.0.4-dhclient-script-METRIC.patch
Patch178: dhcp-3.0.4-dhclient-script-ntp-fudge-bz191461.patch Patch178: dhcp-3.0.4-dhclient-script-ntp-fudge-bz191461.patch
Patch179: dhcp-3.0.4-bz202911.patch
# patch to make the library subtree # patch to make the library subtree
Patch179: dhcp-3.0.4-lib-makefile.patch Patch499: dhcp-3.0.4-lib-makefile.patch
# patches that _must_ go after the split # patches that _must_ go after the split (in %%build)
Patch180: dhcp-3.0.4-libdhcp4client.patch Patch500: dhcp-3.0.4-libdhcp4client.patch
Patch181: dhcp-3.0.4-timeouts.patch Patch501: dhcp-3.0.4-timeouts.patch
URL: http://isc.org/products/DHCP/ URL: http://isc.org/products/DHCP/
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -147,9 +148,9 @@ Summary: The ISC DHCP IPv4 client in a library for invocation from other program
Group: Development/Libraries Group: Development/Libraries
%description -n libdhcp4client %description -n libdhcp4client
The Internet Software Consortium (ISC) Dynamic Host Configuration Protocol (DHCP) The Internet Software Consortium (ISC) Dynamic Host Configuration Protocol
Internet Protocol version 4 (IPv4) client software in a library suitable for (DHCP) Internet Protocol version 4 (IPv4) client software in a library
linkage with and invocation by other programs. suitable for linkage with and invocation by other programs.
%package -n libdhcp4client-devel %package -n libdhcp4client-devel
Summary: Header files for development with the ISC DHCP IPv4 client library Summary: Header files for development with the ISC DHCP IPv4 client library
@ -246,7 +247,9 @@ client library .
%patch176 -p1 -b .dhclient-R_option %patch176 -p1 -b .dhclient-R_option
%patch177 -p1 -b .dhclient-script-METRIC %patch177 -p1 -b .dhclient-script-METRIC
%patch178 -p1 -b .dhclient-script-ntp-fudge-bz191461 %patch178 -p1 -b .dhclient-script-ntp-fudge-bz191461
%patch179 -p1 -b .lib-makefile %patch179 -p1 -b .bz202911
%patch499 -p1 -b .lib-makefile
cp %SOURCE1 . cp %SOURCE1 .
cat <<EOF >site.conf cat <<EOF >site.conf
@ -287,8 +290,8 @@ CC="%{__cc}" ./configure --copts "$RPM_OPT_FLAGS"
%if %{LIBDHCP4CLIENT} %if %{LIBDHCP4CLIENT}
sed 's/@DHCP_VERSION@/'%{version}'/' < %SOURCE5 >libdhcp4client.pc sed 's/@DHCP_VERSION@/'%{version}'/' < %SOURCE5 >libdhcp4client.pc
make -f libdhcp4client.Makefile CC="%{__cc}" libdhcp4client/. make -f libdhcp4client.Makefile CC="%{__cc}" libdhcp4client/.
%patch180 -p1 -b .lib %patch500 -p1 -b .lib
%patch181 -p1 -b .timeouts %patch501 -p1 -b .timeouts
# can't handle make -j yet! # can't handle make -j yet!
%endif %endif
@ -496,6 +499,9 @@ exit 0
%endif %endif
%changelog %changelog
* Thu Aug 17 2006 David Cantrell <dcantrell@redhat.com> - 12:3.0.4-18
- Fix dhclient on s390x platform (#202911)
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 12:3.0.4-17.1 * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 12:3.0.4-17.1
- rebuild - rebuild