python-ordered-set/python-ordered-set.spec

63 lines
1.4 KiB
RPMSpec
Raw Normal View History

2019-11-06 19:49:39 +08:00
Name: python-ordered-set
2020-07-25 15:33:23 +08:00
Version: 4.0.2
Release: 3
2019-11-06 19:49:39 +08:00
Summary: A mutable data structure
License: MIT
URL: https://github.com/LuminosoInsight/ordered-set
Source0: https://pypi.python.org/packages/source/o/ordered-set/ordered-set-%{version}.tar.gz
BuildArch: noarch
%description
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 python3-ordered-set
Summary: ordered-set for python3
%{?python_provide:%python_provide python2-ordered-set}
2022-01-05 19:52:48 +08:00
BuildRequires: python3-devel python3-setuptools python3-pytest
2019-11-06 19:49:39 +08:00
%description -n python3-ordered-set
Ordered-set for python3.
%prep
%autosetup -n ordered-set-%{version}
%build
%py3_build
%install
%py3_install
%check
2022-01-05 19:52:48 +08:00
%{__python3} -m pytest
2019-11-06 19:49:39 +08:00
%pre
%preun
%post
%postun
%files -n python3-ordered-set
%license MIT-LICENSE
2020-07-25 15:41:18 +08:00
%doc README.md
2019-11-06 19:49:39 +08:00
%{python3_sitelib}/ordered_set-*.egg-info/
%{python3_sitelib}/ordered_set.py
%{python3_sitelib}/__pycache__/ordered_set.*
%changelog
* Wed Oct 26 2022 zhuofeng <zhuofeng2@hhuawei.com> - 4.0.2-3
- Rebuild for next release
2022-01-05 19:52:48 +08:00
* Wed Jan 5 2022 wangjiang <wangjiang37@huawei.com> - 4.0.2-2
- fix build failed
2020-07-25 15:33:23 +08:00
* Sat Jul 25 2020 tianwei <tianwei12m@huawei.com> - 4.0.2-1
- Package update to 4.0.2
2019-11-06 19:49:39 +08:00
* Fri Oct 18 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.2-1
- Package init