diff --git a/cffi-1.15.0-sw.patch b/cffi-1.15.0-sw.patch new file mode 100755 index 0000000000000000000000000000000000000000..a2e6835baa03c9d4aa5c49d41f5414997ecde803 Binary files /dev/null and b/cffi-1.15.0-sw.patch differ diff --git a/python-cffi.spec b/python-cffi.spec index 4c33821e3b63451adfa1e8b086fbaf208325bbf6..5b9235ba2c7e9547e44c51022c90e9627490e0d3 100644 --- a/python-cffi.spec +++ b/python-cffi.spec @@ -6,11 +6,14 @@ based on C-like declarations that you can often copy-paste from header files or Name: python-%{_name} Version: 1.15.0 -Release: 1 +Release: 2 Summary: %{_summary} License: MIT URL: http://cffi.readthedocs.org Source0: https://files.pythonhosted.org/packages/source/c/cffi/%{_name}-%{version}.tar.gz +%ifarch sw_64 +Patch1: cffi-1.15.0-sw.patch +%endif Buildrequires: gdb libffi-devel gcc-c++ gcc python3-sphinx @@ -52,6 +55,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest c/ testing/ %doc PKG-INFO README.md %changelog +* Wed Oct 19 2022 wuzx - 1.15.0-2 +- add sw64 patch + * Sat Dec 25 2021 tianwei - 1.15.0-1 - upgrade version to 1.15.0