]> git.proxmox.com Git - mirror_lxc.git/commit
fixes for rpmbuild
authorGreg Kurz <gkurz@fr.ibm.com>
Tue, 13 Sep 2011 13:08:04 +0000 (15:08 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 13 Sep 2011 13:08:04 +0000 (15:08 +0200)
commit1c41ddcb4af633ac906f1d7c9ef1dc7d121d7850
tree4642a2aa8d5097032e1a0adc5aebc83a784b96bc
parentf7b98d38f042c403114fd07187dfe7daed44bdda
fixes for rpmbuild

This patch fixes some makefile/specfile issues when running
rpmbuild with the distributed lxc specfile:

- fixes usage of installation directories for config files,
  rootfs, templates and lxc-init so that they're calculated
  at make time instead of configure time. Thanks to this,
  all installed items go under $RPM_BUILD_ROOT when running
  rpmbuild
- introduce --disable-rpath option to configure to avoid
  check-rpaths errors when building non-root.
- introduce a lxc-libs package in the default spec file
  to allow concurrent installation of 32 bit and 64 bit
  libraries.

v2: - fix circular reference in lxc.pc
    - ship lxc.pc with lxc-devel

Signed-off-by: Greg Kurz <gkurz@fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
configure.ac
lxc.pc.in
lxc.spec.in
src/lxc/Makefile.am