take into account new configure option --with-linuxdir

Signed-off-by: Cedric Le Goater <clg@fr.ibm.com>
This commit is contained in:
Cedric Le Goater 2011-01-21 11:01:43 +01:00 committed by Daniel Lezcano
parent 0f1c997258
commit dfb8f06a3b
2 changed files with 3 additions and 2 deletions

View File

@ -13,4 +13,4 @@ ChangeLog::
@touch ChangeLog
rpm: dist
rpmbuild --clean -ta ${distdir}.tar.gz
rpmbuild --clean -ta --define "ksrc ${LINUX_DIR}" ${distdir}.tar.gz

View File

@ -56,7 +56,8 @@ development of the linux containers.
%prep
%setup
%build
PATH=$PATH:/usr/sbin:/sbin %configure
test "%{ksrc}" != "none" && args="--with-linuxdir=%{ksrc}"
PATH=$PATH:/usr/sbin:/sbin %configure $args
make %{?_smp_mflags}
%install