%global package_name pyfakefs Name: python-%{package_name} Version: 5.1.0 Release: 2%{?dist} Summary: pyfakefs implements a fake file system that mocks the Python file system modules. License: Apache-2.0 URL: http://pyfakefs.org Source0: https://pypi.io/packages/source/p/%{package_name}/%{package_name}-%{version}.tar.gz BuildArch: noarch %description pyfakefs implements a fake file system that mocks the Python file system modules. Using pyfakefs, your tests operate on a fake file system in memory without touching the real disk. The software under test requires no modification to work with pyfakefs. %package -n python3-%{package_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{package_name}} BuildRequires: git-core BuildRequires: python3-devel BuildRequires: python3-setuptools Requires: python3-pytest >= 2.8.6 %description -n python3-%{package_name} pyfakefs implements a fake file system that mocks the Python file system modules. Using pyfakefs, your tests operate on a fake file system in memory without touching the real disk. The software under test requires no modification to work with pyfakefs. %prep %autosetup -n %{package_name}-%{version} -S git # Let RPM handle the requirements rm -f {,test-}requirements.txt %build %py3_build %install %py3_install %files -n python3-%{package_name} %license COPYING %doc README.md %{python3_sitelib}/%{package_name} %{python3_sitelib}/*.egg-info %changelog * Fri Jan 20 2023 Fedora Release Engineering - 5.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jan 12 2023 Jonathan Wright - 5.1.0-1 - Update to 5.1.0 rhbz#2127704 - Update license to SPDX * Sun Aug 14 2022 Orion Poplawski - 5.0.0-1 - Update to 5.0.0 rhbz#2127704 * Sun Aug 14 2022 Orion Poplawski - 4.6.3-1 - Update to 4.6.3 * Fri Jul 22 2022 Fedora Release Engineering - 4.5.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 4.5.6-2 - Rebuilt for Python 3.11 * Sat May 21 2022 Orion Poplawski - 4.5.6-1 - Update to 4.5.6 * Fri Jan 21 2022 Fedora Release Engineering - 4.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 4.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 4.4.0-2 - Rebuilt for Python 3.10 * Mon Mar 15 2021 Orion Poplawski - 4.4.0-1 - Update to 4.4.0 * Wed Jan 27 2021 Fedora Release Engineering - 3.5.8-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 3.5.8-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 3.5.8-6 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 3.5.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 3.5.8-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 3.5.8-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 3.5.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat May 11 2019 Orion Poplawski - 3.5.8-1 - Update to 3.5.8 * Sat Apr 27 2019 Miro Hrončok - 3.1-7 - Subpackage python2-pyfakefs has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Feb 02 2019 Fedora Release Engineering - 3.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 3.1-4 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon May 1 2017 David Moreau Simard - 3.1-1 - First packaged version of pyfakefs