From 3e98b4628285764c471ad8b27efdf12e9ab83d59 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sun, 19 Mar 2023 09:57:44 +0100 Subject: [PATCH] perl-BDB: Fix library permissions Signed-off-by: Stefan Schantl --- perl-BDB/perl-BDB.nm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/perl-BDB/perl-BDB.nm b/perl-BDB/perl-BDB.nm index 326ee37cb..3ad22acf0 100644 --- a/perl-BDB/perl-BDB.nm +++ b/perl-BDB/perl-BDB.nm @@ -5,7 +5,7 @@ name = perl-BDB version = 1.91 -release = 1.1 +release = 2 thisapp = BDB-%{version} groups = Development/Libraries @@ -25,7 +25,6 @@ build perl(ExtUtils::MakeMaker) perl(ExtUtils::ParseXS) libdb-devel - pakfire >= 0.9.26-3.1 end build @@ -39,6 +38,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 -- 2.47.3