From 721e1a6f596c59bfac5129c3255a370cb605977e377e8887b3fd0879a922db7d Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Mon, 8 Apr 2019 12:00:42 +0000 Subject: [PATCH] - Do not use %pytest to fix build with SLE12_SP4 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-daiquiri?expand=0&rev=11 --- python-daiquiri.changes | 5 +++++ python-daiquiri.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-daiquiri.changes b/python-daiquiri.changes index c38b8b5..202247c 100644 --- a/python-daiquiri.changes +++ b/python-daiquiri.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 8 12:00:23 UTC 2019 - Thomas Bechtold + +- Do not use %pytest to fix build with SLE12_SP4 + ------------------------------------------------------------------- Thu Mar 7 14:01:01 UTC 2019 - Tomáš Chvátal diff --git a/python-daiquiri.spec b/python-daiquiri.spec index 501d188..e0471d3 100644 --- a/python-daiquiri.spec +++ b/python-daiquiri.spec @@ -51,7 +51,7 @@ provides some custom formatters and handlers. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest daiquiri/tests +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} daiquiri/tests %files %{python_files} %license LICENSE