diff --git a/libvirt-glib.spec b/libvirt-glib.spec index 4e0c6ff..2aedb42 100644 --- a/libvirt-glib.spec +++ b/libvirt-glib.spec @@ -1,28 +1,21 @@ # -*- rpm-spec -*- %define with_introspection 0 -%define with_python 0 %define with_vala 0 %if 0%{?fedora} >= 15 %define with_introspection 1 %endif -%if 0%{?fedora} && 0%{?fedora} < 15 -%define with_python 1 -%endif %if 0%{?rhel} > 6 %define with_introspection 1 %endif -%if 0%{?rhel} && 0%{?rhel} < 7 -%define with_python 1 -%endif %define with_vala %{with_introspection} %define libvirt_version 1.1.1 Name: libvirt-glib -Version: 0.2.3 -Release: 2%{?dist}%{?extra_release} +Version: 1.0.0 +Release: 1%{?dist}%{?extra_release} Summary: libvirt glib integration for events Group: Development/Libraries License: LGPLv2+ @@ -32,7 +25,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: glib2-devel >= 2.36.0 BuildRequires: libvirt-devel >= %{libvirt_version} -BuildRequires: python-devel %if %{with_introspection} BuildRequires: gobject-introspection-devel %if 0%{?fedora} == 12 @@ -72,12 +64,6 @@ Requires: libvirt-gconfig-devel = %{version}-%{release} Requires: libvirt-gobject = %{version}-%{release} Requires: libvirt-devel >= %{libvirt_version} -%if %{with_python} -%package python -Group: Development/Libraries -Summary: libvirt glib integration for events python binding -%endif - %description This package provides integration between libvirt and the glib event loop. @@ -102,12 +88,6 @@ objects This package provides development header files and libraries for managing virtualization host objects -%if %{with_python} -%description python -This package provides a python module for integration between -libvirt and the glib event loop -%endif - %prep %setup -q @@ -118,13 +98,8 @@ libvirt and the glib event loop %else %define introspection_arg --disable-introspection %endif -%if %{with_python} -%define python_arg --with-python -%else -%define python_arg --without-python -%endif -%configure %{introspection_arg} %{python_arg} +%configure %{introspection_arg} %__make %{?_smp_mflags} @@ -227,15 +202,10 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/vala/vapi/libvirt-gobject-1.0.vapi %endif -%if %{with_python} -%files python -%defattr(-,root,root,-) -%doc examples/event-test.py -%{_libdir}/python*/site-packages/libvirtglib.py* -%{_libdir}/python*/site-packages/libvirtglibmod* -%endif - %changelog +* Fri Nov 4 2016 Daniel P. Berrange - 1.0.0-1 +- Update to 1.0.0 release + * Thu Feb 04 2016 Fedora Release Engineering - 0.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 6c756dc..8afa679 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a19c9b644dd5f2b9e3e1a4a21f34e2e0 libvirt-glib-0.2.3.tar.gz +cb1332e97c175606306fe8966f8243af libvirt-glib-1.0.0.tar.gz