发布

  • fix(rpm): glob dist-info in %files to tolerate version drift

    frostbyte_neo 发布于 2026-04-21 05:44:42 +00:00

    An OBS rebuild on main with pyproject.toml ahead of the latest tag fails
    because set_version derives Version: from @PARENT_TAG@ (the tarball
    filename) while %pyproject_wheel derives the dist-info directory name
    from pyproject.toml inside the tarball. %files then looks for
    winpodx-.dist-info while the wheel produces winpodx-.dist-info.

    Globbing winpodx-*.dist-info makes %files match whichever name the wheel
    produces, so routine main-is-ahead-of-tag states do not break RPM builds.

    下载附件