diff --git a/python-zipp.spec b/python-zipp.spec new file mode 100644 index 0000000000000000000000000000000000000000..1b964a06a6521cff9bc7114eced39f7c766ffae0 --- /dev/null +++ b/python-zipp.spec @@ -0,0 +1,49 @@ +Name: python-zipp +Version: 0.5.1 +Release: 1 +Summary: Backport of pathlib-compatible object wrapper for zip files +License: MIT +URL: https://github.com/jaraco/zipp +Source0: https://github.com/jaraco/zipp/archive/zipp-%{version}.tar.gz +BuildArch: noarch +BuildRequires: python3-devel 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-zipp +Summary: Backport of pathlib-compatible object wrapper for zip files +%{?python_provide:%python_provide python3-zipp} + +%description -n python3-zipp +A pathlib-compatible Zipfile object wrapper. A backport of the Path object. + +%package_help + +%prep +%autosetup -n zipp-%{version} + +%build +%_bindir/python3 setup.py build '--executable=%_bindir/python3 -s' + +%install +%_bindir/python3 setup.py install -O1 --skip-build --root %buildroot + +%check +%{__python3} setup.py test + +%files -n python3-zipp +%defattr(-,root,root) +%license LICENSE +%_prefix/lib/python3.7/site-packages/zipp* +%_prefix/lib/python3.7/site-packages/__pycache__/zipp.* + +%files help +%defattr(-,root,root) +%doc README.rst + +%changelog +* Tue Feb 11 2020 huzunhao - 0.5.1-1 +- Package init + diff --git a/zipp-0.5.1.tar.gz b/zipp-0.5.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..e9d38b60a305d688bfead295db5b8e0d76582998 Binary files /dev/null and b/zipp-0.5.1.tar.gz differ