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