]> git.pld-linux.org Git - packages/python-django-pipeline.git/commitdiff
enable tests (but they do nothing) auto/th/python-django-pipeline-1.2.21-1
authorElan Ruusamäe <glen@delfi.ee>
Wed, 23 Jan 2013 10:41:08 +0000 (12:41 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 23 Jan 2013 10:41:08 +0000 (12:41 +0200)
python-django-pipeline.spec

index 07962105ae66c5f15486d7b39de016b57b299ddb..86cf6d2293b5d8b8eb7e4bc0be8a6cafe8c683b2 100644 (file)
@@ -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 \
This page took 0.24289 seconds and 4 git commands to generate.