diff --git a/pyrsistent-0.16.0.tar.gz b/pyrsistent-0.16.0.tar.gz new file mode 100644 index 0000000..913d8e2 Binary files /dev/null and b/pyrsistent-0.16.0.tar.gz differ diff --git a/pyrsistent-0.18.1.tar.gz b/pyrsistent-0.18.1.tar.gz deleted file mode 100644 index 5d557d1..0000000 Binary files a/pyrsistent-0.18.1.tar.gz and /dev/null differ diff --git a/python-pyrsistent.spec b/python-pyrsistent.spec index 8c19d85..e397964 100644 --- a/python-pyrsistent.spec +++ b/python-pyrsistent.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-pyrsistent -Version: 0.18.1 +Version: 0.16.0 Release: 1 Summary: Persistent/Functional/Immutable data structures License: MIT URL: http://github.com/tobgu/pyrsistent/ -Source0: https://files.pythonhosted.org/packages/42/ac/455fdc7294acc4d4154b904e80d964cc9aae75b087bbf486be04df9f2abd/pyrsistent-0.18.1.tar.gz +Source0: https://files.pythonhosted.org/packages/4d/70/fd441df751ba8b620e03fd2d2d9ca902103119616f0f6cc42e6405035062/pyrsistent-0.16.0.tar.gz %description Pyrsistent is a number of persistent collections (by some referred to as functional data structures). Persistent in the sense that they are immutable. @@ -28,6 +28,22 @@ BuildRequires: gcc Pyrsistent is a number of persistent collections (by some referred to as functional data structures). Persistent in the sense that they are immutable. +%package -n python2-pyrsistent +Summary: Persistent/Functional/Immutable data structures +Provides: python-pyrsistent +# Base build requires +BuildRequires: python2-devel +BuildRequires: python2-setuptools +BuildRequires: python2-pbr +BuildRequires: python2-pip +BuildRequires: python2-wheel +BuildRequires: python2-hypothesis +BuildRequires: python2-pytest +BuildRequires: python2-six +%description -n python2-pyrsistent +Pyrsistent is a number of persistent collections (by some referred to as functional data structures). Persistent in +the sense that they are immutable. + %package help Summary: Persistent/Functional/Immutable data structures Provides: python3-pyrsistent-doc @@ -37,12 +53,14 @@ Pyrsistent is a number of persistent collections (by some referred to as functio the sense that they are immutable. %prep -%autosetup -n pyrsistent-%{version} +%autosetup -n pyrsistent-%{version} -p1 %build +%py2_build %py3_build %install +%py2_install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} @@ -74,21 +92,15 @@ mv %{buildroot}/doclist.lst . %check %{__python3} setup.py test -%files -n python3-pyrsistent -f filelist.lst -%dir %{python3_sitearch}/* +%files -n python3-pyrsistent +%{python3_sitearch}/* + +%files -n python2-pyrsistent +%{python2_sitearch}/* %files help -f doclist.lst %{_docdir}/* %changelog -* Mon May 16 2022 OpenStack_SIG - 0.18.1-1 -- Upgrade package python3-pyrsistent to version 0.18.1 - -* Thu Aug 26 2021 orange-snn - 0.18.0-1 -- update version to 0.18.0 - -* Mon Aug 09 2021 OpenStack_SIG - 0.17.3-1 -- Update version to 0.17.3 - * Mon Aug 10 2020 tianwei - 0.16.0.-1 - Package Init