[packages/python-fs] - updated to 2.0.2
qboosh
qboosh at pld-linux.org
Sun Apr 2 09:57:01 CEST 2017
commit 6c9bc6e71615b83c2d509a8d50efa3d53d08e40d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Apr 2 09:56:58 2017 +0200
- updated to 2.0.2
python-fs.spec | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/python-fs.spec b/python-fs.spec
index 79f98f7..2b57739 100644
--- a/python-fs.spec
+++ b/python-fs.spec
@@ -7,15 +7,18 @@
Summary: Filesystem abstraction layer for Python 2
Summary(pl.UTF-8): Warstwa abstrakcji systemu plików dla Pythona 2
Name: python-fs
-Version: 2.0.1
+Version: 2.0.2
Release: 1
License: BSD
Group: Libraries/Python
#Source0Download: https://pypi.python.org/simple/fs/
Source0: https://files.pythonhosted.org/packages/source/f/fs/fs-%{version}.tar.gz
-# Source0-md5: 7e2c2d22b96ca0b0fbf8c0d1c8e5fd81
+# Source0-md5: 419760a993e45a585e5db939e731d435
Patch0: %{name}-py3-requires.patch
URL: https://pypi.python.org/pypi/fs/
+%if %{with tests} && %(locale -a | grep -q '^C\.UTF-8$'; echo $?)
+BuildRequires: glibc-localedb-all
+%endif
%if %{with python2}
BuildRequires: python-modules >= 1:2.7
BuildRequires: python-setuptools
@@ -72,11 +75,11 @@ Biblioteka abstrakcji systemu plików, następca PyFilesystem.
%prep
%setup -q -n fs-%{version}
-%patch0 -p1 -b .orig
+%patch0 -p1
%build
# for tests
-export PYTHONPATH=$(pwd)
+export PYTHONPATH=$(pwd) LC_ALL=C.UTF-8
%if %{with python2}
%py_build %{?with_tests:test}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-fs.git/commitdiff/6c9bc6e71615b83c2d509a8d50efa3d53d08e40d
More information about the pld-cvs-commit
mailing list