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

tools: Set a+x on rpm_spec_vendor2provides #3562

Merged
merged 3 commits into from
Jul 18, 2023

Conversation

bcl
Copy link
Contributor

@bcl bcl commented Jul 18, 2023

New script is missing the executable bit.

@bcl bcl requested a review from achilleas-k July 18, 2023 17:53
@bcl bcl marked this pull request as draft July 18, 2023 17:54
bcl added 2 commits July 18, 2023 11:37
Local packages do not have a version number. Fake it with 'HEAD' to
indicate it's using whatever the working directory is pointing at.

The Provides line will then look like:

Provides: bundled(golang(../osbuild-images)) = HEAD

which rpmbuild is happy to process into an rpm.

This is ONLY for test builds on local systems and should never be seen
in the wild.
@bcl
Copy link
Contributor Author

bcl commented Jul 18, 2023

(I just noticed the testing PR you made using a url, so that explains why your tests were working an mine weren't)

I've added a patch here that fixes things for me, using a fake version when using filesystem paths in the replace line.

@bcl bcl marked this pull request as ready for review July 18, 2023 18:43
Copy link
Member

@supakeen supakeen left a comment

Choose a reason for hiding this comment

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

Ah yea, I didn't test with a filepath either.

@supakeen supakeen enabled auto-merge (rebase) July 18, 2023 18:53
@achilleas-k
Copy link
Member

Oh, my bad. Thanks!

@supakeen supakeen merged commit 3cfde58 into osbuild:main Jul 18, 2023
31 checks passed
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.

3 participants