perl: Fix library permissions

Message ID 20230317173240.495741-1-stefan.schantl@ipfire.org
State Accepted
Commit 85965730acc503789058df27b61d2fc9f8e42112
Headers
Series perl: Fix library permissions |

Commit Message

Stefan Schantl March 17, 2023, 5:32 p.m. UTC
  They did not fit the FSH and our own specs.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 perl/perl.nm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
  

Patch

diff --git a/perl/perl.nm b/perl/perl.nm
index 3a7bad525..a19be3dcc 100644
--- a/perl/perl.nm
+++ b/perl/perl.nm
@@ -10,7 +10,7 @@  ver_plevel = 0
 version    = %{ver_major}.%{ver_minor}.%{ver_plevel}
 
 # Never reset release in this package, just increase.
-release    = 3
+release    = 4
 
 thisver    = %{version}-%{_release}
 
@@ -143,6 +143,9 @@  build
 	install_cmds
 		# Remove precreated directories
 		rm -rfv %{BUILDROOT}/usr/local
+
+		# Fix filer permissions of the so files.
+		find %{BUILDROOT}%{libdir} -type f -iname "*.so" -exec chmod 755 {} \;
 	end
 end