Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specfile: fedora review changes #88

Merged
merged 5 commits into from
Jan 28, 2025
Merged

Conversation

supakeen
Copy link
Member

Changes as pointed out in the Fedora package review.

@supakeen
Copy link
Member Author

supakeen commented Jan 23, 2025

Tests here are broken because osbuild main doesn't work with images.

Copy link
Member

@ondrejbudai ondrejbudai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the record, the only concerning thing about this PR is that the Source0 is now hardcoded to bundled releases (as required by the Fedora Packaging Guideline).

We were wondering about how packit handles it in its COPR integration. It seems like it doesn't actually care about the original Source0, and it just overrides it with whatever is needed to build a branch/PR. I verified this by downloading the SRPM, and inspecting the embedded tarball.

Just one thing: @supakeen, can you try removing the version change? In all other projects, we have LATEST_VERSION+1 in the specfile on main, so it would be great to do this here as well (otherwise we would have to adjust the automation I think).

These are leftovers and not currently used in the specfile.

Signed-off-by: Simon de Vlieger <[email protected]>
This architecture was retired in Fedora 37.

Signed-off-by: Simon de Vlieger <[email protected]>
Use a Source0 that works directly instead of having to go through
automation to build.

Signed-off-by: Simon de Vlieger <[email protected]>
Have a proper changelog entry.

Signed-off-by: Simon de Vlieger <[email protected]>
@supakeen
Copy link
Member Author

For the record, the only concerning thing about this PR is that the Source0 is now hardcoded to bundled releases (as required by the Fedora Packaging Guideline).

We were wondering about how packit handles it in its COPR integration. It seems like it doesn't actually care about the original Source0, and it just overrides it with whatever is needed to build a branch/PR. I verified this by downloading the SRPM, and inspecting the embedded tarball.

Just one thing: @supakeen, can you try removing the version change? In all other projects, we have LATEST_VERSION+1 in the specfile on main, so it would be great to do this here as well (otherwise we would have to adjust the automation I think).

Of course; I've rebased and changed the Source0 commit to drop the version change which now puts it on the same version as main again.

Copy link
Member

@ondrejbudai ondrejbudai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@supakeen supakeen added this pull request to the merge queue Jan 28, 2025
Merged via the queue into osbuild:main with commit c7652c0 Jan 28, 2025
25 of 28 checks passed
@supakeen supakeen deleted the fedora-review branch January 28, 2025 11:12
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