[python-djblets/el6] Remove the "tests" directory

Stephen Gallagher sgallagh at fedoraproject.org
Fri Aug 16 01:24:44 UTC 2013


commit c1c4ff97e883d7cfd0adfc81fb4c50dd9020b519
Author: Stephen Gallagher <sgallagh at redhat.com>
Date:   Thu Aug 15 21:24:18 2013 -0400

    Remove the "tests" directory

 python-djblets.spec |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-djblets.spec b/python-djblets.spec
index dfeca68..887063e 100644
--- a/python-djblets.spec
+++ b/python-djblets.spec
@@ -55,10 +55,9 @@ rm -rf $RPM_BUILD_ROOT
 # Remove bundled copy of feedparser.py
 rm -f $RPM_BUILD_ROOT%{python_sitelib}/djblets/feedview/feedparser.py*
 
-# Move the "tests" subdirectory to avoid it polluting the main python
+# Remove the "tests" subdirectory to avoid it polluting the main python
 # namespace:
-mv $RPM_BUILD_ROOT%{python_sitelib}/tests \
-   $RPM_BUILD_ROOT%{python_sitelib}/djblets/tests
+rm -Rf $RPM_BUILD_ROOT%{python_sitelib}/tests
 
 %clean
 rm -rf $RPM_BUILD_ROOT


More information about the scm-commits mailing list