Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package policycoreutils for openSUSE:Factory
checked in at 2022-06-22 18:07:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/policycoreutils (Old)
and /work/SRC/openSUSE:Factory/.policycoreutils.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "policycoreutils"
Wed Jun 22 18:07:15 2022 rev:63 rq:984551 version:3.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/policycoreutils/policycoreutils.changes
2022-06-21 16:38:02.588306668 +0200
+++
/work/SRC/openSUSE:Factory/.policycoreutils.new.1548/policycoreutils.changes
2022-06-22 18:07:16.659841274 +0200
@@ -1,0 +2,6 @@
+Wed Jun 22 15:39:31 UTC 2022 - Johannes Segitz <[email protected]>
+
+- Handle missing translations properly in chcat. Added
+ chcat_handle_missing_translations.patch (bsc#1200752)
+
+-------------------------------------------------------------------
New:
----
chcat_handle_missing_translations.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ policycoreutils.spec ++++++
--- /var/tmp/diff_new_pack.NHg2z6/_old 2022-06-22 18:07:17.263842043 +0200
+++ /var/tmp/diff_new_pack.NHg2z6/_new 2022-06-22 18:07:17.271842054 +0200
@@ -45,6 +45,7 @@
Patch0: make_targets.patch
Patch2: get_os_version.patch
Patch3: run_init.pamd.patch
+Patch4: chcat_handle_missing_translations.patch
BuildRequires: audit-devel >= %{libaudit_ver}
BuildRequires: bison
BuildRequires: dbus-1-glib-devel
@@ -169,6 +170,7 @@
%patch0 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
mv ${setools_python_pwd}/audit2allow ${setools_python_pwd}/chcat
${setools_python_pwd}/semanage ${setools_python_pwd}/sepolgen
${setools_python_pwd}/sepolicy .
mv ${semodule_utils_pwd}/semodule_expand ${semodule_utils_pwd}/semodule_link
${semodule_utils_pwd}/semodule_package .
++++++ chcat_handle_missing_translations.patch ++++++
Index: policycoreutils-3.4/selinux-python-3.4/chcat/chcat
===================================================================
--- policycoreutils-3.4.orig/selinux-python-3.4/chcat/chcat
+++ policycoreutils-3.4/selinux-python-3.4/chcat/chcat
@@ -40,7 +40,7 @@ try:
localedir="/usr/share/locale",
**kwargs)
_ = t.gettext
-except ImportError:
+except:
try:
import builtins
builtins.__dict__['_'] = str