[lxc-devel] [PATCH] Remove unneeded ksrc spec file macro

Dwight Engen dwight.engen at oracle.com
Thu Oct 25 19:42:21 UTC 2012


Change 910bb4fa obviated the need for the --with-linuxdir configure
option which means that the ksrc rpm macro no longer makes sense either.

Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
---
 Makefile.am |    2 +-
 lxc.spec.in |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 2f7606f..f99ad1c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -13,4 +13,4 @@ ChangeLog::
 	@touch ChangeLog
 
 rpm: dist
-	rpmbuild --clean -ta --define "ksrc ${LINUX_DIR}" ${distdir}.tar.gz
+	rpmbuild --clean -ta ${distdir}.tar.gz
diff --git a/lxc.spec.in b/lxc.spec.in
index 12207e3..414b51c 100644
--- a/lxc.spec.in
+++ b/lxc.spec.in
@@ -62,7 +62,6 @@ development of the linux containers.
 %prep
 %setup
 %build
-test "%{ksrc}" != "none" && args="--with-linuxdir=%{ksrc}"
 PATH=$PATH:/usr/sbin:/sbin %configure $args --disable-rpath
 make %{?_smp_mflags}
 
-- 
1.7.1





More information about the lxc-devel mailing list