python-simplejson/python-simplejson.spec
wk333 838adf9948 Fixed the packaging process does not include __pycache__ tests
(cherry picked from commit dd64f501d6d7a1b5dc4cc83243ee6d32f99c0037)
2025-03-12 16:40:04 +08:00

60 lines
1.7 KiB
RPMSpec

%global _empty_manifest_terminate_build 0
Name: python-simplejson
Version: 3.17.6
Release: 2
Summary: Simple, fast, extensible JSON encoder/decoder for Python
License: MIT
URL: https://github.com/simplejson/simplejson
Source0: https://files.pythonhosted.org/packages/7a/47/c7cc3d4ed15f09917838a2fb4e1759eafb6d2f37ebf7043af984d8b36cf7/simplejson-3.17.6.tar.gz
%description
Simple, fast, extensible JSON encoder/decoder for Python
%package -n python3-simplejson
Summary: Simple, fast, extensible JSON encoder/decoder for Python
Provides: python-simplejson
Obsoletes: python-simplejson-help <= %{version}-%{release}
# Base build requires
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-cffi
BuildRequires: gcc
%description -n python3-simplejson
Simple, fast, extensible JSON encoder/decoder for Python
%prep
%autosetup -n simplejson-%{version} -p1
%build
%py3_build
%install
%py3_install
%check
%{__python3} setup.py test
%files -n python3-simplejson
%{python3_sitearch}/*
%changelog
* 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
* Wed May 25 2022 OpenStack_SIG <openstack@openeuler.org> - 3.17.6-1
- Upgrade the version to 3.17.6
* Fri Aug 06 2021 OpenStack_SIG <openstack@openeuler.org> - 3.17.2-1
- Upgrade version to 3.17.2
* Wed Aug 04 2021 chenyanpanHW <chenyanpan@huawei.com> - 3.17.0-2
- DESC: delete BuildRequires gdb
* Fri Jun 19 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated