From f98f8c0e81e66049555c2399a0fc6ca8e65765c9 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 21 Sep 2026 18:09:40 +0000 Subject: automatic import of python-proxsuite --- proxsuite.spec | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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} -- cgit v1.2.3