Compare commits
No commits in common. "c10s" and "c8-beta" have entirely different histories.
@ -1 +0,0 @@
|
|||||||
1
|
|
||||||
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,5 +1 @@
|
|||||||
/cffi-*.tar.gz
|
SOURCES/cffi-1.16.0.tar.gz
|
||||||
/cffi-*.tar.bz2
|
|
||||||
/cffi-*/
|
|
||||||
/results_python-cffi/
|
|
||||||
*.rpm
|
|
||||||
|
|||||||
1
.python3.12-cffi.metadata
Normal file
1
.python3.12-cffi.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
907c177687fc820052ae26b77bf519e92e683527 SOURCES/cffi-1.16.0.tar.gz
|
||||||
14
SOURCES/tests-no-error-sign-conversion.patch
Normal file
14
SOURCES/tests-no-error-sign-conversion.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
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,6 +11,11 @@ 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
|
||||||
@ -1,7 +0,0 @@
|
|||||||
--- !Policy
|
|
||||||
|
|
||||||
product_versions:
|
|
||||||
- rhel-9
|
|
||||||
decision_context: osci_compose_gate
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
|
||||||
18
plan.fmf
18
plan.fmf
@ -1,18 +0,0 @@
|
|||||||
execute:
|
|
||||||
how: tmt
|
|
||||||
discover:
|
|
||||||
how: shell
|
|
||||||
dist-git-source: true
|
|
||||||
tests:
|
|
||||||
- name: bundled tests
|
|
||||||
require:
|
|
||||||
- python3.12-pytest
|
|
||||||
- python3.12-cffi
|
|
||||||
- python3.12-devel
|
|
||||||
- python3.12-setuptools
|
|
||||||
- patch
|
|
||||||
- gcc-c++
|
|
||||||
test: |
|
|
||||||
cd $(dirname $TMT_SOURCE_DIR/cffi-*/testing) &&
|
|
||||||
rm -rf cffi* &&
|
|
||||||
pytest-3.12 testing/cffi0
|
|
||||||
Loading…
Reference in New Issue
Block a user