mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-07 15:04:43 +00:00
take into account new configure option --with-linuxdir
Signed-off-by: Cedric Le Goater <clg@fr.ibm.com>
This commit is contained in:
parent
0f1c997258
commit
dfb8f06a3b
@ -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.
|
|||||||
%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
|
||||||
|
Loading…
Reference in New Issue
Block a user