public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-py] pr7: Drop explicit locale setting
Date: Sat, 01 Aug 2026 11:43:34 GMT [thread overview]
Message-ID: <178558461463.1.11902909842929872095.rpms-python-py-0fd5f8de67cf@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-py
Branch : pr7
Commit : 0fd5f8de67cf07dfa5989502f2b3794e0c7d54c9
Author : Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Date : 2018-11-18T22:04:35+01:00
Stats : +6/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-py/c/0fd5f8de67cf07dfa5989502f2b3794e0c7d54c9?branch=pr7
Log:
Drop explicit locale setting
Python3 now sets unicode locale automatically, this workaround
should not be necessary anymore. For python2, let's use the lighter locale.
---
diff --git a/python-py.spec b/python-py.spec
index 58d464a..e1f91e7 100644
--- a/python-py.spec
+++ b/python-py.spec
@@ -19,7 +19,7 @@
Name: python-%{srcname}
Version: 1.7.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Library with cross-python path, ini-parsing, io, code, log facilities
License: MIT and Public Domain
# main package: MIT, except: doc/style.css: Public Domain
@@ -162,7 +162,7 @@ popd
%if %{with python2}
pushd python2
PYTHONPATH=%{buildroot}%{python2_sitelib} \
-LC_ALL="en_US.UTF-8" \
+LC_ALL=C.UTF-8 \
py.test-%{python2_version} -r s -k"-TestWCSvnCommandPath" testing
popd
%endif # with python2
@@ -170,7 +170,6 @@ popd
%if %{with python3}
pushd python3
PYTHONPATH=%{buildroot}%{python3_sitelib} \
-LC_ALL="en_US.UTF-8" \
py.test-%{python3_version} -r s -k"-TestWCSvnCommandPath" testing
popd
%endif # with python3
@@ -205,6 +204,10 @@ popd
%changelog
+* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.7.0-2
+- Drop explicit locale setting for python3, use C.UTF-8 for python2
+ See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
+
* Sun Nov 11 2018 Thomas Moschny <thomas.moschny@gmx.de> - 1.7.0-1
- Update to 1.7.0.
reply other threads:[~2026-08-01 11:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178558461463.1.11902909842929872095.rpms-python-py-0fd5f8de67cf@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox