diff options
| -rw-r--r-- | proxsuite.spec | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/proxsuite.spec b/proxsuite.spec index e808425..3b1dbbf 100644 --- a/proxsuite.spec +++ b/proxsuite.spec @@ -12,6 +12,18 @@ # bindings/python/external/nanobind and external/cereal. VCS metadata (.git) is # not shipped, hence PROJECT_VERSION is passed explicitly to CMake below. +# No usable debuginfo can be extracted from this build: jrl-cmakemodules builds +# the nanobind extension through nanobind_add_module(), whose nanobind_strip() +# link option adds `-Wl,-s` in Release mode +# (bindings/python/external/nanobind/cmake/nanobind-config.cmake:337). The only +# ELF artifact, proxsuite/proxsuite_pywrap.cpython-*.so, is therefore stripped +# at link time: find-debuginfo collects nothing, debugfiles.list stays empty and +# rpmbuild aborts with "error: Empty %files file .../debugfiles.list" (build +# 112556). Everything else shipped here is headers / pure Python, so disabling +# the automatic debuginfo (and debugsource) subpackages is the correct +# treatment for this source package. +%global debug_package %{nil} + %global pypi_name proxsuite Name: python-%{pypi_name} |
