|
rdobuilder |
d56aa8 |
Name: python-ujson
|
|
rdobuilder |
c35e1c |
Version: 5.8.0
|
|
rdobuilder |
c35e1c |
Release: 2%{?dist}
|
|
rdobuilder |
d56aa8 |
Summary: Ultra fast JSON encoder and decoder written in pure C
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
# The entire source is BSD-3-Clause, except:
|
|
rdobuilder |
d56aa8 |
#
|
|
rdobuilder |
d56aa8 |
# ----
|
|
rdobuilder |
d56aa8 |
#
|
|
rdobuilder |
d56aa8 |
# Portions of code from MODP_ASCII - Ascii transformations (upper/lower, etc)
|
|
rdobuilder |
d56aa8 |
# https://github.com/client9/stringencoders
|
|
rdobuilder |
d56aa8 |
#
|
|
rdobuilder |
d56aa8 |
# BSD-3-Clause but with its own copyright statement
|
|
rdobuilder |
d56aa8 |
#
|
|
rdobuilder |
d56aa8 |
# ----
|
|
rdobuilder |
d56aa8 |
#
|
|
rdobuilder |
d56aa8 |
# Numeric decoder derived from from TCL library
|
|
rdobuilder |
d56aa8 |
# https://opensource.apple.com/source/tcl/tcl-14/tcl/license.terms
|
|
rdobuilder |
d56aa8 |
#
|
|
rdobuilder |
d56aa8 |
# TCL: possibly present in python/objToJSON.c, python/ujson.c, and/or
|
|
rdobuilder |
d56aa8 |
# python/JSONtoObj.c.
|
|
rdobuilder |
d56aa8 |
#
|
|
rdobuilder |
d56aa8 |
# ----
|
|
rdobuilder |
d56aa8 |
#
|
|
rdobuilder |
d56aa8 |
# Filed upstream:
|
|
rdobuilder |
d56aa8 |
# Please consider including other licenses mentioned in LICENSE.txt
|
|
rdobuilder |
d56aa8 |
# https://github.com/ultrajson/ultrajson/issues/565
|
|
rdobuilder |
d56aa8 |
License: BSD-3-Clause AND TCL
|
|
rdobuilder |
d56aa8 |
URL: https://github.com/ultrajson/ultrajson
|
|
rdobuilder |
d56aa8 |
Source0: %{pypi_source ujson}
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
BuildRequires: gcc
|
|
rdobuilder |
d56aa8 |
BuildRequires: gcc-c++
|
|
rdobuilder |
d56aa8 |
BuildRequires: double-conversion-devel
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
BuildRequires: python3-devel
|
|
rdobuilder |
d56aa8 |
BuildRequires: pyproject-rpm-macros
|
|
rdobuilder |
d56aa8 |
BuildRequires: python3dist(pytest)
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
%global _description %{expand:
|
|
rdobuilder |
d56aa8 |
UltraJSON is an ultra fast JSON encoder and decoder written in pure C with
|
|
rdobuilder |
d56aa8 |
bindings for Python.}
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
%description %{_description}
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
%package -n python3-ujson
|
|
rdobuilder |
d56aa8 |
Summary: %{summary}
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
%description -n python3-ujson %{_description}
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
%prep
|
|
rdobuilder |
d56aa8 |
%autosetup -n ujson-%{version} -p1
|
|
rdobuilder |
d56aa8 |
# Remove bundled double-conversion
|
|
rdobuilder |
d56aa8 |
rm -vrf deps
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
%generate_buildrequires
|
|
rdobuilder |
d56aa8 |
%pyproject_buildrequires
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
%build
|
|
rdobuilder |
d56aa8 |
export UJSON_BUILD_NO_STRIP=1
|
|
rdobuilder |
d56aa8 |
export UJSON_BUILD_DC_INCLUDES='%{_includedir}/double-conversion'
|
|
rdobuilder |
d56aa8 |
export UJSON_BUILD_DC_LIBS='-ldouble-conversion'
|
|
rdobuilder |
d56aa8 |
%pyproject_wheel
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
%install
|
|
rdobuilder |
d56aa8 |
%pyproject_install
|
|
rdobuilder |
d56aa8 |
%pyproject_save_files ujson
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
%check
|
|
rdobuilder |
d56aa8 |
%pytest -v
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
%files -n python3-ujson -f %{pyproject_files}
|
|
rdobuilder |
d56aa8 |
# pyproject_files handles LICENSE.txt; verify with “rpm -qL -p …”
|
|
rdobuilder |
d56aa8 |
%doc README.md
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
%changelog
|
|
rdobuilder |
c35e1c |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.8.0-2
|
|
rdobuilder |
c35e1c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
rdobuilder |
c35e1c |
|
|
rdobuilder |
c35e1c |
* Sun Jul 02 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 5.8.0-1
|
|
rdobuilder |
c35e1c |
- Update to 5.8.0 (close RHBZ#2214034)
|
|
rdobuilder |
c35e1c |
|
|
rdobuilder |
c35e1c |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 5.7.0-4
|
|
rdobuilder |
c35e1c |
- Rebuilt for Python 3.12
|
|
rdobuilder |
c35e1c |
|
|
rdobuilder |
d56aa8 |
* Fri Mar 10 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 5.7.0-3
|
|
rdobuilder |
d56aa8 |
- Apply upstream PR#565 to add license texts to LICENSE.txt
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.0-2
|
|
rdobuilder |
d56aa8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Sun Jan 15 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 5.7.0-1
|
|
rdobuilder |
d56aa8 |
- Update to 5.7.0 (close RHBZ#2158945)
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Thu Dec 01 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 5.6.0-1
|
|
rdobuilder |
d56aa8 |
- Update to 5.6.0 (close RHBZ#2149975)
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Sat Sep 17 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 5.5.0-1
|
|
rdobuilder |
d56aa8 |
- Update to 5.5.0 (closes RHBZ#2127227)
|
|
rdobuilder |
d56aa8 |
- Update License to SPDX and include additional license texts
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.4.0-2
|
|
rdobuilder |
d56aa8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Thu Jul 14 2022 Alfredo Moralejo <amoralej@redhat.com> - 5.4.0-1
|
|
rdobuilder |
d56aa8 |
- Update to 5.4.0 (closes rhbz#2103379)
|
|
rdobuilder |
d56aa8 |
- Includes fixes for CVE-2022-31117 and CVE-2022-31116
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 5.3.0-2
|
|
rdobuilder |
d56aa8 |
- Rebuilt for Python 3.11
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Fri May 20 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 5.3.0-1
|
|
rdobuilder |
d56aa8 |
- Update to 5.3.0 (close RHBZ#2088232)
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Fri Apr 08 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 5.2.0-1
|
|
rdobuilder |
d56aa8 |
- Update to 5.2.0 (close RHBZ#2072241)
|
|
rdobuilder |
d56aa8 |
- Migrate to pyproject-rpm-macros (“new Python guidelines”)
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Sun Mar 06 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 5.1.0-1
|
|
rdobuilder |
d56aa8 |
- Update to 5.1.0 (close RHBZ#1862763)
|
|
rdobuilder |
d56aa8 |
- Unbundle double-conversion and prevent debug symbol stripping with separate
|
|
rdobuilder |
d56aa8 |
patches, both offered upstream
|
|
rdobuilder |
d56aa8 |
- Drop obsolete %%python_provide macro
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.2-2
|
|
rdobuilder |
d56aa8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Sat Jul 31 2021 Kushal Das <kushal@fedoraproject.org> 4.0.2-1
|
|
rdobuilder |
d56aa8 |
- Update to 4.0.2
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-5
|
|
rdobuilder |
d56aa8 |
- Second attempt - Rebuilt for
|
|
rdobuilder |
d56aa8 |
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.0.0-4
|
|
rdobuilder |
d56aa8 |
- Rebuilt for Python 3.10
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-3
|
|
rdobuilder |
d56aa8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-2
|
|
rdobuilder |
d56aa8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Sun Jun 07 2020 Kushal Das <kushal@fedoraproject.org> 3.0.0-1
|
|
rdobuilder |
d56aa8 |
- Update to 3.0.0
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.0.3-2
|
|
rdobuilder |
d56aa8 |
- Rebuilt for Python 3.9
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Tue May 12 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.0.3-1
|
|
rdobuilder |
d56aa8 |
- Update to 2.0.3
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-0.3.20170206git2f1d487
|
|
rdobuilder |
d56aa8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Tue Sep 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0-0.2.20170206git2f1d487
|
|
rdobuilder |
d56aa8 |
- Subpackage python2-ujson has been removed
|
|
rdobuilder |
d56aa8 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0-0.1.20170206git2f1d487.9
|
|
rdobuilder |
d56aa8 |
- Rebuilt for Python 3.8
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-0.1.20170206git2f1d487.8
|
|
rdobuilder |
d56aa8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-0.1.20170206git2f1d487.7
|
|
rdobuilder |
d56aa8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-0.1.20170206git2f1d487.6
|
|
rdobuilder |
d56aa8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0-0.1.20170206git2f1d487.5
|
|
rdobuilder |
d56aa8 |
- Rebuilt for Python 3.7
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.0-0.1.20170206git2f1d487.4
|
|
rdobuilder |
d56aa8 |
- Update Python 2 dependency declarations to new packaging standards
|
|
rdobuilder |
d56aa8 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-0.1.20170206git2f1d487.3
|
|
rdobuilder |
d56aa8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-0.1.20170206git2f1d487.2
|
|
rdobuilder |
d56aa8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-0.1.20170206git2f1d487.1
|
|
rdobuilder |
d56aa8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Fri Feb 10 2017 Adam Williamson <awilliam@redhat.com> - 2.0-0.1.20170206git2f1d487
|
|
rdobuilder |
d56aa8 |
- Update to pre-2.0 git snapshot, removes non-standard serialization behaviour
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Sun Jan 01 2017 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.35-1
|
|
rdobuilder |
d56aa8 |
- Update to 1.35
|
|
rdobuilder |
d56aa8 |
- Run test suite
|
|
rdobuilder |
d56aa8 |
- Spec cleanups
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.33-5
|
|
rdobuilder |
d56aa8 |
- Rebuild for Python 3.6
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.33-4
|
|
rdobuilder |
d56aa8 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-3
|
|
rdobuilder |
d56aa8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Fri Nov 06 2015 Robert Kuska <rkuska@redhat.com> - 1.33-2
|
|
rdobuilder |
d56aa8 |
- Rebuilt for Python3.5 rebuild
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Sat Aug 1 2015 Julien Enselme <jujens@jujens.eu> - 1.33-1
|
|
rdobuilder |
d56aa8 |
- Update to 1.33
|
|
rdobuilder |
d56aa8 |
- Enable python3 subpackage
|
|
rdobuilder |
d56aa8 |
- Update SPEC to match packaging guidelines
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-5
|
|
rdobuilder |
d56aa8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-4
|
|
rdobuilder |
d56aa8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-3
|
|
rdobuilder |
d56aa8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-2
|
|
rdobuilder |
d56aa8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
rdobuilder |
d56aa8 |
|
|
rdobuilder |
d56aa8 |
* Wed Dec 19 2012 Kushal Das <kushal@fedoraproject.org> 1.23-1
|
|
rdobuilder |
d56aa8 |
- Intial package
|