From b2869a8f17794073fe08611a93bc0b5f6e54ec8c Mon Sep 17 00:00:00 2001 From: Mads Kiilerich Date: Tue, 8 Dec 2020 16:02:52 +0100 Subject: [PATCH] Use py3 for locales - py2 is going away --- mercurial.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mercurial.spec b/mercurial.spec index d635805..0ddf069 100644 --- a/mercurial.spec +++ b/mercurial.spec @@ -217,8 +217,7 @@ cacerts = /etc/pki/tls/certs/ca-bundle.crt EOF install -m 644 certs.rc %{buildroot}%{_sysconfdir}/mercurial/hgrc.d -# Despite the original path, locales can be used for Python3 as well -mv %{buildroot}%{python2_sitearch}/mercurial/locale %{buildroot}%{_datadir}/locale +mv %{buildroot}%{python3_sitearch}/mercurial/locale %{buildroot}%{_datadir}/locale rm -rf %{buildroot}%{python3_sitearch}/mercurial/locale rm -rf %{buildroot}%{python2_sitearch}/mercurial/locale