From 1db9852ac6730b68a401e3343e23d28df898aa3f Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Mon, 30 Oct 2023 17:34:27 +0100 Subject: [PATCH] policycoreutils-3.5-3 - Update translations https://translate.fedoraproject.org/projects/selinux/ Resolves: RHEL-15307 --- .gitignore | 4 ++++ policycoreutils.spec | 33 +++++++++++++++++++++++---------- sources | 8 ++++---- 3 files changed, 31 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index a3d8feb..6016fce 100644 --- a/.gitignore +++ b/.gitignore @@ -345,3 +345,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 338d38d..53890df 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -11,7 +11,7 @@ Summary: SELinux policy core utilities Name: policycoreutils Version: 3.5 -Release: 2%{?dist} +Release: 3%{?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 @@ -95,12 +100,16 @@ tar -xvf %{SOURCE14} -C python/sepolicy/ # 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 -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 +%Build %set_build_flags export PYTHON=%{__python3} @@ -457,6 +466,10 @@ The policycoreutils-restorecond package contains the restorecond service. %systemd_postun_with_restart restorecond.service %changelog +* Mon Oct 30 2023 Petr Lautrbach - 3.5-3 +- Update translations + https://translate.fedoraproject.org/projects/selinux/ + * Tue Jun 27 2023 Petr Lautrbach - 3.5-2 - Improve man pages (RHEL-672) - Unwrap strings - remove hard returns and initial white spaces from strings (RHEL-606) diff --git a/sources b/sources index c123b06..19af773 100644 --- a/sources +++ b/sources @@ -1,5 +1,5 @@ -SHA512 (gui-po.tgz) = e01e8df47a51832f203c316cf19301bc448e89ea489ba520bc021a99606201fb23a048e54ceebd2a63f510dc13456069ef4c30baa487507af601761da8bf4db8 -SHA512 (policycoreutils-po.tgz) = d803a466c245ea58a2fb4c8b6680e6e96b1852d5cd8a0ed2782406e36462fc240e6b46e8efb70f8e7e78f792533d5f725b793e9efb216cddaf2046901bdb9f42 -SHA512 (python-po.tgz) = c7ebb27e7de6ebc0452ece828d6fe3cf3a18b60a190625f0f2fab046549143a7499eda1b92b2cd1a134885fdac338278c4f6d617674d81d2fd3814484fde5e52 -SHA512 (sandbox-po.tgz) = 1049c61551d22f8a5d2de131e6b3030e86072c27bac29af890f54cbdb8bf358f3adb77488f3160e33dc98aba81af4ab2296c8eb76490651fe7d12838b9988c43 SHA512 (selinux-3.5.tar.gz) = a91b978d7a5f8adc6c4a4fb47ac92e49e73528905b8fe061ecff77d6ad6b316c4f8391e85dfcc7b422ed83076b9b84f592f567e76d862c569ab3a1079100a1fc +SHA512 (selinux-policycoreutils.zip) = 0df9dc274e0d1a2e4e2467f95a18a5bf7b6de2428ac90a0a73d7f3bd766a897062af142ba3cf39cdb79565ba78af960bcd2e35865cc26e14bf2305321780c918 +SHA512 (selinux-python.zip) = 35d209f8bcff498f66465499fcc4cef0780781276a4ba060b2d1d56eed1dd72d253f6b0eae5f679d46cf426b967a7aadac909363513be5d483c95a31249eacdd +SHA512 (selinux-gui.zip) = 3ae41eba5dd6d34e10dfdb97f4194d170ace2f3044e984077db7d26d05bdaad86625e48e5694e3e8680487ad99a50861d4bea30c4bf08e2820e3b7a8671270c7 +SHA512 (selinux-sandbox.zip) = ecbc0c8280eb6c013b039a2e63ee5a361cd84807613962a012ac0a98092357e9809bea23c3c71bd8ae4745b1dd12a4fce43db5e1cab31614f386a2a8db88b733