From 1558b646f05fcbdf68455338a9402edeebf3d0c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 31 May 2023 14:41:53 +0200 Subject: [PATCH] Apply all patches --- python-nose.spec | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/python-nose.spec b/python-nose.spec index b982721..056da58 100644 --- a/python-nose.spec +++ b/python-nose.spec @@ -35,9 +35,8 @@ Patch6: python-nose-no-use_2to3.patch # Adapt test_xunit to tracebacks/exceptions with ^^^^^^^^ lines # Migrate from removed inspect.getargspec() to inspect.getfullargspec() Patch7: python-nose-py311.patch - # Adapt doctest to new tracebacks/exceptions on Python 3.11+ -Patch311: python-nose-py311-doctest.patch +Patch8: python-nose-py311-doctest.patch BuildRequires: dos2unix @@ -67,12 +66,7 @@ Provides: deprecated() %description -n python3-%{modname} %_description %prep -%autosetup -N -n %{modname}-%{version} -# apply all patches up until number 300 -%autopatch -p1 -M 300 -%if v"0%{?python3_version}" >= v"3.11" -%patch311 -p1 -%endif +%autosetup -p1 -n %{modname}-%{version} dos2unix examples/attrib_plugin.py