2020-06-29 11:51:37 +08:00
|
|
|
%global _empty_manifest_terminate_build 0
|
2021-08-06 11:40:09 +08:00
|
|
|
Name: python-simplejson
|
2022-05-25 11:37:29 +00:00
|
|
|
Version: 3.17.6
|
2025-03-12 16:06:51 +08:00
|
|
|
Release: 2
|
2021-08-06 11:40:09 +08:00
|
|
|
Summary: Simple, fast, extensible JSON encoder/decoder for Python
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://github.com/simplejson/simplejson
|
2022-05-25 11:37:29 +00:00
|
|
|
Source0: https://files.pythonhosted.org/packages/7a/47/c7cc3d4ed15f09917838a2fb4e1759eafb6d2f37ebf7043af984d8b36cf7/simplejson-3.17.6.tar.gz
|
2020-06-29 11:51:37 +08:00
|
|
|
|
|
|
|
|
%description
|
2021-08-06 11:40:09 +08:00
|
|
|
Simple, fast, extensible JSON encoder/decoder for Python
|
2020-06-29 11:51:37 +08:00
|
|
|
|
|
|
|
|
%package -n python3-simplejson
|
2021-08-06 11:40:09 +08:00
|
|
|
Summary: Simple, fast, extensible JSON encoder/decoder for Python
|
|
|
|
|
Provides: python-simplejson
|
2025-03-12 16:06:51 +08:00
|
|
|
Obsoletes: python-simplejson-help <= %{version}-%{release}
|
2021-08-06 11:40:09 +08:00
|
|
|
# Base build requires
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3-pbr
|
|
|
|
|
BuildRequires: python3-pip
|
|
|
|
|
BuildRequires: python3-wheel
|
|
|
|
|
BuildRequires: python3-cffi
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
|
2020-06-29 11:51:37 +08:00
|
|
|
%description -n python3-simplejson
|
2021-08-06 11:40:09 +08:00
|
|
|
Simple, fast, extensible JSON encoder/decoder for Python
|
2020-06-29 11:51:37 +08:00
|
|
|
|
|
|
|
|
%prep
|
2025-03-12 16:06:51 +08:00
|
|
|
%autosetup -n simplejson-%{version} -p1
|
2020-06-29 11:51:37 +08:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
2021-08-06 11:40:09 +08:00
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%{__python3} setup.py test
|
|
|
|
|
|
2025-03-12 16:06:51 +08:00
|
|
|
%files -n python3-simplejson
|
|
|
|
|
%{python3_sitearch}/*
|
2020-06-29 11:51:37 +08:00
|
|
|
|
|
|
|
|
%changelog
|
2025-03-12 16:06:51 +08:00
|
|
|
* Wed Mar 12 2025 wangkai <13474090681@163.com> - 3.17.6-2
|
|
|
|
|
- Fixed the packaging process does not include __pycache__ tests
|
|
|
|
|
- Obsoletes empty package python-simplejson-help
|
|
|
|
|
|
2022-05-25 11:37:29 +00:00
|
|
|
* Wed May 25 2022 OpenStack_SIG <openstack@openeuler.org> - 3.17.6-1
|
|
|
|
|
- Upgrade the version to 3.17.6
|
|
|
|
|
|
2021-08-06 11:40:09 +08:00
|
|
|
* Fri Aug 06 2021 OpenStack_SIG <openstack@openeuler.org> - 3.17.2-1
|
|
|
|
|
- Upgrade version to 3.17.2
|
|
|
|
|
|
2021-08-04 21:20:06 +08:00
|
|
|
* Wed Aug 04 2021 chenyanpanHW <chenyanpan@huawei.com> - 3.17.0-2
|
|
|
|
|
- DESC: delete BuildRequires gdb
|
|
|
|
|
|
2020-06-29 11:51:37 +08:00
|
|
|
* Fri Jun 19 2020 Python_Bot <Python_Bot@openeuler.org>
|
|
|
|
|
- Package Spec generated
|