From 4e05786ea5418f941fdd7fe0ff4c708496b3016e Mon Sep 17 00:00:00 2001 From: Vit Mojzis Date: Wed, 10 Mar 2021 14:18:54 +0100 Subject: [PATCH] Remove old translation files The following translation files (without any translated strings) will no longer be part of the package (only policycoreutils.... python, gui and sandbox are not affected): aln.po ast.po az.po bn_BD.po bo.po brx.po dz.po eo.po es_MX.po hy.po ks.po ku.po ky.po la.po lo.po lt_LT.po lv_LV.po mg.po mn.po my.po si_LK.po tl.po vi_VN.po wo.po xh.po zh_CN.GB2312.po zh_HK.po zh_TW.Big5.po Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1578148 --- policycoreutils.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policycoreutils.spec b/policycoreutils.spec index 486d5de..cf5b53b 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -90,6 +90,8 @@ tar -xvf %{SOURCE14} -C python/sepolicy/ # Since patches containing translation changes were too big, translations were moved to separate tarballs # For more information see README.translations +# First remove old translation files +rm -f policycoreutils/po/*.po python/po/*.po gui/po/*.po sandbox/po/*.po tar -x -f %{SOURCE20} -C policycoreutils -z tar -x -f %{SOURCE21} -C python -z tar -x -f %{SOURCE22} -C gui -z