Replies: 3 comments
-
Following this logic, we should support sections for all dependency types. It'd look very strange to have one for BuildRequires but not for eg Requires. Which is not to say it's a bad idea at all, and instead something we're slowly moving towards anyhow. Note that %sourcelist and %patchlist are much older, they're in 4.15 already. |
Beta Was this translation helpful? Give feedback.
-
The difference to %sourcelist and %patchlist is that dependencies can have flags. So we'd need some syntax for that. |
Beta Was this translation helpful? Give feedback.
-
Also, while the list format is handy in other ways, it kills grep'ability. |
Beta Was this translation helpful? Give feedback.
-
With rpm 4.20, we get
%sourcelist
and%patchlist
to simplify the headers and make the spec file shorter and cleaner.It would be equally useful, for the same reasons, to be able to replace
with the shorter
The same goes for runtime dependencies (but IMO that's less important, given most runtime dependencies are detected automatically anyway and they don't need huge lists in the spec).
Beta Was this translation helpful? Give feedback.
All reactions