sudo: Fix incorrect location of libsudo_utils.so

Message ID 20230917201820.993133-1-peter.mueller@ipfire.org
State Accepted
Commit 2007e65b6f25c4ea35ab8fdb2b9dde5d3e665528
Headers
Series sudo: Fix incorrect location of libsudo_utils.so |

Commit Message

Peter Müller Sept. 17, 2023, 8:18 p.m. UTC
  Reported-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
 sudo/sudo.nm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
  

Patch

diff --git a/sudo/sudo.nm b/sudo/sudo.nm
index 50fc02f07..4757ecec3 100644
--- a/sudo/sudo.nm
+++ b/sudo/sudo.nm
@@ -5,7 +5,7 @@ 
 
 name       = sudo
 version    = 1.9.14p3
-release    = 1
+release    = 2
 
 groups     = Applications/System
 url        = https://www.sudo.ws/
@@ -70,6 +70,9 @@  build
 		# Fix library permissions.
 		find %{BUILDROOT}%{libdir}/%{name} -type f -iname "*.so" -exec chmod 755 {} \;
 
+		# ... and move the libraries to the correct place
+		mv -v %{BUILDROOT}%{libdir}/%{name}/libsudo_util.so* %{BUILDROOT}%{libdir}/
+
 	end
 end