[packages/python3-wxPython] - fix locale dirs, rel 2
baggins
baggins at pld-linux.org
Thu Sep 28 20:50:58 CEST 2023
commit f00c02fd5e249282ffa85e1f33e821dd7c4522ca
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Sep 28 20:35:08 2023 +0200
- fix locale dirs, rel 2
python3-wxPython.spec | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/python3-wxPython.spec b/python3-wxPython.spec
index 18ead2f..db899ca 100644
--- a/python3-wxPython.spec
+++ b/python3-wxPython.spec
@@ -3,7 +3,7 @@ Summary: Cross platform GUI toolkit for Python
Summary(pl.UTF-8): Wieloplatformowe narzędzie GUI dla Pythona
Name: python3-%{module}
Version: 4.2.1
-Release: 1
+Release: 2
License: wxWindows Library Licence 3.1 (LGPL v2+ with exception)
Group: Libraries/Python
Source0: https://files.pythonhosted.org/packages/source/w/%{module}/%{module}-%{version}.tar.gz
@@ -100,6 +100,13 @@ install -d $RPM_BUILD_ROOT%{_datadir}
%{__mv} $RPM_BUILD_ROOT%{py3_sitedir}/wx/locale $RPM_BUILD_ROOT%{_datadir}
ln -sfr $RPM_BUILD_ROOT%{_localedir} $RPM_BUILD_ROOT%{py3_sitedir}/wx/locale
+# remove unsupported locale
+%{__rm} -r $RPM_BUILD_ROOT/usr/share/locale/co
+# fix incorrect locales
+%{__mv} $RPM_BUILD_ROOT/usr/share/locale/fa{_IR,}
+%{__mv} $RPM_BUILD_ROOT/usr/share/locale/gl{_ES,}
+%{__mv} $RPM_BUILD_ROOT/usr/share/locale/ko{_KR,}
+
%find_lang wxstd
%clean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-wxPython.git/commitdiff/f00c02fd5e249282ffa85e1f33e821dd7c4522ca
More information about the pld-cvs-commit
mailing list