[python-tg-devtools] Update to 2.1.1 Reenable test suite

Toshio くらとみ toshio at fedoraproject.org
Sat Jul 16 17:51:57 UTC 2011


commit 5700bd5fca3de5dc9b4b90a6cd28af5826a38c09
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Sat Jul 16 10:51:36 2011 -0700

    Update to 2.1.1
    Reenable test suite

 .gitignore              |    1 +
 python-tg-devtools.spec |   37 +++++++++++++++++++++----------------
 sources                 |    2 +-
 3 files changed, 23 insertions(+), 17 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a245eb9..2eee2c8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 tg.devtools-2.1b2.tar.gz
 /tg.devtools-2.1b2dev.tar.gz
 /tg.devtools-2.1.tar.gz
+/tg.devtools-2.1.1.tar.gz
diff --git a/python-tg-devtools.spec b/python-tg-devtools.spec
index c22b079..7e2b44a 100644
--- a/python-tg-devtools.spec
+++ b/python-tg-devtools.spec
@@ -1,9 +1,8 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Name:           python-tg-devtools
-Version:        2.1
-Release:        2%{?dist}
+Version:        2.1.1
+Release:        1%{?dist}
 Summary:        Development tools and templates for TurboGears2
 
 Group:          Development/Languages
@@ -13,12 +12,13 @@ Source0:        http://www.turbogears.org/2.1/downloads/current/tg.devtools-%{ve
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
-BuildRequires:  python-setuptools-devel python-nose python-coverage
+BuildRequires:  python-setuptools python-nose python-coverage
 BuildRequires:  python-repoze-tm2 python-turbokid python-turbojson
 BuildRequires:  python-repoze-what-quickstart python-catwalk
 BuildRequires:  python-zope-sqlalchemy
 
-BuildRequires:  python-paste-script python-tempita python-webtest
+BuildRequires:  python-paste-script python-tempita
+BuildRequires:  python-webtest >= 1.2.3
 BuildRequires:  python-repoze-who python-repoze-who-testutil
 BuildRequires:  python-babel
 BuildRequires:  TurboGears2
@@ -30,24 +30,25 @@ Requires:       python-repoze-who-testutil
 Requires:       python-catwalk
 Requires:       python-babel
 
-%if 0%{?fedora} <= 6
+%if 0%{?rhel} <= 5
 Requires:       python-sqlite2
 BuildRequires:  python-sqlite2
 BuildRequires:  python-hashlib
 Requires:       python-hashlib
 %endif
 
-%if 0%{?fedora} > 10
-Requires:       python-sqlalchemy
-Requires:       python-migrate
-BuildRequires:  python-migrate
-%else
+%if 0%{?rhel} <= 5
 BuildRequires:  python-sqlalchemy0.5
 BuildRequires:  python-migrate0.5
 Requires:       python-sqlalchemy0.5
 Requires:       python-migrate0.5
+%else
+Requires:       python-sqlalchemy
+Requires:       python-migrate
+BuildRequires:  python-migrate
 %endif
 
+
 %description
 This package contains various paster commands and templates used for
 TurboGears2 development.
@@ -63,14 +64,14 @@ TurboGears2 development.
 
 %install
 rm -rf %{buildroot}
-%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+%{__python} setup.py install --skip-build --root %{buildroot}
 # remove wrong script interpreter
 sed -i '1s/^#!python//' %{buildroot}%{python_sitelib}/devtools/templates/turbogears/ez_setup/__init__.py
 sed -i '1s/^#!python//' %{buildroot}%{python_sitelib}/devtools/templates/tgext/ez_setup/__init__.py
 
 
-#%check
-#PYTHONPATH=$(pwd) nosetests -q
+%check
+PYTHONPATH=$(pwd) nosetests -q
 
 
 %clean
@@ -81,10 +82,14 @@ rm -rf %{buildroot}
 %defattr(0644,root,root,0755)
 %doc
 %{python_sitelib}/devtools/
-%{python_sitelib}/tg.devtools-%{version}-py%{pyver}.egg-info/
+%{python_sitelib}/tg.devtools-%{version}-*.egg-info/
 
 
 %changelog
+* Fri Jul 15 2011 Toshio Kuratomi <toshio at fedoraproject.org> - 2.1.1-1
+- Update to 2.1.1
+- Reenable test suite
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index ff05052..a8c4ff7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fdddb04e082810df7ea10904146d4308  tg.devtools-2.1.tar.gz
+7ff10855733e99c5f136b4d23b8cbedb  tg.devtools-2.1.1.tar.gz


More information about the scm-commits mailing list