[python-logilab-common] Upstream 0.55.1 Add unit tests to spec

Brian C. Lane bcl at fedoraproject.org
Mon Mar 28 23:27:18 UTC 2011


commit ce2e73acecfef29f112988f931bc5115d8bcd5f1
Author: Brian C. Lane <bcl at redhat.com>
Date:   Mon Mar 28 16:06:06 2011 -0700

    Upstream 0.55.1
    Add unit tests to spec

 python-logilab-common.spec |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/python-logilab-common.spec b/python-logilab-common.spec
index 2785c14..23d3f87 100644
--- a/python-logilab-common.spec
+++ b/python-logilab-common.spec
@@ -1,8 +1,8 @@
 %{!?_python_sitelib: %define _python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Name:           python-logilab-common
-Version:        0.53.0
-Release:        2%{?dist}
+Version:        0.55.1
+Release:        1%{?dist}
 Summary:        Common libraries for Logilab projects
 
 Group:          Development/Libraries
@@ -12,7 +12,7 @@ Source0:        ftp://ftp.logilab.org/pub/common/logilab-common-%{version}.tar.g
 BuildArch:      noarch
 BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
-BuildRequires:  python-devel python-setuptools
+BuildRequires:  python-devel python-setuptools python-unittest2
 Requires:       mx
 
 
@@ -34,6 +34,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT%{_python_sitelib}/logilab/common/test
 
+%check
+%{__python} setup.py test
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -47,6 +49,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Mar 28 2011 Brian C. Lane <bcl at redhat.com> - 0.55.1-1
+- Upstream 0.55.1
+- Add unit tests to spec
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.53.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list