From 8e92eeb9883979d38678ab9dc85d77b82cab3471 Mon Sep 17 00:00:00 2001 From: Robin Lee Date: Sun, 19 Sep 2010 11:04:10 +0800 Subject: [PATCH] - Exclude the tests from installation --- python-zope-exceptions.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 - 3.6.1-6 +- Exclude the tests from installation + * Wed Sep 15 2010 Robin Lee - 3.6.1-5 - BR: python-zope-interface added - Add %%check section and run the tests