[packages/dhcp/AC-branch] linux3 hack
glen
glen at pld-linux.org
Sat May 30 16:25:18 CEST 2015
commit d88aa77dea732cb012c15c29f3898d3ba02bd5f8
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat May 30 17:24:37 2015 +0300
linux3 hack
dhcp.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/dhcp.spec b/dhcp.spec
index 60c84bd..9d25b40 100644
--- a/dhcp.spec
+++ b/dhcp.spec
@@ -211,6 +211,8 @@ cp %{SOURCE7} libdhcp4client/Makefile.dist
cp %{SOURCE8} includes/isc-dhcp/libdhcp_control.h
%build
+export sysname=linux-2.2
+
# NOTE: this is not autoconf configure - do not change it to %%configure
./configure
@@ -231,6 +233,7 @@ rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig},%{schemadir},%{_pkgconfigdir}}
%{__make} install \
+ sysname=linux-2.2 \
DESTDIR=$RPM_BUILD_ROOT \
CLIENTBINDIR=/sbin \
BINDIR=%{_sbindir} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dhcp.git/commitdiff/d88aa77dea732cb012c15c29f3898d3ba02bd5f8
More information about the pld-cvs-commit
mailing list