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