From f307e2caab19671366d24438c647ac04a3e7cb9d Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley Date: May 03 2023 18:01:21 +0000 Subject: Add a link to the upstream issue for the Cython workaround --- diff --git a/python-ruamel-yaml-clib.spec b/python-ruamel-yaml-clib.spec index 8e0e44b..ad58d5e 100644 --- a/python-ruamel-yaml-clib.spec +++ b/python-ruamel-yaml-clib.spec @@ -66,7 +66,12 @@ cp -p '%{SOURCE1}' . %pyproject_buildrequires %build -# cython refuses to cythonize a file in a directory that cannot be a Python module ¯\_(ツ)_/¯ +# cython refuses to cythonize a file in a directory that cannot be a Python +# module ¯\_(ツ)_/¯ +# +# Top-level structure seems to be incompatible with Cython 0.29.34 +# ('ruamel-yaml-clib-code._ruamel_yaml' is not a valid module name) +# https://sourceforge.net/p/ruamel-yaml-clib/tickets/14/ mkdir ruamel.yaml.clib mv *.pyx ruamel.yaml.clib cythonize -3 ruamel.yaml.clib/*.pyx @@ -100,6 +105,7 @@ rmdir ruamel.yaml.clib - Add an import-only “smoke test” - Properly handle libyaml bundling - Port to pyproject-rpm-macros (“new Python guidelines”) +- Add a link to the upstream issue for the Cython workaround * Fri Jan 20 2023 Fedora Release Engineering - 0.2.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild