From 9474fc2ced4996a926a70739c716ea5824e355b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 16 Jun 2023 12:48:18 +0200 Subject: [PATCH] Don't treat DeprecationWarnings as failures in %check --- python-flask.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-flask.spec b/python-flask.spec index e10cf8e..7bbde9b 100644 --- a/python-flask.spec +++ b/python-flask.spec @@ -63,7 +63,7 @@ ln -s %{modname}-%{python3_version} %{buildroot}%{_bindir}/%{modname}-3 ln -sf %{modname}-3 %{buildroot}%{_bindir}/%{modname} %check -%pytest +%pytest -Wdefault %files -n python3-%{modname} %license LICENSE.rst