[python-logilab-astng] Upstream 0.21.1 Add unit tests to spec
Brian C. Lane
bcl at fedoraproject.org
Mon Mar 28 23:49:37 UTC 2011
commit 3800032bb9022b67ee2594e320830a3fb07ce1ee
Author: Brian C. Lane <bcl at redhat.com>
Date: Mon Mar 28 16:49:31 2011 -0700
Upstream 0.21.1
Add unit tests to spec
.gitignore | 1 +
python-logilab-astng.spec | 14 +++++++++++---
sources | 2 +-
3 files changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9489dbc..c266f04 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
logilab-astng-0.20.1.tar.gz
/logilab-astng-0.21.0.tar.gz
+/logilab-astng-0.21.1.tar.gz
diff --git a/python-logilab-astng.spec b/python-logilab-astng.spec
index 557972e..3cede36 100644
--- a/python-logilab-astng.spec
+++ b/python-logilab-astng.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-astng
-Version: 0.21.0
-Release: 3%{?dist}
+Version: 0.21.1
+Release: 1%{?dist}
Summary: Python Abstract Syntax Tree New Generation
Group: Development/Languages
@@ -15,7 +15,8 @@ Provides: python-astng = %{version}-%{release}
Obsoletes: python-astng <= 0.16.0
BuildArch: noarch
-BuildRequires: python-devel python-setuptools
+BuildRequires: python-devel python-setuptools python-unittest2
+BuildRequires: python-logilab-common >= 0.53.0
Requires: python-logilab-common >= 0.53.0
%description
@@ -45,6 +46,9 @@ for FILE in README; do
mv -f $FILE.utf8 $FILE
done
+%check
+%{__python} setup.py test
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -58,6 +62,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Mar 28 2011 Brian C. Lane <bcl at redhat.com> - 0.21.1-1
+- Upstream 0.21.1
+- Add unit tests to spec
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.21.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/sources b/sources
index df3a8e4..4943ff8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-582751f0abbd8a530b610f7f1bdd290a logilab-astng-0.21.0.tar.gz
+064a1cb970c283cf18e05a990db48576 logilab-astng-0.21.1.tar.gz
More information about the scm-commits
mailing list