[python-zope-exceptions] - Exclude the tests from installation

cheeselee cheeselee at fedoraproject.org
Sun Sep 19 03:04:30 UTC 2010


commit 8e92eeb9883979d38678ab9dc85d77b82cab3471
Author: Robin Lee <robinlee.sysu at gmail.com>
Date:   Sun Sep 19 11:04:10 2010 +0800

    - Exclude the tests from installation

 python-zope-exceptions.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/python-zope-exceptions.spec b/python-zope-exceptions.spec
index 6c2d825..eebb29c 100644
--- a/python-zope-exceptions.spec
+++ b/python-zope-exceptions.spec
@@ -3,7 +3,7 @@
 Summary: Zope Exceptions
 Name: python-zope-exceptions
 Version: 3.6.1
-Release: 5%{?dist}
+Release: 6%{?dist}
 Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip
 License: ZPLv2.1
 Group: Development/Libraries
@@ -38,11 +38,15 @@ general purpose that they don't belong in Zope application-specific packages.
 %{python_sitelib}/zope/exceptions/
 # Co-own %%{python_sitelib}/zope/
 %dir %{python_sitelib}/zope/
+%exclude %{python_sitelib}/zope/exceptions/tests/
 %{python_sitelib}/%{modname}-*.egg-info
 %{python_sitelib}/%{modname}-*-nspkg.pth
 
 
 %changelog
+* Sun Sep 19 2010 Robin Lee <robinlee.sysu at gmail.com> - 3.6.1-6
+- Exclude the tests from installation
+
 * Wed Sep 15 2010 Robin Lee <robinlee.sysu at gmail.com> - 3.6.1-5
 - BR: python-zope-interface added
 - Add %%check section and run the tests


More information about the scm-commits mailing list