Skip to content

Commit

Permalink
simplejson: Autospec creation for version 3.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fenrus75 authored and clrbuilder committed Jun 27, 2017
1 parent cc3e01f commit dda89d8
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME := simplejson
URL := https://github.com/simplejson/simplejson/archive/v3.10.0.tar.gz
ARCHIVES :=


include ../common/Makefile.common
1 change: 0 additions & 1 deletion allow_test_failures

This file was deleted.

38 changes: 38 additions & 0 deletions options.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[autospec]
# build 32 bit libraries
32bit = false
# allow package to build with test failures
allow_test_failures = true
# unset %build ld_as_needed variable
asneeded = false
# extend flags with '-std=gnu++98
broken_c++ = false
# disable parallelization during build
broken_parallel_build = false
# set conservative build flags
conservative_flags = false
# pass -ffast-math to compiler
fast-math = false
# optimize build for speed over size
funroll-loops = false
# set flags to smallest -02 flags possible
insecure_build = false
# do not remove static libraries
keepstatic = false
# do not require autostart suepackage
no_autostart = false
# optimize build for size over speed
optimize_size = false
# set profile for pgo
pgo = false
# do not run test suite
skip_tests = false
# configure build for avx2
use_avx2 = false
# add clang flags
use_clang = false
# configure build for lto
use_lto = false
# require package verification for build
verify_required = false

2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
30
31
8 changes: 5 additions & 3 deletions simplejson.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
Name : simplejson
Version : 3.10.0
Release : 30
Release : 31
URL : https://github.com/simplejson/simplejson/archive/v3.10.0.tar.gz
Source0 : https://github.com/simplejson/simplejson/archive/v3.10.0.tar.gz
Summary : No detailed summary available
Expand Down Expand Up @@ -38,6 +38,7 @@ python components for the simplejson package.

%build
export LANG=C
export SOURCE_DATE_EPOCH=1484575422
python2 setup.py build -b py2
python3 setup.py build -b py3

Expand All @@ -47,9 +48,10 @@ export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
PYTHONPATH=%{buildroot}/usr/lib/python2.7/site-packages python setup.py test
%install
export SOURCE_DATE_EPOCH=1484575422
rm -rf %{buildroot}
python2 -tt setup.py build -b py2 install --root=%{buildroot}
python3 -tt setup.py build -b py3 install --root=%{buildroot}
python2 -tt setup.py build -b py2 install --root=%{buildroot} --force
python3 -tt setup.py build -b py3 install --root=%{buildroot} --force

%files
%defattr(-,root,root,-)
Expand Down
1 change: 0 additions & 1 deletion unit_tests_must_pass

This file was deleted.

2 changes: 1 addition & 1 deletion used_libs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
libc.so.6
libpthread.so.0
libpython2.7.so.1.0
libpython3.5m.so.1.0
libpython3.6m.so.1.0

0 comments on commit dda89d8

Please sign in to comment.