[python-ZConfig] - Update to 2.9.0 (#689762) - Exclude the tests

cheeselee cheeselee at fedoraproject.org
Wed Mar 30 11:56:09 UTC 2011


commit 6190e955f4382beaeb6e3b80cdaca8d925ca4c86
Author: Robin Lee <cheeselee at fedoraproject.org>
Date:   Wed Mar 30 19:55:44 2011 +0800

    - Update to 2.9.0 (#689762)
    - Exclude the tests

 .gitignore          |    1 +
 python-ZConfig.spec |   17 +++++++++++++----
 sources             |    2 +-
 3 files changed, 15 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d7807e4..d0f1ff4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 ZConfig-2.8.0.tar.gz
+/ZConfig-2.9.0.zip
diff --git a/python-ZConfig.spec b/python-ZConfig.spec
index dd0a5e3..0966c18 100644
--- a/python-ZConfig.spec
+++ b/python-ZConfig.spec
@@ -3,17 +3,20 @@
 %endif
 
 Name:           python-ZConfig
-Version:        2.8.0
-Release:        5%{?dist}
+Version:        2.9.0
+Release:        1%{?dist}
 Summary:        Structured Configuration Library
 Group:          Development/Languages
 License:        ZPLv2.1
 URL:            http://www.zope.org/Members/fdrake/zconfig/
-Source0:        http://pypi.python.org/packages/source/Z/ZConfig/ZConfig-%{version}.tar.gz
+Source0:        http://pypi.python.org/packages/source/Z/ZConfig/ZConfig-%{version}.zip
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
-BuildRequires:  python-devel
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+# for tests, not available in Fedora
+#BuildRequires:  python-zope-testrunner
 
 
 %description
@@ -40,6 +43,7 @@ rm -f $RPM_BUILD_ROOT%{python_sitelib}/ZConfig/*.txt
 
 
 #%%check
+# Tests require zope.testrunner not yet available in Fedora
 #%{__python} setup.py test
 
  
@@ -52,11 +56,16 @@ rm -rf $RPM_BUILD_ROOT
 %doc COPYRIGHT.txt LICENSE.txt NEWS.txt README.txt doc/zconfig.pdf
 %doc ZConfig/*.txt
 %{python_sitelib}/*
+%exclude %{python_sitelib}/ZConfig/tests/
 %{_bindir}/zconfig
 %{_bindir}/zconfig_schema2html
 
 
 %changelog
+* Wed Mar 30 2011 Robin Lee <cheeselee at fedoraproject.org> - 2.9.0-1
+- Update to 2.9.0 (#689762)
+- Exclude the tests
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.8.0-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 7830d21..08e0adf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4d1358d3e2e643430716103d5e495509  ZConfig-2.8.0.tar.gz
+5c932690a70c8907efd240cdd76a7bc4  ZConfig-2.9.0.zip


More information about the scm-commits mailing list