parent
db46488ba4
commit
4c5b045f13
@ -1,4 +0,0 @@
|
||||
/zipp-*.tar.gz
|
||||
/zipp-*/
|
||||
/results_python-zipp/
|
||||
*.rpm
|
@ -0,0 +1 @@
|
||||
Use the Python standard library zipfile.Path class instead
|
@ -1,56 +0,0 @@
|
||||
%global pypi_name zipp
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 0.5.1
|
||||
Release: 3%{?dist}
|
||||
Summary: Backport of pathlib-compatible object wrapper for zip files
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/jaraco/zipp
|
||||
Source0: %{pypi_source}
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-setuptools_scm >= 1.15.0
|
||||
|
||||
%description
|
||||
A pathlib-compatible Zipfile object wrapper. A backport of the Path object.
|
||||
|
||||
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
|
||||
%description -n python3-%{pypi_name}
|
||||
A pathlib-compatible Zipfile object wrapper. A backport of the Path object.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pypi_name}-%{version}
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
%{__python3} setup.py test
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/%{pypi_name}.py
|
||||
%{python3_sitelib}/__pycache__/%{pypi_name}.*
|
||||
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info/
|
||||
|
||||
%changelog
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.1-3
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Wed Jun 26 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.1-1
|
||||
- Initial package
|
Loading…
Reference in new issue