update to release 4.0.2

This commit is contained in:
weiwei_150212 2020-07-25 15:33:23 +08:00
parent 584b4ec85b
commit 63ea46665d
3 changed files with 4 additions and 18 deletions

Binary file not shown.

BIN
ordered-set-4.0.2.tar.gz Normal file

Binary file not shown.

View File

@ -1,5 +1,5 @@
Name: python-ordered-set
Version: 2.0.2
Version: 4.0.2
Release: 1
Summary: A mutable data structure
License: MIT
@ -13,14 +13,6 @@ An OrderedSet is a mutable data structure that is a hybrid of a list and a set.
It remembers the order of its entries, and every entry has an index number that
can be looked up.
%package -n python2-ordered-set
Summary: ordered-set for python2
%{?python_provide:%python_provide python2-ordered-set}
BuildRequires: python2-devel python2-setuptools python2-nose
%description -n python2-ordered-set
Ordered-set for python2.
%package -n python3-ordered-set
Summary: ordered-set for python3
%{?python_provide:%python_provide python2-ordered-set}
@ -33,15 +25,12 @@ Ordered-set for python3.
%autosetup -n ordered-set-%{version}
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%check
%{__python2} setup.py nosetests
%{__python3} setup.py nosetests
%pre
@ -52,12 +41,6 @@ Ordered-set for python3.
%postun
%files -n python2-ordered-set
%license MIT-LICENSE
%doc README
%{python2_sitelib}/ordered_set-*.egg-info/
%{python2_sitelib}/ordered_set.py*
%files -n python3-ordered-set
%license MIT-LICENSE
%doc README
@ -66,5 +49,8 @@ Ordered-set for python3.
%{python3_sitelib}/__pycache__/ordered_set.*
%changelog
* Sat Jul 25 2020 tianwei <tianwei12m@huawei.com> - 4.0.2-1
- Package update to 4.0.2
* Fri Oct 18 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.2-1
- Package init