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

index c2f3a3b8ee35d0f472390055c99c4c1fb454fdba..73ac9047e81e5307b1e01f69e7fb801840550f46 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = perl-FCGI
 version    = 0.77
-release    = 1.1
+release    = 2
 thisapp    = FCGI-%{version}
 
 groups     = Development/Libraries
@@ -23,7 +23,7 @@ build
        requires
                perl(ExtUtils::MakeMaker)
                perl(ExtUtils::ParseXS)
-               pakfire >= 0.9.26-3.1
+               perl(Test::More)
        end
 
        build
@@ -37,6 +37,12 @@ build
 
        make_install_targets = \
                pure_install DESTDIR=%{BUILDROOT}
+
+       install_cmds
+               # Set correct library permissions.
+               find %{BUILDROOT}%{libdir} -type f -iname "*.so" \
+                       -exec chmod 755 {} \;
+       end
 end
 
 packages