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