[python-paste-deploy] Remove the test directory as it serves no purpose and pollutes the global namespace https://bugzilla

Toshio くらとみ toshio at fedoraproject.org
Mon Jul 11 23:09:31 UTC 2011


commit 41a1e99e90182493813b3cf85ae2b4ac9ae38205
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Mon Jul 11 16:09:09 2011 -0700

    Remove the test directory as it serves no purpose and pollutes the global namespace
    https://bugzilla.redhat.com/show_bug.cgi?id=720055

 python-paste-deploy.spec |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/python-paste-deploy.spec b/python-paste-deploy.spec
index 411471e..a523448 100644
--- a/python-paste-deploy.spec
+++ b/python-paste-deploy.spec
@@ -4,7 +4,7 @@
 
 Name:           python-paste-deploy
 Version:        1.5.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Load, configure, and compose WSGI applications and servers
 Group:          System Environment/Libraries
 License:        MIT
@@ -14,13 +14,8 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
 # 1.5.0+ dropped Python 2.4 support
-BuildRequires: python-devel > 2.4
-
-%if 0%{?fedora} >= 13 || 0%{?rhel}
+BuildRequires: python2-devel > 2.4
 BuildRequires: python-setuptools
-%else
-BuildRequires: python-setuptools-devel
-%endif
 Requires:       python-paste
 
 %description
@@ -40,6 +35,7 @@ this configuration file.
 %install
 rm -rf %{buildroot}
 %{__python} setup.py install --skip-build --root=%{buildroot}
+rm -rf %{buildroot}%{pythonsitelib}/test
 
 %clean
 rm -rf %{buildroot}
@@ -53,6 +49,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon Jul 11 2011 Toshio Kuratomi <toshio at fedoraproject.org> - 1.5.0-2
+- Remove the test directory as it serves no purpose and pollutes the global namespace
+  https://bugzilla.redhat.com/show_bug.cgi?id=720055
+
 * Thu Jun 16 2011 Luke Macken <lmacken at redhat.com> - 1.5.0-1
 - Update to 1.5.0
 


More information about the scm-commits mailing list