commit 9fa6748a1e634dcae1a25daefc001b8f9e871a0f
Author: Elan Ruusamäe <[email protected]>
Date:   Wed Jan 23 12:41:08 2013 +0200

    enable tests (but they do nothing)

 python-django-pipeline.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/python-django-pipeline.spec b/python-django-pipeline.spec
index 0796210..86cf6d2 100644
--- a/python-django-pipeline.spec
+++ b/python-django-pipeline.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+
 Summary:       An asset packaging library for Django
 Name:          python-django-pipeline
 Version:       1.2.21
@@ -22,12 +26,13 @@ template support, and optional data-URI image and font 
embedding
 
 %prep
 %setup -q -n django-pipeline-%{version}
-
 %{__rm} -r django_pipeline*.egg-info
 
 %build
 %{__python} setup.py build
 
+%{?with_tests:%{__python} setup.py test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-django-pipeline.git/commitdiff/9fa6748a1e634dcae1a25daefc001b8f9e871a0f

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to