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