diff --git a/.files b/.files
index bbf61ce..3f8879e 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 956c9c3..bda7ac9 100644
--- a/.rev
+++ b/.rev
@@ -152,4 +152,12 @@
1065890
+
+ b39b5acb2e43166beea8ed67f71dec7b
+ unknown
+
+ anag+factory
+
+ 1149956
+
diff --git a/bladeRF.changes b/bladeRF.changes
index e9061c2..cfe8dda 100644
--- a/bladeRF.changes
+++ b/bladeRF.changes
@@ -1,4 +1,15 @@
-------------------------------------------------------------------
+Fri Feb 23 11:25:04 UTC 2024 - Dominique Leuenberger
+
+- Align path for document installation between openSUSE versions.
+
+-------------------------------------------------------------------
+Thu Feb 22 10:25:17 UTC 2024 - Dominique Leuenberger
+
+- Use %autosetup macro. Allows to eliminate the usage of deprecated
+ %patchN
+
+-------------------------------------------------------------------
Mon Feb 13 21:53:41 UTC 2023 - Martin Hauke
- Update to version 2023.02
diff --git a/bladeRF.spec b/bladeRF.spec
index ba99917..c55f93d 100644
--- a/bladeRF.spec
+++ b/bladeRF.spec
@@ -1,7 +1,7 @@
#
# spec file for package bladeRF
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2013-2015 Wojciech Kazubski, wk@ire.pw.edu.pl
#
# All modifications and additions to the file contributed by third parties
@@ -86,8 +86,7 @@ Libraries and header files for developing applications that want to make
use of libbladerf.
%prep
-%setup -q -n %{name}-%{release_name}
-%patch0 -p1
+%autosetup -p1 -n %{name}-%{release_name}
ls
pushd thirdparty/analogdevicesinc/no-OS
tar -xJf %{SOURCE1}
@@ -103,6 +102,7 @@ cd host
%if 0%{?use_syslog}
-DENABLE_LIBBLADERF_SYSLOG=ON \
%endif
+ -DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/lib%{name} \
-DBUILD_DOCUMENTATION=ON
%cmake_build
@@ -110,10 +110,6 @@ cd host
cd host
%cmake_install
-#move docs
-mkdir -p %{buildroot}%{_docdir}
-mv %{buildroot}/%{_datadir}/doc/libbladeRF %{buildroot}%{_docdir}
-
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig