From 96f9013896bd88fb01b7a80b6dcb5a31b315abde Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] - Rebase to Fedora native version 0.5.1. - Use find_lang macro. - Use _smp_mflags. - Disable static libraries. --- .hgignore | 1 + libvirt/mingw32-libvirt.spec | 21 +++++++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.hgignore b/.hgignore index ce6ee5d..e08ffdf 100644 --- a/.hgignore +++ b/.hgignore @@ -74,6 +74,7 @@ libssh2/libssh2-0.18.tar.gz libvirt/libvirt-0.4.5.tar.gz libvirt/libvirt-0.4.6.tar.gz libvirt/libvirt-0.5.0.tar.gz +libvirt/libvirt-0.5.1.tar.gz libxml2/libxml2-2.6.32.tar.gz libxml2/libxml2-2.7.1.tar.gz libxml2/libxml2-2.7.2.tar.gz diff --git a/libvirt/mingw32-libvirt.spec b/libvirt/mingw32-libvirt.spec index ac9a742..395a2d6 100644 --- a/libvirt/mingw32-libvirt.spec +++ b/libvirt/mingw32-libvirt.spec @@ -5,8 +5,8 @@ %define __find_provides %{_mingw32_findprovides} Name: mingw32-libvirt -Version: 0.5.0 -Release: 9%{?dist}%{?extra_release} +Version: 0.5.1 +Release: 1%{?dist}%{?extra_release} Summary: MinGW Windows libvirt virtualization library License: LGPLv2+ @@ -55,8 +55,9 @@ MinGW Windows libvirt virtualization library. --without-lxc \ --without-openvz \ --without-uml \ - --without-libvirtd -make + --without-libvirtd \ + --disable-static +make %{?_smp_mflags} %install @@ -68,14 +69,14 @@ rm -rf $RPM_BUILD_ROOT%{_mingw32_sysconfdir}/libvirt 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 +%find_lang libvirt %clean rm -rf $RPM_BUILD_ROOT -%files +%files -f libvirt.lang %defattr(-,root,root) %{_mingw32_bindir}/libvirt-0.dll %{_mingw32_bindir}/virsh.exe @@ -84,8 +85,6 @@ rm -rf $RPM_BUILD_ROOT %{_mingw32_libdir}/libvirt.la %{_mingw32_libdir}/pkgconfig/libvirt.pc -%{_mingw32_datadir}/locale/*/LC_MESSAGES/libvirt.mo - %dir %{_mingw32_includedir}/libvirt %{_mingw32_includedir}/libvirt/libvirt.h %{_mingw32_includedir}/libvirt/virterror.h @@ -94,6 +93,12 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Jan 23 2009 Richard Jones - 0.5.1-1 +- Rebase to Fedora native version 0.5.1. +- Use find_lang macro. +- Use _smp_mflags. +- Disable static libraries. + * Wed Nov 26 2008 Richard Jones - 0.5.0-1 - New upstream version 0.5.0. -- 1.8.3.1