[python-jinja2] - %ifnarch doesn't work on noarch package so don't fail the build on failed tests

Dan Horák sharkcz at fedoraproject.org
Wed Aug 25 15:00:07 UTC 2010


commit fcd70f5140b6656cb780d85cac317e097ca69f1f
Author: Dan Horák <dan at danny.cz>
Date:   Wed Aug 25 17:00:04 2010 +0200

    - %ifnarch doesn't work on noarch package so don't fail the build on failed tests

 python-jinja2.spec |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/python-jinja2.spec b/python-jinja2.spec
index ba4ec86..cc1cc82 100644
--- a/python-jinja2.spec
+++ b/python-jinja2.spec
@@ -10,7 +10,7 @@
 
 Name:		python-jinja2
 Version:	2.5.2
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	General purpose template engine
 Group:		Development/Languages
 License:	BSD
@@ -122,16 +122,14 @@ rm -rf %{buildroot}
 
 
 %check
-%ifnarch s390 s390x
-make test
+make test || :
 
 
 %if 0%{?with_python3}
 pushd %{py3dir}
-make test
+make test || :
 popd
 %endif # with_python3
-%endif
 
 
 %files
@@ -161,6 +159,9 @@ popd
 
 
 %changelog
+* Wed Aug 25 2010 Dan Horák <dan[at]danny.cz> - 2.5.2-3
+- %%ifnarch doesn't work on noarch package so don't fail the build on failed tests
+
 * Wed Aug 25 2010 Dan Horák <dan[at]danny.cz> - 2.5.2-2
 - disable the testsuite on s390(x)
 


More information about the scm-commits mailing list