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