-
Notifications
You must be signed in to change notification settings - Fork 367
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
Please document expressions for depencencies #3359
Comments
I suggest looking at the top-level manual for a wider perspective of what's documented. You'll find multiple articles on dependencies there, including one on boolean dependencies: https://rpm-software-management.github.io/rpm/manual/ The way our manual is constructed leaves a lot to be desired for sure, for proper organization it'd call for something other than bunch of files in markdown really. Besides historical reasons, there's a reason why dependencies are described outside spec syntax: these exist in various forms outside the spec, so documenting them as spec syntax would be overly limiting. |
Then it should be interlinked. I would expect that a "Spec file format" document either explain everything or link accordingly. |
I don't disagree, just pointing out that you'll be missing a lot of documentation if you only look at the spec syntax document currently. |
Have you looked at https://rpm-software-management.github.io/rpm/manual/boolean_dependencies.html? |
The Spec file format doesn't describe the expressions implemented e.g. for
Requires
. There are several operators likeand
,or
,if
,unless
,else
,with
andwithout
.Example:
The text was updated successfully, but these errors were encountered: