diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-09-21 18:09:40 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-09-21 18:09:40 +0000 |
| commit | f98f8c0e81e66049555c2399a0fc6ca8e65765c9 (patch) | |
| tree | c53cb1ca6051a76bd606f0ac46a312aa02644789 /proxsuite.spec | |
| parent | 881f779e258ca97b63d201bade1cf6cce17e5429 (diff) | |
automatic import of python-proxsuiteopeneuler24.03_LTS_SP3
Diffstat (limited to 'proxsuite.spec')
| -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} |
