diff --git a/latex2html.changes b/latex2html.changes
index 6b7de5e..1d8c17f 100644
--- a/latex2html.changes
+++ b/latex2html.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Thu Feb 29 14:00:54 UTC 2024 - pgajdos@suse.com
+
+- Use %autosetup macro. Allows to eliminate the usage of deprecated
+ %patchN
+
-------------------------------------------------------------------
Mon Feb 26 09:33:39 UTC 2024 - Bernhard Wiedemann
diff --git a/latex2html.spec b/latex2html.spec
index bfc2cbb..976c47d 100644
--- a/latex2html.spec
+++ b/latex2html.spec
@@ -66,8 +66,7 @@ Group: Productivity/Publishing/TeX/Utilities
This subpackage contains the documentation for the Latex2HTML converter.
%prep
-%setup -q
-%patch0
+%autosetup -p0
%build
# Not autotools based configure