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

rpm generators only run when either a magic or path rule is set #2951

Open
dcermak opened this issue Mar 8, 2024 · 0 comments
Open

rpm generators only run when either a magic or path rule is set #2951

dcermak opened this issue Mar 8, 2024 · 0 comments
Labels

Comments

@dcermak
Copy link
Contributor

dcermak commented Mar 8, 2024

static int matches from rpmfc.c implies that rpm provides & requires generators only run when either __NAME_magic or __NAME_path is set:

return (regMatch(mreg, mtype) || regMatch(rule->path, path));

Yet, the documentation https://rpm-software-management.github.io/rpm/manual/dependency_generators.html#file-attributes only mentions that "While technically all of them are optional, typically two or more of them are present to form a meaningul attribute". Which of these is correct, the source or the documentation?

@dmnks dmnks self-assigned this Mar 20, 2024
@dmnks dmnks added packaging Package building, SPEC files, etc. and removed packaging Package building, SPEC files, etc. labels Mar 21, 2024
@dmnks dmnks added the bug label Apr 25, 2024
@dmnks dmnks removed their assignment Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

2 participants