Skip to content

parser: add VER, REL and SUBDIR override for Retro targets#45

Merged
MingcongBai merged 1 commit into
productionfrom
add-ver-override
Apr 7, 2026
Merged

parser: add VER, REL and SUBDIR override for Retro targets#45
MingcongBai merged 1 commit into
productionfrom
add-ver-override

Conversation

@Cyanoxygen

Copy link
Copy Markdown
Member

This is useful for retro-specific packages, such as Mesa (mesa-amber) and librsvg (pre-Rust version).

@what-the-diff

what-the-diff Bot commented Apr 7, 2026

Copy link
Copy Markdown

PR Summary

  • Enhancement of 'release' variable retrieval
    We've updated how our system fetches the value of release. This now takes advantage of the get_var_arch function, instead of directly accessing the spec_var object.

  • Modified method for extracting 'version'
    The version variable is now secured utilizing get_var_arch, as opposed to using the spec_var.get function earlier.

  • Revised method to set 'subdir' variable
    The way we're setting the subdir variable has been changed. It is now being managed through the get_var method instead of the previous method of direct access from the spec_var.

These changes ensure better maintainability and reliability of how the system retrieves and handles these variables, promoting consistency in our code.

This is useful for retro-specific packages, such as Mesa (mesa-amber)
and librsvg (pre-Rust version).
@MingcongBai MingcongBai merged commit 58a48e5 into production Apr 7, 2026
1 check passed
@Cyanoxygen

Copy link
Copy Markdown
Member Author

Tested good with arch. specific packages and normal packages on ia64 and i486:
image
image
image

amd64:
image

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