diff --git a/python-mohawk.changes b/python-mohawk.changes index 62817d1..0a71d7c 100644 --- a/python-mohawk.changes +++ b/python-mohawk.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Aug 2 03:39:31 UTC 2022 - Steve Kowalik + +- Remove unneeded BuildRequires on mock. +- Remove bcond for running tests. + ------------------------------------------------------------------- Thu Mar 24 13:27:46 UTC 2022 - pgajdos@suse.com diff --git a/python-mohawk.spec b/python-mohawk.spec index 449b1cd..91cbfdc 100644 --- a/python-mohawk.spec +++ b/python-mohawk.spec @@ -17,7 +17,6 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test Name: python-mohawk Version: 1.1.0 Release: 0 @@ -31,10 +30,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six BuildArch: noarch -%if %{with test} -BuildRequires: %{python_module mock} BuildRequires: %{python_module six} -%endif %python_subpackages %description @@ -42,8 +38,7 @@ Mohawk is an alternate Python implementation of the Hawk HTTP authorization scheme. %prep -%setup -q -n mohawk-%{version} -%autopatch -p1 +%autosetup -p1 -n mohawk-%{version} %build %python_build @@ -52,10 +47,8 @@ authorization scheme. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check %pyunittest -%endif %files %{python_files} %doc README.rst