From: Stefan Schantl Date: Sun, 19 Mar 2023 09:22:25 +0000 (+0100) Subject: perl-GSSAPI: Fix library permissions X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5b1e664f59de03230b175d04427a03e0476fbe95;p=people%2Fstevee%2Fipfire-3.x.git perl-GSSAPI: Fix library permissions * Also enable the testsuite Signed-off-by: Stefan Schantl --- diff --git a/perl-GSSAPI/perl-GSSAPI.nm b/perl-GSSAPI/perl-GSSAPI.nm index ca2e5dec7..18ed8f2c0 100644 --- a/perl-GSSAPI/perl-GSSAPI.nm +++ b/perl-GSSAPI/perl-GSSAPI.nm @@ -5,7 +5,7 @@ name = perl-GSSAPI version = 0.28 -release = 1 +release = 2 thisapp = GSSAPI-%{version} groups = Development/Libraries @@ -25,7 +25,7 @@ build requires krb5-devel perl(ExtUtils::MakeMaker) - perl(Test::More) >= 0.47 + perl(Test::More) end build @@ -33,6 +33,16 @@ build INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}" make %{PARALLELISMFLAGS} end + + test + make test + end + + install_cmds + # Set correct library permissions. + find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ + -exec chmod 755 {} \; + end end packages