From 2ec8c3346c64de988abeeaf915f4977fcda1e282a406884651d4a961c1d2e728 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 31 Mar 2023 06:12:43 +0000 Subject: [PATCH] Accepting request 1075681 from home:luizluca:branches:devel:languages:python:mailman - Compile and include .mo files, used by _() strings Without .mo files, subject in moderation messages were not translated OBS-URL: https://build.opensuse.org/request/show/1075681 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=78 --- python-mailman.changes | 5 +++++ python-mailman.rpmlintrc | 3 ++- python-mailman.spec | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-mailman.changes b/python-mailman.changes index 52f3208..1723606 100644 --- a/python-mailman.changes +++ b/python-mailman.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 30 19:40:53 UTC 2023 - Luiz Angelo Daros de Luca + +- Compile and include .mo files, used by _() strings + ------------------------------------------------------------------- Mon Feb 6 05:02:02 UTC 2023 - Steve Kowalik diff --git a/python-mailman.rpmlintrc b/python-mailman.rpmlintrc index 228ee8b..c055668 100644 --- a/python-mailman.rpmlintrc +++ b/python-mailman.rpmlintrc @@ -1,4 +1,5 @@ addFilter("incoherent-logrotate-file /etc/logrotate.d/mailman") addFilter("zero-length /usr/lib/python3../site-packages/mailman/templates/.*") addFilter("obsolete-not-provided python3-mailman") -addFilter("explicit-lib-dependency python3.*-passlib") \ No newline at end of file +addFilter("explicit-lib-dependency python3.*-passlib") +addFilter("file-not-in-%lang") diff --git a/python-mailman.spec b/python-mailman.spec index ada6d4a..45d1376 100644 --- a/python-mailman.spec +++ b/python-mailman.spec @@ -148,6 +148,7 @@ popd sed '/importlib_resources/d' -i src/mailman.egg-info/requires.txt setup.py %endif %python_build +./generate_mo.sh %install %if !%{with test}