From 5b1e664f59de03230b175d04427a03e0476fbe95 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sun, 19 Mar 2023 10:22:25 +0100 Subject: [PATCH] perl-GSSAPI: Fix library permissions * Also enable the testsuite Signed-off-by: Stefan Schantl --- perl-GSSAPI/perl-GSSAPI.nm | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) 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 -- 2.47.3