]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
sudo: Fix incorrect location of libsudo_utils.so
authorPeter Müller <peter.mueller@ipfire.org>
Sun, 17 Sep 2023 20:18:20 +0000 (20:18 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 18 Sep 2023 10:18:32 +0000 (10:18 +0000)
Reported-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
sudo/sudo.nm

index 50fc02f07d10d904b974b3b7625712e65af0395f..4757ecec3c320f3f8e210ddc2210b144e1f395f5 100644 (file)
@@ -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