libvirt: fully remove static files.
This commit is contained in:
parent
599783f51f
commit
815a55e281
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libvirt'
|
# Template file for 'libvirt'
|
||||||
pkgname=libvirt
|
pkgname=libvirt
|
||||||
version=1.0.1
|
version=1.0.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--without-hal --with-storage-lvm --without-xen
|
configure_args="--without-hal --with-storage-lvm --without-xen
|
||||||
--disable-static --with-init-script=systemd
|
--disable-static --with-init-script=systemd
|
||||||
|
@ -64,6 +64,8 @@ make_dirs="
|
||||||
/var/lib/libvirt/uml 0755 root root"
|
/var/lib/libvirt/uml 0755 root root"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
# Remove static files.
|
||||||
|
rm -f ${DESTDIR}/usr/lib/libvirt/connection-driver/*.a
|
||||||
vmove "lib/*" usr/lib
|
vmove "lib/*" 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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue