diff --git a/libvirt-python.spec b/libvirt-python.spec index eecfb31..9b336a1 100644 --- a/libvirt-python.spec +++ b/libvirt-python.spec @@ -6,7 +6,7 @@ Summary: The libvirt virtualization API python2 binding Name: libvirt-python -Version: 1.2.2 +Version: 1.2.3 Release: 1%{?dist}%{?extra_release} Source0: http://libvirt.org/sources/python/%{name}-%{version}.tar.gz Url: http://libvirt.org @@ -14,8 +14,12 @@ License: LGPLv2+ Group: Development/Libraries BuildRequires: libvirt-devel >= 0.9.11 BuildRequires: python-devel +BuildRequires: python-nose +BuildRequires: python-lxml %if %{with_python3} BuildRequires: python3-devel +BuildRequires: python3-nose +BuildRequires: python3-lxml %endif %if %{with_python3} @@ -60,6 +64,12 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build %endif rm -f %{buildroot}%{_libdir}/python*/site-packages/*egg-info +%check +%{__python} setup.py test +%if %{with_python3} +%{__python3} setup.py test +%endif + %files %defattr(-,root,root) %doc ChangeLog AUTHORS NEWS README COPYING COPYING.LESSER examples/ @@ -82,6 +92,10 @@ rm -f %{buildroot}%{_libdir}/python*/site-packages/*egg-info %endif %changelog +* Mon Apr 7 2014 Daniel P. Berrange - 1.2.3-1 +- Update to 1.2.3 release +- Run tests during build + * Mon Mar 3 2014 Daniel P. Berrange - 1.2.2-1 - Update to 1.2.2 release diff --git a/sources b/sources index 5bda067..b126282 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -cd3b75c0eb64e933f0b648fbdca6e868 libvirt-python-1.2.2.tar.gz +6916d24595c5cc939e698926cd22888c libvirt-python-1.2.3.tar.gz