forked from pool/python-ujson
Accepting request 702493 from home:jayvdb:django
- Apply six patches from Gentoo: * ujson-1.35-fix-for-overflowing-long.patch * ujson-1.35-fix-ordering-of-orderdict.patch * ujson-1.35-sort_keys-segfault.patch * ujson-1.35-standard-handling-of-none.patch * ujson-1.35-test-depricationwarning.patch * ujson-1.35-use-static-where-possible.patch OBS-URL: https://build.opensuse.org/request/show/702493 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=13
This commit is contained in:
committed by
Git OBS Bridge
parent
3540a5ffd0
commit
9d1d0bc42a
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-ujson
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@@ -28,6 +28,12 @@ Source: https://files.pythonhosted.org/packages/source/u/ujson/ujson-%{v
|
||||
# PATCH-FIX-UPSTREAM -- do_not_remove_build_directory_manually.patch -- https://github.com/esnme/ultrajson/issues/179
|
||||
Patch0: do_not_remove_build_directory_manually.patch
|
||||
Patch1: no-unittest2.patch
|
||||
Patch2: ujson-1.35-fix-for-overflowing-long.patch
|
||||
Patch3: ujson-1.35-fix-ordering-of-orderdict.patch
|
||||
Patch4: ujson-1.35-sort_keys-segfault.patch
|
||||
Patch5: ujson-1.35-standard-handling-of-none.patch
|
||||
Patch6: ujson-1.35-test-depricationwarning.patch
|
||||
Patch7: ujson-1.35-use-static-where-possible.patch
|
||||
BuildRequires: %{python_module blist}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pytz}
|
||||
@@ -44,8 +50,7 @@ decoder experience please checkout ujson4c_, based on UltraJSON.
|
||||
|
||||
%prep
|
||||
%setup -q -n ujson-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
|
Reference in New Issue
Block a user