diff --git a/python-checkdmarc.changes b/python-checkdmarc.changes index 42aa4dc..c125e3d 100644 --- a/python-checkdmarc.changes +++ b/python-checkdmarc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jul 21 10:20:44 UTC 2021 - Matej Cepl + +- Use %pyunittest macro instead of directly calling %python_exec + ------------------------------------------------------------------- Tue Jul 20 17:00:06 UTC 2021 - Martin Hauke diff --git a/python-checkdmarc.spec b/python-checkdmarc.spec index 78040fe..955ecf5 100644 --- a/python-checkdmarc.spec +++ b/python-checkdmarc.spec @@ -1,6 +1,7 @@ # # spec file for package python-checkdmarc # +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2021, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -27,8 +28,8 @@ Source: https://files.pythonhosted.org/packages/source/c/checkdmarc/chec Source1: https://raw.githubusercontent.com/domainaware/checkdmarc/master/LICENSE Source2: https://raw.githubusercontent.com/domainaware/checkdmarc/master/tests.py Patch0: skip-broken-tests.patch -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module dnspython >= 2.0.0} BuildRequires: %{python_module expiringdict >= 1.1.4} @@ -70,7 +71,7 @@ cp %{SOURCE1} %{SOURCE2} . %python_uninstall_alternative checkdmarc %check -%python_exec -m unittest tests.py -v +%pyunittest -v tests.py %files %{python_files} %license LICENSE