From e0217a57bee68d1b8020dc32dc6cd25f0cddfc722e6252992b9d17dfa55231b5 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 27 Sep 2013 16:02:27 +0000 Subject: [PATCH] Accepting request 200749 from devel:languages:python Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/200749 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=8 --- python-pytest.changes | 5 +++++ python-pytest.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/python-pytest.changes b/python-pytest.changes index 697b8ee..4b3fb1c 100644 --- a/python-pytest.changes +++ b/python-pytest.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 19 12:20:25 UTC 2013 - speilicke@suse.com + +- Skip running tests on SLE_11_SP2 + ------------------------------------------------------------------- Tue Jun 18 09:42:10 UTC 2013 - speilicke@suse.com diff --git a/python-pytest.spec b/python-pytest.spec index 7f63541..05c3a90 100644 --- a/python-pytest.spec +++ b/python-pytest.spec @@ -67,8 +67,10 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} rm %{buildroot}%{_bindir}/py.test ln -s %{_bindir}/py.test-%{py_ver} %{buildroot}%{_bindir}/py.test +%if 0%{?suse_version} > 1110 %check python setup.py test +%endif %pre # Since /usr/bin/py.test became ghosted to be used