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

%missingok is undocumented #2833

Closed
dralley opened this issue Jan 6, 2024 · 1 comment
Closed

%missingok is undocumented #2833

dralley opened this issue Jan 6, 2024 · 1 comment

Comments

@dralley
Copy link
Contributor

dralley commented Jan 6, 2024

%config(missingok) is documented, however, %missingok is not. Presumably there is at minimum a lot of overlap, but it is unclear if there are any distinctions in when and how they should be used.

vattrtest.spec only tests %missingok, can I presume that they are equivalent in function? Is one or the other considered better syntax?

Or does %config(missingok) also set the flag marking a file as configuration, while %missingok does not? If so, when is that useful?

@pmatilai
Copy link
Member

pmatilai commented Jan 8, 2024

There's just one flag for it all (RPMFILE_MISSINGOK) so %config(missingok) equals %config %missingok. The standalone %missingok was only added in 2016 (8efe51e) so relatively late.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants