From 7052463b9292441378f9e0a6c72684381035b006 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 16 Apr 2013 09:10:11 +0200 Subject: [PATCH] libvirt: fix installation. --- srcpkgs/libvirt/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/libvirt/template b/srcpkgs/libvirt/template index 51c27d5122..359e53a7c1 100644 --- a/srcpkgs/libvirt/template +++ b/srcpkgs/libvirt/template @@ -23,7 +23,8 @@ makedepends="perl pkg-config readline-devel libcap-ng-devel libnl3-devel post_install() { # Remove static files. rm -f ${DESTDIR}/usr/lib/libvirt/connection-driver/*.a - vmove "lib/*" usr/lib + vmkdir usr/lib + mv ${DESTDIR}/lib/* ${DESTDIR}/usr/lib rm -rf ${DESTDIR}/etc/sysconfig # Remove sysconfig specific stuff from systemd services. sed -i -e "/EnvironmentFile.*/d;" ${DESTDIR}/usr/lib/systemd/system/*.service