From 50b80feafc65066b44d84633a607e5d58731c2a3107abb5def6a84acac71ec81 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 9 Feb 2016 15:09:44 +0000 Subject: [PATCH] Accepting request 358511 from home:olh:branches:devel:languages:python - Disable testsuite in SLE_11 because it requires python 2.7 OBS-URL: https://build.opensuse.org/request/show/358511 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=30 --- python-Pygments.changes | 5 +++++ python-Pygments.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/python-Pygments.changes b/python-Pygments.changes index 2ca7491..ef442bc 100644 --- a/python-Pygments.changes +++ b/python-Pygments.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 9 11:51:50 UTC 2016 - olaf@aepfle.de + +- Disable testsuite in SLE_11 because it requires python 2.7 + ------------------------------------------------------------------- Mon Jan 25 14:47:30 UTC 2016 - michael@stroeder.com diff --git a/python-Pygments.spec b/python-Pygments.spec index 4ce27c4..8999187 100644 --- a/python-Pygments.spec +++ b/python-Pygments.spec @@ -1,7 +1,7 @@ # # spec file for package python-Pygments # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -65,6 +65,10 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} install -Dm0644 doc/pygmentize.1 %{buildroot}%{_mandir}/man1/pygmentize.1 %check +if test '%{py_ver}' = "2.6" +then + exit 0 +fi nosetests %files