%global modname pathlib2 Name: python-%{modname} Version: 2.3.5 Release: 2%{?dist} Summary: Object-oriented filesystem paths License: MIT URL: https://github.com/mcmtroffaes/pathlib2/ Source0: https://files.pythonhosted.org/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz BuildArch: noarch %global _description %{expand: The old pathlib module on bitbucket is in bugfix-only mode. The goal of pathlib2 is to provide a backport of standard pathlib module which tracks the standard library module, so all the newest features of the standard pathlib can be used also on older Python versions.} %description %{_description} %package -n python3-%{modname} Summary: %{summary} %{?python_provide:%python_provide python3-%{modname}} BuildRequires: pkgconfig(python3) BuildRequires: python3dist(mock) BuildRequires: python3dist(pytest) BuildRequires: python3dist(six) BuildRequires: python3-test %description -n python3-%{modname} %{_description} Python 3 version. %prep %autosetup -n %{modname}-%{version} %build %py3_build %install %py3_install %check %{__python3} -m pytest -v tests %files -n python3-%{modname} %doc README.rst %license LICENSE.rst %{python3_sitelib}/%{modname}/ %{python3_sitelib}/%{modname}-%{version}-py3.*.egg-info/ %changelog * Thu Jan 30 2020 Fedora Release Engineering - 2.3.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Nov 25 2019 Jerry James - 2.3.5-1 - Update to 2.3.5 (bz 1756435) * Sat Nov 23 2019 Miro Hrončok - 2.3.4-5 - Subpackage python2-pathlib2 has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Thu Oct 03 2019 Miro Hrončok - 2.3.4-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Sun Aug 18 2019 Miro Hrončok - 2.3.4-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 2.3.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jun 27 2019 Jerry James - 2.3.4-1 - Update to 2.3.4 (bz 1724592) * Sat Feb 02 2019 Fedora Release Engineering - 2.3.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 2.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 20 2018 Miro Hrončok - 2.3.2-1 - Update to 2.3.2 (#1569508) - Fix FTBFS (#1556245) * Tue Jun 19 2018 Miro Hrončok - 2.3.0-3 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 2.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Nov 23 2017 Lumír Balhar - 2.3.0-1 - New upstream version - Fixed source URL - Fixed FTBFS (missing test dependency) - Fixed missing requires RHBZ#1410657 - Fixed tests execution (LANG setting) * Thu Jul 27 2017 Fedora Release Engineering - 2.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 2.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Dec 22 2016 pcpa - 2.1.0-2 - Add %%check. - Change URL from pathlib to pathlib2 page. * Mon Nov 14 2016 pcpa - 2.1.0-1 - Initial package.