From 1e45ce493bb9c51cf066c792cd3e999e67997b72 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Mon, 19 Dec 2011 14:54:56 +0000 Subject: [PATCH] Update to 0.0.3 --- .gitignore | 2 +- libvirt-glib.spec | 25 ++++++++++++++++++++++--- sources | 2 +- 3 files changed, 24 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 6cd8b16..1bc1efd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -/libvirt-glib-0.0.2.tar.gz .build*.log *.rpm +/libvirt-glib-*.tar.gz diff --git a/libvirt-glib.spec b/libvirt-glib.spec index 69064b4..432a136 100644 --- a/libvirt-glib.spec +++ b/libvirt-glib.spec @@ -2,6 +2,7 @@ %define with_introspection 0 %define with_python 0 +%define with_vala 0 %if 0%{?fedora} >= 15 %define with_introspection 1 @@ -15,10 +16,12 @@ %if 0%{?rhel} && 0%{?rhel} < 7 %define with_python 1 %endif - +%if 0%{with_introspection} && 0%{?fedora} > 15 +%define with_vala 1 +%endif Name: libvirt-glib -Version: 0.0.2 +Version: 0.0.3 Release: 1%{?dist}%{?extra_release} Summary: libvirt glib integration for events Group: Development/Libraries @@ -28,7 +31,7 @@ Source0: ftp://libvirt.org/libvirt/glib/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: glib2-devel >= 2.10.0 -BuildRequires: libvirt-devel >= 0.9.4 +BuildRequires: libvirt-devel >= 0.9.7 BuildRequires: python-devel %if %{with_introspection} BuildRequires: gobject-introspection-devel @@ -39,6 +42,9 @@ BuildRequires: gir-repository-devel BuildRequires: libxml2-devel # Hack due to https://bugzilla.redhat.com/show_bug.cgi?id=613466 BuildRequires: libtool +%if %{with_vala} +BuildRequires: vala-tools +%endif %package devel Group: Development/Libraries @@ -153,18 +159,28 @@ rm -rf $RPM_BUILD_ROOT %if %{with_introspection} %{_libdir}/girepository-1.0/LibvirtGLib-1.0.typelib %endif +%if %{with_vala} +%{_datadir}/vala/vapi/libvirt-glib-1.0.vapi +%endif %files -n libvirt-gconfig %{_libdir}/libvirt-gconfig-1.0.so.* %if %{with_introspection} %{_libdir}/girepository-1.0/LibvirtGConfig-1.0.typelib %endif +%if %{with_vala} +%{_datadir}/vala/vapi/libvirt-gconfig-1.0.vapi +%endif %files -n libvirt-gobject %{_libdir}/libvirt-gobject-1.0.so.* %if %{with_introspection} %{_libdir}/girepository-1.0/LibvirtGObject-1.0.typelib %endif +%if %{with_vala} +%{_datadir}/vala/vapi/libvirt-gobject-1.0.deps +%{_datadir}/vala/vapi/libvirt-gobject-1.0.vapi +%endif %files devel %defattr(-,root,root,-) @@ -217,6 +233,9 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Mon Dec 19 2011 Daniel P. Berrange - 0.0.3-1 +- Update to 0.0.3 release + * Tue Nov 22 2011 Daniel P. Berrange - 0.0.2-1 - Update to 0.0.2 release diff --git a/sources b/sources index 5655566..af99d54 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -67df7dce2e4c6ff3b5b9a04437528d49 libvirt-glib-0.0.2.tar.gz +2bcb77fe8ed9ffd1974c855354910024 libvirt-glib-0.0.3.tar.gz