From: Stefan Schantl Date: Sat, 18 Mar 2023 13:19:01 +0000 (+0100) Subject: gettext: Drop unneccessary stuff X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c64008121bb22325c37973b9e53b2ca8bc997562;p=people%2Fstevee%2Fipfire-3.x.git gettext: Drop unneccessary stuff Signed-off-by: Stefan Schantl --- diff --git a/gettext/gettext.nm b/gettext/gettext.nm index 1e2af67f7..f49862f0d 100644 --- a/gettext/gettext.nm +++ b/gettext/gettext.nm @@ -5,7 +5,7 @@ name = gettext version = 0.21.1 -release = 3 +release = 4 groups = System/Base url = https://www.gnu.org/software/gettext/ @@ -65,6 +65,19 @@ build # Fix library permissions. chmod 755 %{BUILDROOT}%{libdir}/preloadable_libintl.so + + # Remove examples. + rm -rvf %{BUILDROOT}%{docdir}/%{name}/examples + + # Gettext provides only a HTML documentation, so we + # safely can drop the remaining doc directory. + rm -rvf %{BUILDROOT}%{docdir} + + # Drop trigger and team-address files for GNOME, KDE and TP projects + rm -rvf %{BUILDROOT}%{datadir}/%{name}/projects + + # Fix permissions of gettext config.rpath script. + chmod 644 %{BUILDROOT}%{datadir}/%{name}/config.rpath end end