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
This commit is contained in:
Matej Cepl 2023-03-31 06:12:43 +00:00 committed by Git OBS Bridge
parent a9fb9ccfa3
commit 2ec8c3346c
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 30 19:40:53 UTC 2023 - Luiz Angelo Daros de Luca <luizluca@tre-sc.jus.br>
- Compile and include .mo files, used by _() strings
-------------------------------------------------------------------
Mon Feb 6 05:02:02 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -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")
addFilter("explicit-lib-dependency python3.*-passlib")
addFilter("file-not-in-%lang")

View File

@ -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}