]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
perl-Parse-Yapp: Fix library and binary permissions
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 19 Mar 2023 09:37:25 +0000 (10:37 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 21 Mar 2023 18:25:40 +0000 (18:25 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
perl-Parse-Yapp/perl-Parse-Yapp.nm

index 4ceb6441bc10aded9531ec528f644cb7fb340456..663b48b89ac082fac014aea4cb7b5cb9a8a8fc09 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = perl-Parse-Yapp
 version    = 1.21
-release    = 1
+release    = 2
 thisapp    = Parse-Yapp-%{version}
 
 groups     = Development/Libratries
@@ -35,6 +35,16 @@ build
        test
                make test
        end
+
+       install_cmds
+               # Set correct library permissions.
+               find %{BUILDROOT}%{libdir} -type f -iname "*.so" \
+                       -exec chmod 755 {} \;
+
+               # Set correct binary permissions.
+               find %{BUILDROOT}%{bindir} -type f -executable \
+                       -exec chmod 755 {} \;
+       end
 end
 
 packages