[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] mingw32-libvirt.spec: bring up to date



Right now, mingw32-portablexdr is not available in Fedora, but is
present in fedora-mingw.git.  With that package, plus
redhat-rpm-config and this patch, it is once again possible to build
mingw32-libvirt from a Fedora 12 host.

* mingw32-libvirt.spec.in (__debug_install_post): Override.
(%files): Mention recent additions.
---

The __debug_install_post trick is something that Richard Jones
taught me while figuring out how to get mingw32-portablexdr.
Also, during that effort, we discovered this bug in rpm:
https://bugzilla.redhat.com/show_bug.cgi?id=587818
you have to have redhat-rpm-config installed to work around it.

 mingw32-libvirt.spec.in |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/mingw32-libvirt.spec.in b/mingw32-libvirt.spec.in
index 867a849..fc90203 100644
--- a/mingw32-libvirt.spec.in
+++ b/mingw32-libvirt.spec.in
@@ -3,6 +3,7 @@
 %define _use_internal_dependency_generator 0
 %define __find_requires %{_mingw32_findrequires}
 %define __find_provides %{_mingw32_findprovides}
+%define __debug_install_post %{_mingw32_debug_install_post}

 Name:           mingw32-libvirt
 Version:        @VERSION@
@@ -30,6 +31,7 @@ BuildRequires:  gettext

 BuildArch:      noarch

+%{?_mingw32_debug_package}

 %description
 MinGW Windows libvirt virtualization library.
@@ -95,9 +97,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_mingw32_datadir}/libvirt/schemas/nodedev.rng
 %{_mingw32_datadir}/libvirt/schemas/capability.rng
 %{_mingw32_datadir}/libvirt/schemas/interface.rng
+%{_mingw32_datadir}/libvirt/schemas/nwfilter.rng
 %{_mingw32_datadir}/libvirt/schemas/secret.rng
 %{_mingw32_datadir}/libvirt/schemas/storageencryption.rng

+%{_mingw32_datadir}/libvirt/cpu_map.xml
+
 %{_mingw32_datadir}/locale/*/LC_MESSAGES/libvirt.mo

 %dir %{_mingw32_includedir}/libvirt
-- 
1.6.6.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]