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

Refs #18539 - Expand foreman_{assets,webpack}_plugin macros #11233

Open
wants to merge 1 commit into
base: rpm/develop
Choose a base branch
from

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Sep 11, 2024

These macros now include the directories above it so plugins properly own them. That means on removal (and upgrade is a special case of removal) they're cleaned up.

This means the macro now only works in the %files section, but in practice that's the only place it's used.

These macros now include the directories above it so plugins properly
own them. That means on removal (and upgrade is a special case of
removal) they're cleaned up.

This means the macro now only works in the %files section, but in
practice that's the only place it's used.
Copy link
Member

@evgeni evgeni left a comment

Choose a reason for hiding this comment

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

Not sure I should ACK this, given it was my own proposal in #9705, but hey… it should work, right? :)

@ekohl
Copy link
Member Author

ekohl commented Sep 11, 2024

My thought was to fork the COPR repo that was created for this PR and build a plugin there.

@ekohl
Copy link
Member Author

ekohl commented Sep 11, 2024

@ekohl
Copy link
Member Author

ekohl commented Sep 11, 2024

Of course I forgot to set up the repos. https://copr.fedorainfracloud.org/coprs/ekohl/foreman-packaging-pr-11233/build/8009796/ tries it again.

@ekohl
Copy link
Member Author

ekohl commented Sep 11, 2024

I'm tempted to say this is a relevant build failure.

+ '[' -e /builddir/build/BUILDROOT/rubygem-foreman_remote_execution-14.0.0-1.fm3_13.el8.x86_64
/var/tmp/rpm-tmp.K20k5c: line 77: [: missing `]'


RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.K20k5c (%install)
    Bad exit status from /var/tmp/rpm-tmp.K20k5c (%install)

@evgeni
Copy link
Member

evgeni commented Sep 11, 2024

Well, damn, that macro is used in the precompile_plugin macro.

🐢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants