# NOTE: linecache already in standard libraries since 2.?/3.?;
-# 3.5 has even more functionality than linecache2 1.0.0 (lazycache() function)
+# linecache 1.0.0 is equivalent of version from cpython 3.5.0 .. 3.7.0 (no changes in this range)
+# so the only point of providing linecache2 1.0.0 for python>=3.5.0 are external dependencies
#
# Conditional build:
%bcond_without python2 # CPython 2.x module
Summary(pl.UTF-8): Backport modułu linecache do starszych wersji Pythona
Name: python-linecache2
Version: 1.0.0
-Release: 1
+Release: 3
License: MIT
-Group: Development/Tools
-#Source0Download: https://pypi.python.org/pypi/linecache2
-Source0: https://pypi.python.org/packages/source/l/linecache2/linecache2-%{version}.tar.gz
+Group: Development/Languages/Python
+#Source0Download: https://pypi.org/pypi/linecache2/
+Source0: https://files.pythonhosted.org/packages/source/l/linecache2/linecache2-%{version}.tar.gz
# Source0-md5: 7b25d0289ec36bff1f9e63c4329ce65c
URL: https://github.com/testing-cabal/linecache2
%if %{with python2}
%package -n python3-linecache2
Summary: Backport of linecache to older supported Pythons
Summary(pl.UTF-8): Backport modułu linecache do starszych wersji Pythona
-Group: Development/Tools
+Group: Development/Languages/Python
Requires: python3-modules
%description -n python3-linecache2