From 4b1f77eef98d40a4419c883ef3e964cbb63154c8 Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Mon, 30 Oct 2023 16:18:33 +0100 Subject: [PATCH] policycoreutils-3.5-8 - Update translations https://translate.fedoraproject.org/projects/selinux/ --- .gitignore | 4 ++++ policycoreutils.spec | 27 ++++++++++++++++++++++----- sources | 8 ++++---- 3 files changed, 30 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 407d473..90492d8 100644 --- a/.gitignore +++ b/.gitignore @@ -348,3 +348,7 @@ policycoreutils-2.0.83.tgz /selinux-3.5-rc2.tar.gz /selinux-3.5-rc3.tar.gz /selinux-3.5.tar.gz +/selinux-policycoreutils.zip +/selinux-python.zip +/selinux-sandbox.zip +/selinux-gui.zip diff --git a/policycoreutils.spec b/policycoreutils.spec index fb54f95..e6eb739 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -11,7 +11,7 @@ Summary: SELinux policy core utilities Name: policycoreutils Version: 3.5 -Release: 7%{?dist} +Release: 8%{?dist} License: GPL-2.0-or-later # https://github.com/SELinuxProject/selinux/wiki/Releases Source0: https://github.com/SELinuxProject/selinux/releases/download/3.5/selinux-3.5.tar.gz @@ -23,10 +23,15 @@ Source16: selinux-autorelabel.service Source17: selinux-autorelabel-mark.service Source18: selinux-autorelabel.target Source19: selinux-autorelabel-generator.sh -Source20: policycoreutils-po.tgz -Source21: python-po.tgz -Source22: gui-po.tgz -Source23: sandbox-po.tgz +# Drop this when upstream updates translations and the package is rebased +# wlc --key --url https://translate.fedoraproject.org/api/ download selinux/policycoreutils --output ./ +Source20: selinux-policycoreutils.zip +# wlc --key --url https://translate.fedoraproject.org/api/ download selinux/python --output ./ +Source21: selinux-python.zip +# wlc --key --url https://translate.fedoraproject.org/api/ download selinux/gui --output ./ +Source22: selinux-gui.zip +# wlc --key --url https://translate.fedoraproject.org/api/ download selinux/sandbox --output ./ +Source23: selinux-sandbox.zip # https://github.com/fedora-selinux/selinux # $ git format-patch -N 3.5 -- policycoreutils python gui sandbox dbus semodule-utils restorecond # $ for j in [0-9]*.patch; do printf "Patch%s: %s\n" ${j/-*/} $j; done @@ -99,6 +104,14 @@ tar -xvf %{SOURCE14} -C python/sepolicy/ # tar -x -f %{SOURCE21} -C python -z # tar -x -f %{SOURCE22} -C gui -z # tar -x -f %{SOURCE23} -C sandbox -z +unzip %{SOURCE20} +cp -r selinux/policycoreutils/po policycoreutils +unzip %{SOURCE21} +cp -r selinux/python/po python +unzip %{SOURCE22} +cp -r selinux/gui/po gui +unzip %{SOURCE23} +cp -r selinux/sandbox/po sandbox %build %set_build_flags @@ -457,6 +470,10 @@ The policycoreutils-restorecond package contains the restorecond service. %systemd_postun_with_restart restorecond.service %changelog +* Mon Oct 30 2023 Petr Lautrbach - 3.5-8 +- Update translations + https://translate.fedoraproject.org/projects/selinux/ + * Tue Aug 1 2023 Petr Lautrbach - 3.5-7 - python: improve format strings for proper localization - python: Drop hard formating from localized strings diff --git a/sources b/sources index 62f11e0..c428c60 100644 --- a/sources +++ b/sources @@ -1,5 +1,5 @@ -SHA512 (gui-po.tgz) = 8e0855256b825eea422b8e2b82cc0decf66b902c9930840905c5ad5dda7bef3679943a22db62709907d48f8a331d67edc5efed3e2638b53e379959b14077b4ea -SHA512 (policycoreutils-po.tgz) = 66b908f7a167225bebded46f9cf92f42eb194daa2a083d48de43c2a5d33fa42724c5add0a9d029ac9d62c500f6f1c8d3bc138dd598b1fd97e609d7cc7160be72 -SHA512 (python-po.tgz) = 7f2a082b77c7b4417d5d3dac35d86dd635635a9c05a80e5f9284d03604e2f2a06ec879fb29b056d1a46d3fc448cd76e6fd25196834c18a161fd6677f2e11b2be -SHA512 (sandbox-po.tgz) = 3d4b389b56bab1a6dddce9884dcebdefbefd1017fec6d987ac22a0705f409ed56722387aaca8fe7d9c468862136387bc703062e2b6de8fd102e13fed04ce811b SHA512 (selinux-3.5.tar.gz) = a91b978d7a5f8adc6c4a4fb47ac92e49e73528905b8fe061ecff77d6ad6b316c4f8391e85dfcc7b422ed83076b9b84f592f567e76d862c569ab3a1079100a1fc +SHA512 (selinux-policycoreutils.zip) = 0df9dc274e0d1a2e4e2467f95a18a5bf7b6de2428ac90a0a73d7f3bd766a897062af142ba3cf39cdb79565ba78af960bcd2e35865cc26e14bf2305321780c918 +SHA512 (selinux-python.zip) = 35d209f8bcff498f66465499fcc4cef0780781276a4ba060b2d1d56eed1dd72d253f6b0eae5f679d46cf426b967a7aadac909363513be5d483c95a31249eacdd +SHA512 (selinux-sandbox.zip) = ecbc0c8280eb6c013b039a2e63ee5a361cd84807613962a012ac0a98092357e9809bea23c3c71bd8ae4745b1dd12a4fce43db5e1cab31614f386a2a8db88b733 +SHA512 (selinux-gui.zip) = 3ae41eba5dd6d34e10dfdb97f4194d170ace2f3044e984077db7d26d05bdaad86625e48e5694e3e8680487ad99a50861d4bea30c4bf08e2820e3b7a8671270c7