diff --git a/.files b/.files
index c1e7ceb..08d2037 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index bfd2fae..96d1949 100644
--- a/.rev
+++ b/.rev
@@ -105,4 +105,12 @@
838316
+
+ ee7bee47853a2ed77177825126c97d07
+ 0.7.0
+
+ anag+factory
+
+ 1162899
+
diff --git a/dbus-sharp.changes b/dbus-sharp.changes
index fb29f14..804f0c9 100644
--- a/dbus-sharp.changes
+++ b/dbus-sharp.changes
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Mon Feb 26 07:56:47 UTC 2024 - Dominique Leuenberger
+
+- Use %autosetup macro. Allows to eliminate the usage of deprecated
+ PatchN.
+
+-------------------------------------------------------------------
Mon Sep 28 13:55:03 UTC 2020 - Marguerite Su
- fix libexecdir. mono can't use libexecdir because /usr/lib is
diff --git a/dbus-sharp.spec b/dbus-sharp.spec
index 8d069af..198da4a 100644
--- a/dbus-sharp.spec
+++ b/dbus-sharp.spec
@@ -55,8 +55,7 @@ It is a clean-room implementation based on the D-Bus Specification
Version 0.11 and study of the wire protocol of existing tools.
%prep
-%setup -q
-%patch0 -p0
+%autosetup -p0
%build
%configure \