|
 |
c6e4d9 |
%global modname ujson
|
|
 |
c6e4d9 |
%global srcname ultrajson
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
Name: python-%{modname}
|
|
 |
c6e4d9 |
Version: 3.0.0
|
|
 |
c6e4d9 |
Release: 3%{?dist}
|
|
 |
c6e4d9 |
Summary: Ultra fast JSON encoder and decoder written in pure C
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
License: BSD
|
|
 |
c6e4d9 |
URL: https://github.com/ultrajson/ultrajson
|
|
 |
c6e4d9 |
Source: %{pypi_source %{modname}}
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
BuildRequires: gcc
|
|
 |
c6e4d9 |
BuildRequires: gcc-c++
|
|
 |
c6e4d9 |
BuildRequires: double-conversion-devel
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
Patch001: 0001-Use-double-conversion-from-the-system.patch
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
%global _description \
|
|
 |
c6e4d9 |
UltraJSON is an ultra fast JSON encoder and decoder written in\
|
|
 |
c6e4d9 |
pure C with bindings for Python.
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
%description %{_description}
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
%package -n python3-%{modname}
|
|
 |
c6e4d9 |
Summary: %{summary}
|
|
 |
c6e4d9 |
BuildRequires: python3-devel
|
|
 |
c6e4d9 |
BuildRequires: python3dist(setuptools)
|
|
 |
c6e4d9 |
BuildRequires: python3dist(setuptools-scm)
|
|
 |
c6e4d9 |
BuildRequires: python3dist(pytest)
|
|
 |
c6e4d9 |
%{?python_provide:%python_provide python3-%{modname}}
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
%description -n python3-%{modname} %{_description}
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
Python 3 version.
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
%prep
|
|
 |
c6e4d9 |
%autosetup -n %{modname}-%{version} -p1
|
|
 |
c6e4d9 |
rm -vrf deps
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
%build
|
|
 |
c6e4d9 |
%py3_build
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
%install
|
|
 |
c6e4d9 |
%py3_install
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
%check
|
|
 |
c6e4d9 |
PYTHONPATH=%{buildroot}%{python3_sitearch} %python3 -m pytest -v
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
%files -n python3-%{modname}
|
|
 |
c6e4d9 |
%license LICENSE.txt
|
|
 |
c6e4d9 |
%doc README.rst
|
|
 |
c6e4d9 |
%{python3_sitearch}/%{modname}-%{version}-py%{python3_version}.egg-info/
|
|
 |
c6e4d9 |
%{python3_sitearch}/%{modname}*.so
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
%changelog
|
|
 |
c6e4d9 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-3
|
|
 |
c6e4d9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-2
|
|
 |
c6e4d9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Sun Jun 07 2020 Kushal Das <kushal@fedoraproject.org> 3.0.0-1
|
|
 |
c6e4d9 |
- Update to 3.0.0
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.0.3-2
|
|
 |
c6e4d9 |
- Rebuilt for Python 3.9
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Tue May 12 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.0.3-1
|
|
 |
c6e4d9 |
- Update to 2.0.3
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-0.3.20170206git2f1d487
|
|
 |
c6e4d9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Tue Sep 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0-0.2.20170206git2f1d487
|
|
 |
c6e4d9 |
- Subpackage python2-ujson has been removed
|
|
 |
c6e4d9 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0-0.1.20170206git2f1d487.9
|
|
 |
c6e4d9 |
- Rebuilt for Python 3.8
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-0.1.20170206git2f1d487.8
|
|
 |
c6e4d9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-0.1.20170206git2f1d487.7
|
|
 |
c6e4d9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-0.1.20170206git2f1d487.6
|
|
 |
c6e4d9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0-0.1.20170206git2f1d487.5
|
|
 |
c6e4d9 |
- Rebuilt for Python 3.7
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.0-0.1.20170206git2f1d487.4
|
|
 |
c6e4d9 |
- Update Python 2 dependency declarations to new packaging standards
|
|
 |
c6e4d9 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-0.1.20170206git2f1d487.3
|
|
 |
c6e4d9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-0.1.20170206git2f1d487.2
|
|
 |
c6e4d9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-0.1.20170206git2f1d487.1
|
|
 |
c6e4d9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Fri Feb 10 2017 Adam Williamson <awilliam@redhat.com> - 2.0-0.1.20170206git2f1d487
|
|
 |
c6e4d9 |
- Update to pre-2.0 git snapshot, removes non-standard serialization behaviour
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Sun Jan 01 2017 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.35-1
|
|
 |
c6e4d9 |
- Update to 1.35
|
|
 |
c6e4d9 |
- Run test suite
|
|
 |
c6e4d9 |
- Spec cleanups
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.33-5
|
|
 |
c6e4d9 |
- Rebuild for Python 3.6
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.33-4
|
|
 |
c6e4d9 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-3
|
|
 |
c6e4d9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Fri Nov 06 2015 Robert Kuska <rkuska@redhat.com> - 1.33-2
|
|
 |
c6e4d9 |
- Rebuilt for Python3.5 rebuild
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Sat Aug 1 2015 Julien Enselme <jujens@jujens.eu> - 1.33-1
|
|
 |
c6e4d9 |
- Update to 1.33
|
|
 |
c6e4d9 |
- Enable python3 subpackage
|
|
 |
c6e4d9 |
- Update SPEC to match packaging guidelines
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-5
|
|
 |
c6e4d9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-4
|
|
 |
c6e4d9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-3
|
|
 |
c6e4d9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-2
|
|
 |
c6e4d9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
 |
c6e4d9 |
|
|
 |
c6e4d9 |
* Wed Dec 19 2012 Kushal Das <kushal@fedoraproject.org> 1.23-1
|
|
 |
c6e4d9 |
- Intial package
|