diff --git a/python-marshmallow.spec b/python-marshmallow.spec index b2361ee..3a33aa7 100644 --- a/python-marshmallow.spec +++ b/python-marshmallow.spec @@ -9,9 +9,6 @@ License: MIT URL: http://marshmallow.readthedocs.org/ Source0: https://github.com/marshmallow-code/marshmallow/archive/%{version}/%{modname}-%{version}.tar.gz Patch0: ordered_set.patch -Patch1: versionwarning-disable.patch -# python3-autodocsumm is not in Fedora -# This is needed only for doc subpackage. BuildArch: noarch @@ -68,8 +65,10 @@ sed -i -e "/donate_url/d" docs/conf.py # This is needed only for doc subpackage. # this used to be patch, but this change every release # and I am sick of change it every time -sed '/"autodocsumm",/d' docs/conf.py -sed '/"autodocsumm==/d' pyproject.toml +sed -i '/"autodocsumm",/d' docs/conf.py +sed -i '/"autodocsumm==/d' pyproject.toml +sed -i '/"versionwarning.extension",/d' docs/conf.py +sed -i '/"sphinx-version-warning==/d' pyproject.toml %generate_buildrequires %pyproject_buildrequires -x docs,tests diff --git a/versionwarning-disable.patch b/versionwarning-disable.patch deleted file mode 100644 index 8de42a6..0000000 --- a/versionwarning-disable.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur marshmallow-3.8.0.orig/docs/conf.py marshmallow-3.8.0/docs/conf.py ---- marshmallow-3.8.0.orig/docs/conf.py 2020-09-16 11:21:17.000000000 +0200 -+++ marshmallow-3.8.0/docs/conf.py 2020-09-16 14:32:51.570352158 +0200 -@@ -14,7 +14,6 @@ - "sphinx.ext.viewcode", - "alabaster", - "sphinx_issues", -- "versionwarning.extension", - "autodocsumm", - ] -