]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
docbook-xsl: Fix file and directory permissions
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 18 Mar 2023 08:52:40 +0000 (09:52 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 21 Mar 2023 18:25:39 +0000 (18:25 +0000)
The violated our FHS standards.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
docbook-xsl/docbook-xsl.nm

index c1c5caf3c6855b1a84bfc009f926e6dc08813f4c..0ae968c9344372511ed21a060f207423f72d1552 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = docbook-xsl
 version    = 1.79.2
-release    = 2
+release    = 3
 arch       = noarch
 
 groups     = Applications/Text
@@ -48,6 +48,12 @@ build
 
                # Remove unneeded tool for .epub formats.
                rm -rvf %{BUILDROOT}/%{datadir}/sgml/docbook/xsl-stylesheets-%{version}/epub
+
+               # Fix directory permissions.
+               find %{BUILDROOT}%{datadir} -type d -exec chmod 755 {} \;
+
+               # Fix file permissions.
+               find %{BUILDROOT}%{datadir} -type f -exec chmod 644 {} \;
        end
 end