diff --git a/dfdatetime-20200824.tar.gz b/dfdatetime-20200824.tar.gz deleted file mode 100644 index ece5c8f..0000000 --- a/dfdatetime-20200824.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:972246c279a5370db0e2412a21d1491eba1cde8bbf3193d30081cdc9b923381a -size 64923 diff --git a/dfdatetime-20220131.tar.gz b/dfdatetime-20220131.tar.gz new file mode 100644 index 0000000..74276c5 --- /dev/null +++ b/dfdatetime-20220131.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e2da97cba30bc462bccffadb118805eb9d619ac0378134bfdf210e2b2f1e7d27 +size 70728 diff --git a/python-dfdatetime.changes b/python-dfdatetime.changes index 29ee7c5..653cc94 100644 --- a/python-dfdatetime.changes +++ b/python-dfdatetime.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Mar 17 09:16:40 UTC 2022 - pgajdos@suse.com + +- version update to 0~20220131 + * no upstream changelog file found +- try to use %pytest macro again + ------------------------------------------------------------------- Fri Nov 13 02:20:18 UTC 2020 - Greg Freemyer diff --git a/python-dfdatetime.spec b/python-dfdatetime.spec index 71c39c8..c85caf0 100644 --- a/python-dfdatetime.spec +++ b/python-dfdatetime.spec @@ -1,7 +1,7 @@ # # spec file for package python-dfdatetime # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define timestamp 20200824 +%define timestamp 20220131 %define skip_python2 1 %define modname dfdatetime Name: python-dfdatetime @@ -31,6 +31,7 @@ Source: https://files.pythonhosted.org/packages/source/d/%{modname}/%{mo BuildRequires: %{python_module devel} BuildRequires: %{python_module mock >= 2.0.0} BuildRequires: %{python_module pbr >= 4.2.0} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.1.0} BuildRequires: fdupes @@ -56,9 +57,7 @@ rm -rfv %{buildroot}%{_datadir}/doc/%{modname} %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# Using pytest leads to some horribly-looking crashes, not sure what's -# going on. -%python_exec ./run_tests.py +%pytest tests/*.py %files %{python_files} %license LICENSE