Update to 1.0.0 release
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
cfd6bc184e
commit
5daeef2bdb
@ -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 <berrange@redhat.com> - 1.0.0-1
|
||||
- Update to 1.0.0 release
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user