Skip to content

Fix build failures on legacy distributions - #2203

Merged
dmach merged 1 commit into
openSUSE:masterfrom
deneb-alpha:python-rpm-macros
Sep 22, 2026
Merged

dmach merged 1 commit into
openSUSE:masterfrom
deneb-alpha:python-rpm-macros

Conversation

@deneb-alpha

@deneb-alpha deneb-alpha commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

This resolves build failures encountered on older SLE / openSUSE distributions:

  • Spec file: Fixes a malformed use_python macro generation. If primary_python is "python3", the sed replacement was producing "python3.". Bypassed the sed replacement for this specific case to maintain compatibility with recent python-rpm-macros updates.

Build tested on OBS at:
https://build.opensuse.org/package/show/home:deneb_alpha:openSUSE:Tools_python-rpm-macros/osc

@codecov

codecov Bot commented Sep 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 34.46%. Comparing base (d1cca92) to head (3d2f0c5).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2203      +/-   ##
==========================================
+ Coverage   34.38%   34.46%   +0.08%     
==========================================
  Files         201      201              
  Lines       27421    27421              
==========================================
+ Hits         9430     9452      +22     
+ Misses      17991    17969      -22     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

…mary_python fallback introduced in python-rpm-macros
@deneb-alpha deneb-alpha changed the title Fix build failures on legacy distributions (Python 3.6 tests & spec macro) Fix build failures on legacy distributions Sep 21, 2026
@dmach
dmach merged commit a83810c into openSUSE:master Sep 22, 2026
12 checks passed
@deneb-alpha
deneb-alpha deleted the python-rpm-macros branch September 22, 2026 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants