From bfbf1288e31b5a8debc881bc8c2528a24d01603662ae80f869b0b4c17ca42f93 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 3 May 2021 13:21:57 +0000 Subject: [PATCH] - Use %pytest macro OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-holidays?expand=0&rev=19 --- python-holidays.changes | 5 +++++ python-holidays.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python-holidays.changes b/python-holidays.changes index 1a05ab5..03d310c 100644 --- a/python-holidays.changes +++ b/python-holidays.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 3 13:19:03 UTC 2021 - Matej Cepl + +- Use %pytest macro + ------------------------------------------------------------------- Mon May 3 07:33:00 UTC 2021 - Adrian Schröter diff --git a/python-holidays.spec b/python-holidays.spec index 662fe43..9696a66 100644 --- a/python-holidays.spec +++ b/python-holidays.spec @@ -1,7 +1,7 @@ # # spec file for package python-holidays # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,11 +28,11 @@ Source: https://files.pythonhosted.org/packages/source/h/holidays/holida BuildRequires: %{python_module convertdate} BuildRequires: %{python_module hijri-converter} BuildRequires: %{python_module korean-lunar-calendar} -#BuildRequires: %{python_module lag_baomer} +BuildRequires: %{python_module pytest} +#BuildRequires: %%{python_module lag_baomer} BuildRequires: %{python_module python-dateutil} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module testsuite} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -60,7 +60,7 @@ It makes determining whether a specific date is a holiday possible. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand $python -m pytest +%pytest %files %{python_files} %license LICENSE