]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
perl-DBI: Fix library and binary permissions
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 19 Mar 2023 09:17:20 +0000 (10:17 +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-DBI/perl-DBI.nm

index 3d1d668d4a7888abaf7d79b7d54aa356f719c880..e7c5816877fec262a4902a9d5594bf9af3bd7847 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = perl-DBI
 version    = 1.643
-release    = 1.1
+release    = 2
 thisapp    = DBI-%{version}
 
 groups     = Development/Libraries
@@ -67,6 +67,16 @@ build
 
        make_install_targets = \
                pure_install DESTDIR=%{BUILDROOT}
+
+       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