[pylint] Upstream 0.23.0 Add unit tests to spec

Brian C. Lane bcl at fedoraproject.org
Tue Mar 29 15:34:14 UTC 2011


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

    Upstream 0.23.0
    Add unit tests to spec

 .gitignore  |    1 +
 pylint.spec |   15 +++++++++++----
 sources     |    2 +-
 3 files changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3ed58d2..513729b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 pylint-0.21.1.tar.gz
 /pylint-0.22.0.tar.gz
+/pylint-0.23.0.tar.gz
diff --git a/pylint.spec b/pylint.spec
index 65ffbbc..9a3d795 100644
--- a/pylint.spec
+++ b/pylint.spec
@@ -1,8 +1,8 @@
 %{!?_python_sitelib: %define _python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Name:           pylint
-Version:        0.22.0
-Release:        3%{?dist}
+Version:        0.23.0
+Release:        1%{?dist}
 Summary:        Analyzes Python code looking for bugs and signs of poor quality
 
 Group:          Development/Debuggers
@@ -12,8 +12,9 @@ Source0:        ftp://ftp.logilab.org/pub/pylint/pylint-%{version}.tar.gz
 BuildArch:      noarch
 BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
-BuildRequires:  python-devel python-setuptools
-Requires:       python-logilab-astng >= 0.21.0
+BuildRequires:  python-devel python-setuptools python-unittest2
+BuildRequires:  python-logilab-astng >= 0.21.1
+Requires:       python-logilab-astng >= 0.21.1
 
 
 %description
@@ -55,6 +56,8 @@ for FILE in README doc/*.txt; do
     mv -f $FILE.utf8 $FILE
 done
 
+%check
+%{__python} setup.py test
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -77,6 +80,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Mar 28 2011 Brian C. Lane <bcl at redhat.com> - 0.23-0.1
+- Upstream 0.23.0
+- Add unit tests to spec
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.22.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index a683697..6fd2728 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-feb2c37a64c8c8ab54081945c8762e95  pylint-0.22.0.tar.gz
+3c241b161b7e6826011cb8bde4fcf891  pylint-0.23.0.tar.gz


More information about the scm-commits mailing list