libvirt: fix installation.
This commit is contained in:
parent
be6038d249
commit
7052463b92
1 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,8 @@ makedepends="perl pkg-config readline-devel libcap-ng-devel libnl3-devel
|
||||||
post_install() {
|
post_install() {
|
||||||
# Remove static files.
|
# Remove static files.
|
||||||
rm -f ${DESTDIR}/usr/lib/libvirt/connection-driver/*.a
|
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
|
rm -rf ${DESTDIR}/etc/sysconfig
|
||||||
# Remove sysconfig specific stuff from systemd services.
|
# Remove sysconfig specific stuff from systemd services.
|
||||||
sed -i -e "/EnvironmentFile.*/d;" ${DESTDIR}/usr/lib/systemd/system/*.service
|
sed -i -e "/EnvironmentFile.*/d;" ${DESTDIR}/usr/lib/systemd/system/*.service
|
||||||
|
|
Loading…
Reference in a new issue