mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 05:17:59 +03:00
mingw: match recent changes in spec file
* libvirt.spec.in (%file): List new installed files. * configure.ac (with_init_script): Assume default of none when cross-compiling.
This commit is contained in:
parent
ad026e97bf
commit
af32c355c3
@ -276,10 +276,10 @@ AC_ARG_WITH([init-script],
|
||||
[AC_HELP_STRING([--with-init-script=@<:@redhat|auto|none@:>@],
|
||||
[Style of init script to install @<:@default=auto@:>@])])
|
||||
if test "x$with_init_script" = "x" || test "x$with_init_script" = "xauto"; then
|
||||
if test -f /etc/redhat-release ; then
|
||||
with_init_script=redhat
|
||||
else
|
||||
if test "$cross_compiling" = yes || test ! -f /etc/redhat-release; then
|
||||
with_init_script=none
|
||||
else
|
||||
with_init_script=redhat
|
||||
fi
|
||||
fi
|
||||
AM_CONDITIONAL([LIBVIRT_INIT_SCRIPT_RED_HAT], test x$with_init_script = xredhat)
|
||||
|
@ -71,6 +71,7 @@ rm -rf $RPM_BUILD_ROOT%{_mingw32_datadir}/doc/*
|
||||
rm -rf $RPM_BUILD_ROOT%{_mingw32_datadir}/gtk-doc/*
|
||||
|
||||
rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libvirt.a
|
||||
rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libvirt-qemu.a
|
||||
|
||||
|
||||
%clean
|
||||
@ -83,10 +84,13 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mingw32_bindir}/virsh.exe
|
||||
%{_mingw32_bindir}/virt-xml-validate
|
||||
%{_mingw32_bindir}/virt-pki-validate
|
||||
%{_mingw32_bindir}/libvirt-qemu-0.dll
|
||||
|
||||
%{_mingw32_libdir}/libvirt.dll.a
|
||||
%{_mingw32_libdir}/libvirt.la
|
||||
%{_mingw32_libdir}/pkgconfig/libvirt.pc
|
||||
%{_mingw32_libdir}/libvirt-qemu.dll.a
|
||||
%{_mingw32_libdir}/libvirt-qemu.la
|
||||
|
||||
%dir %{_mingw32_datadir}/libvirt/
|
||||
%dir %{_mingw32_datadir}/libvirt/schemas/
|
||||
@ -109,6 +113,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%dir %{_mingw32_includedir}/libvirt
|
||||
%{_mingw32_includedir}/libvirt/libvirt.h
|
||||
%{_mingw32_includedir}/libvirt/virterror.h
|
||||
%{_mingw32_includedir}/libvirt/libvirt-qemu.h
|
||||
|
||||
%{_mingw32_mandir}/man1/virsh.1*
|
||||
%{_mingw32_mandir}/man1/virt-xml-validate.1*
|
||||
|
Loading…
Reference in New Issue
Block a user