Compare commits

...

No commits in common. "c8-beta" and "c9s" have entirely different histories.
c8-beta ... c9s

8 changed files with 32 additions and 21 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

6
.gitignore vendored
View File

@ -1 +1,5 @@
SOURCES/cffi-1.16.0.tar.gz /cffi-*.tar.gz
/cffi-*.tar.bz2
/cffi-*/
/results_python-cffi/
*.rpm

View File

@ -1 +0,0 @@
907c177687fc820052ae26b77bf519e92e683527 SOURCES/cffi-1.16.0.tar.gz

View File

@ -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':

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

18
plan.fmf Normal file
View File

@ -0,0 +1,18 @@
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

View File

@ -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

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (cffi-1.16.0.tar.gz) = 2115f4d2431f36b18494182d2abb378a750c970dfdf083cfc287b004e52830efe703f07f71a17c89060b47eaa3b52e7b2390017d1980eb39695bdaf31bac3bb5