Compare commits

..

No commits in common. "9a257b9f776b0d1482794a2ccad7245414a80f62" and "584b4ec85bb94840036305704dc3fa94bde0ebb3" have entirely different histories.

3 changed files with 23 additions and 17 deletions

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

Binary file not shown.

Binary file not shown.

View File

@ -1,5 +1,5 @@
Name: python-ordered-set Name: python-ordered-set
Version: 4.1.0 Version: 2.0.2
Release: 1 Release: 1
Summary: A mutable data structure Summary: A mutable data structure
License: MIT License: MIT
@ -13,10 +13,18 @@ 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 It remembers the order of its entries, and every entry has an index number that
can be looked up. 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 %package -n python3-ordered-set
Summary: ordered-set for python3 Summary: ordered-set for python3
%{?python_provide:%python_provide python2-ordered-set} %{?python_provide:%python_provide python2-ordered-set}
BuildRequires: python3-devel python3-setuptools python3-pytest BuildRequires: python3-devel python3-setuptools python3-nose
%description -n python3-ordered-set %description -n python3-ordered-set
Ordered-set for python3. Ordered-set for python3.
@ -25,13 +33,16 @@ Ordered-set for python3.
%autosetup -n ordered-set-%{version} %autosetup -n ordered-set-%{version}
%build %build
%py2_build
%py3_build %py3_build
%install %install
%py2_install
%py3_install %py3_install
%check %check
%{__python3} -m pytest %{__python2} setup.py nosetests
%{__python3} setup.py nosetests
%pre %pre
@ -41,24 +52,19 @@ Ordered-set for python3.
%postun %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 %files -n python3-ordered-set
%license MIT-LICENSE %license MIT-LICENSE
%doc README.md %doc README
%{python3_sitelib}/ordered_set-*.egg-info/ %{python3_sitelib}/ordered_set-*.egg-info/
%{python3_sitelib}/ordered_set %{python3_sitelib}/ordered_set.py
%{python3_sitelib}/__pycache__/ordered_set.*
%changelog %changelog
* Thu Nov 03 2022 zhuofeng <zhuofeng2@huawei.com> - 4.1.0-1
- update to 4.1.0
* Wed Oct 26 2022 zhuofeng <zhuofeng2@huawei.com> - 4.0.2-3
- Rebuild for next release
* Wed Jan 5 2022 wangjiang <wangjiang37@huawei.com> - 4.0.2-2
- fix build failed
* 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 * Fri Oct 18 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.2-1
- Package init - Package init