diff --git a/.files b/.files
index 1ce569d..13843e3 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 946bf0e..77a54f4 100644
--- a/.rev
+++ b/.rev
@@ -7,4 +7,19 @@
dep of https://build.opensuse.org/package/show/devel:languages:python:django/python-django-perf-rec851892
+
+ 72ff1c1186ebf21f2d053575727ad30d
+ 2.4.0
+
+ dimstar_suse
+ - update to 2.4.0:
+ * Add type hints.
+ * Support Python 3.10.
+ * Stop distributing tests to reduce package size. Tests are not intended to be
+ run outside of the tox setup in the repository. Repackagers can use GitHub's
+ tarballs per tag.
+ * Drop Python 3.5 support.
+ * Move license from BSD to MIT License.
+ 930148
+
diff --git a/patchy-2.1.0.tar.gz b/patchy-2.1.0.tar.gz
deleted file mode 120000
index e036573..0000000
--- a/patchy-2.1.0.tar.gz
+++ /dev/null
@@ -1 +0,0 @@
-/ipfs/bafkreif4qyrrozmvm4z6csg3coeh3ei2afyaunlr4ang3nt3vrozbv7cv4
\ No newline at end of file
diff --git a/patchy-2.4.0.tar.gz b/patchy-2.4.0.tar.gz
new file mode 120000
index 0000000..c860b55
--- /dev/null
+++ b/patchy-2.4.0.tar.gz
@@ -0,0 +1 @@
+/ipfs/bafkreieao3nrjaposafitwwgwqvms6ypvzxjjoudlzoe4fdeo2ozdl2tyu
\ No newline at end of file
diff --git a/python-patchy.changes b/python-patchy.changes
index 2a347bf..524717a 100644
--- a/python-patchy.changes
+++ b/python-patchy.changes
@@ -1,4 +1,16 @@
-------------------------------------------------------------------
+Mon Nov 8 10:59:40 UTC 2021 - Dirk Müller
+
+- update to 2.4.0:
+ * Add type hints.
+ * Support Python 3.10.
+ * Stop distributing tests to reduce package size. Tests are not intended to be
+ run outside of the tox setup in the repository. Repackagers can use GitHub's
+ tarballs per tag.
+ * Drop Python 3.5 support.
+ * Move license from BSD to MIT License.
+
+-------------------------------------------------------------------
Sun Jul 5 17:48:56 UTC 2020 - John Vandenberg
- Update to v2.1.0
diff --git a/python-patchy.spec b/python-patchy.spec
index c5a2141..2d23094 100644
--- a/python-patchy.spec
+++ b/python-patchy.spec
@@ -1,7 +1,7 @@
#
# spec file for package python-patchy
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,23 +12,25 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%global skip_python2 1
Name: python-patchy
-Version: 2.1.0
+Version: 2.4.0
Release: 0
License: BSD-3-Clause
Summary: Patch the inner source of python functions at runtime
-Url: https://github.com/adamchainz/patchy
+URL: https://github.com/adamchainz/patchy
Group: Development/Languages/Python
-Source: https://files.pythonhosted.org/packages/source/p/patchy/patchy-%{version}.tar.gz
-BuildRequires: python-rpm-macros
+Source: https://github.com/adamchainz/patchy/archive/refs/tags/%{version}.tar.gz#/patchy-%{version}.tar.gz
+BuildRequires: %{python_module pkgutil-resolve-name}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module pkgutil-resolve-name}
BuildRequires: fdupes
+BuildRequires: python-rpm-macros
Requires: python-pkgutil-resolve-name
BuildArch: noarch
@@ -51,7 +53,7 @@ Patch the inner source of python functions at runtime.
%pytest
%files %{python_files}
-%doc AUTHORS.rst README.rst
+%doc README.rst
%license LICENSE
%{python_sitelib}/*