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

Add a Provides generator for rpm lua modules #2659

Merged
merged 1 commit into from Sep 15, 2023

Conversation

gotmax23
Copy link
Contributor

Some packages in Fedora provide shared RPM lua code that's used by other packages.
It would be nice to have automatic Provides for this code like we have for rpm macros themselves.

Usecase:

Recently, forge.lua that's used by go-srpm-macros and fonts-srpm-macros moved out of redhat-rpm-config.
I would like to be able to add Requires: rpm_lua(fedora.srpm.forge) to those packages instead of having to rely on it being implicitly pulled in by redhat-rpm-config or adding conditional dependencies on forge-srpm-macros.

Some packages in Fedora provide shared RPM lua code that's used by other
packages.
It would be nice to have automatic Provides for this code like we have
for rpm macros themselves.

Usecase:

Recently, forge.lua that's used by go-srpm-macros and fonts-srpm-macros
moved out of redhat-rpm-config.
I would like to be able to add `Requires: rpm_lua(fedora.srpm.forge)`
to those packages instead of having to rely on it being implicitly
pulled in by redhat-rpm-config or adding conditional dependencies on
forge-srpm-macros.
@pmatilai
Copy link
Member

pmatilai commented Sep 15, 2023

I don't see a reason not to...

Thanks for the patch!

@pmatilai pmatilai merged commit 6867ef9 into rpm-software-management:master Sep 15, 2023
1 check passed
@dmnks dmnks added the generator Dependency generation related label Nov 28, 2023
@dmnks dmnks added RFE packaging Package building, SPEC files, etc. labels Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
generator Dependency generation related packaging Package building, SPEC files, etc. RFE
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants