Commit dfb8f06a by Cedric Le Goater Committed by Daniel Lezcano

take into account new configure option --with-linuxdir

parent 0f1c9972
...@@ -13,4 +13,4 @@ ChangeLog:: ...@@ -13,4 +13,4 @@ ChangeLog::
@touch ChangeLog @touch ChangeLog
rpm: dist rpm: dist
rpmbuild --clean -ta ${distdir}.tar.gz rpmbuild --clean -ta --define "ksrc ${LINUX_DIR}" ${distdir}.tar.gz
...@@ -56,7 +56,8 @@ development of the linux containers. ...@@ -56,7 +56,8 @@ development of the linux containers.
%prep %prep
%setup %setup
%build %build
PATH=$PATH:/usr/sbin:/sbin %configure test "%{ksrc}" != "none" && args="--with-linuxdir=%{ksrc}"
PATH=$PATH:/usr/sbin:/sbin %configure $args
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment