Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4297c455c0 |
@ -1,14 +0,0 @@
|
|||||||
diff --git a/testing/support.py b/testing/support.py
|
|
||||||
index 063e52c..24c6148 100644
|
|
||||||
--- a/testing/support.py
|
|
||||||
+++ b/testing/support.py
|
|
||||||
@@ -116,7 +116,8 @@ else:
|
|
||||||
# assume a standard gcc
|
|
||||||
extra_compile_args = ['-Werror', '-Wall', '-Wextra', '-Wconversion',
|
|
||||||
'-Wno-unused-parameter',
|
|
||||||
- '-Wno-unreachable-code']
|
|
||||||
+ '-Wno-unreachable-code',
|
|
||||||
+ '-Wno-error=sign-conversion']
|
|
||||||
|
|
||||||
is_musl = False
|
|
||||||
if sys.platform == 'linux':
|
|
||||||
@ -11,11 +11,6 @@ License: MIT and Python
|
|||||||
URL: https://github.com/python-cffi/cffi
|
URL: https://github.com/python-cffi/cffi
|
||||||
Source: %{url}/archive/v%{version}/cffi-%{version}.tar.gz
|
Source: %{url}/archive/v%{version}/cffi-%{version}.tar.gz
|
||||||
|
|
||||||
# The GCC version in RHEL 8 errors with -Werror=sign-conversion due to
|
|
||||||
# https://github.com/python/cpython/issues/112353
|
|
||||||
# This patch unconditionally adds -Wno-error=sign-conversion for tests
|
|
||||||
Patch0: tests-no-error-sign-conversion.patch
|
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user