Replies: 2 comments 2 replies
-
The main package preamble has to come first, the rest of the spec parser is built on top of that assumption. |
Beta Was this translation helpful? Give feedback.
1 reply
-
So is the idea to be able to mimic the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Could there be added support for bare
%package
, without any argument or option? Several reasons I can think of.%description
/%files
without its%package
counterpart is asymmetric%package
somewhere in the .spec file could allow to use the original preamble (if present) just in SRPM context.%package
would allow to place the main package declaration freely in .spec file.The third point is actually my original motivation related to #2892. I believe that if I replaced the
License:
tags by some macro, I could likely accumulate the licenses and use them in the%package
which would be listed as last. This in turn would likely allowed me to conditionalize the sub-package existence.IOW the most naive (and incomplete) example could look like this:
Beta Was this translation helpful? Give feedback.
All reactions