mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-03 13:43:07 +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
|
||||
|
||||
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
|
||||
%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
|
||||
|
Loading…
Reference in New Issue
Block a user