From cfcc5ea21f85fa39a643b7e3b63a910c62b506c6229953d0bffc9aa0856b01ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 29 Aug 2018 10:54:50 +0000 Subject: [PATCH] - Fix build on 42.3 by calling pytest properly and adding dependency on ssl module from python2 main package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-odorik?expand=0&rev=13 --- python-odorik.changes | 6 ++++++ python-odorik.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-odorik.changes b/python-odorik.changes index c9a86e0..6b013ae 100644 --- a/python-odorik.changes +++ b/python-odorik.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Aug 29 10:54:27 UTC 2018 - tchvatal@suse.com + +- Fix build on 42.3 by calling pytest properly and adding dependency + on ssl module from python2 main package + ------------------------------------------------------------------- Tue May 22 15:36:31 UTC 2018 - mcepl@suse.com diff --git a/python-odorik.spec b/python-odorik.spec index c2660a3..e5d93b8 100644 --- a/python-odorik.spec +++ b/python-odorik.spec @@ -31,6 +31,7 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-dateutil} BuildRequires: %{python_module pyxdg} BuildRequires: fdupes +BuildRequires: python BuildRequires: python-rpm-macros Requires: python-python-dateutil Requires: python-xdg @@ -54,7 +55,7 @@ install -m 644 docs/_build/man/odorik.1 %{buildroot}%{_mandir}/man1 %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand pytest-%{$python_version} odorik +%python_expand py.test-%{$python_version} odorik %files %{python_files} %license LICENSE