15
0
forked from pool/python-rjsmin
Files
python-rjsmin/reproducible.patch
Markéta Machová 1ef6a89350 Accepting request 970122 from home:pgajdos:python
- version update to 1.2.0
 *) Improve regex detection. Fixes #17, #23
 *) Add aarch64 wheels (issue #24, #25, contributed by odidev)
 *) Add tests to source distribution (issue #20, contributed by dvzrv)
 *) bytearray input now produces bytearray output
 *) Update python support: 2.7, 3.6+
 *) Emit the correct env var name in the warning message if the compilation of
    the C implementation fails.
- modified patches
  % reproducible.patch (refreshed)

OBS-URL: https://build.opensuse.org/request/show/970122
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rjsmin?expand=0&rev=16
2022-04-14 16:39:21 +00:00

40 lines
889 B
Diff

Date: 2019-05-18
Author: Bernhard M. Wiedemann <bwiedemann suse de>
Do not instrument code with profiling
to make build reproducible
and also more sane in general
Index: rjsmin-1.2.0/debug.unix.cflags
===================================================================
--- rjsmin-1.2.0.orig/debug.unix.cflags
+++ rjsmin-1.2.0/debug.unix.cflags
@@ -1,28 +0,0 @@
-# allow crash debugging
--ggdb
-
-# produce coverage reports
--ftest-coverage
--fprofile-arcs
-
-# don't compile on weird code
--std=c99 -pedantic -fno-strict-aliasing -Werror
--Wall
--Wbad-function-cast
--Wcast-align
--Wcast-qual
--Wconversion
--Wdeclaration-after-statement
--Wextra
--Winit-self
--Wmissing-declarations
-# -Wmissing-include-dirs
--Wmissing-prototypes
--Wnested-externs
--Wno-long-long
--Wno-missing-field-initializers
--Wno-overlength-strings
--Wno-unused-parameter
--Wshadow
--Wstrict-overflow=4
--Wundef