diff --git a/.files b/.files
index cc0c0cf..780e453 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 06dc6dc..a229c4d 100644
--- a/.rev
+++ b/.rev
@@ -286,4 +286,12 @@
* fix: bad measure numbers when many voices after %%setbarnb
1137489
+
+ 9e35ce33fc6f584c6deadfafaa933946
+ 8.14.15
+
+ anag+factory
+
+ 1147756
+
diff --git a/abcm2ps.changes b/abcm2ps.changes
index c71b814..cafa9a3 100644
--- a/abcm2ps.changes
+++ b/abcm2ps.changes
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Feb 20 09:57:06 UTC 2024 - Dominique Leuenberger
+
+- Use %autosetup macro. Allows to eliminate the usage of deprecated
+ %patchN.
+
+-------------------------------------------------------------------
Mon Jan 8 08:15:18 UTC 2024 - Michael Vetter
- Update to 8.14.15:
diff --git a/abcm2ps.spec b/abcm2ps.spec
index 467a477..302f041 100644
--- a/abcm2ps.spec
+++ b/abcm2ps.spec
@@ -49,8 +49,7 @@ keyboards and a pedal board. abcm2ps introduces many extensions to the ABC
language that make it suitable for classical music.
%prep
-%setup -q
-%patch0 -p1
+%autosetup -p1
mv config.h.in config.h.sed
sed "s/\/\/#define A4_FORMAT/#define A4_FORMAT/" config.h.sed > config.h.in