From 92143b33e61c232ee845d0e9736950712428021c927f5cbb39fbc662252ee3ee Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 2 Aug 2022 03:40:31 +0000 Subject: [PATCH] - Remove unneeded BuildRequires on mock. - Remove bcond for running tests. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mohawk?expand=0&rev=16 --- python-mohawk.changes | 6 ++++++ python-mohawk.spec | 9 +-------- 2 files changed, 7 insertions(+), 8 deletions(-) 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