-
Notifications
You must be signed in to change notification settings - Fork 375
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
Document ways to declare sources and patches #3405
base: master
Are you sure you want to change the base?
Document ways to declare sources and patches #3405
Conversation
@@ -472,6 +481,18 @@ software). | |||
|
|||
### Sub-sections | |||
|
|||
#### `%sourcelist` | |||
|
|||
List of sources, one per row. Handled like unnumbered Source tags. For |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd use "line" instead of "row" here, just to be consistent with the rest of the file.
|
||
#### `%patchlist` | ||
|
||
List of patches, one per row. Handled like unnumbered Patch tags. For |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above.
@@ -170,17 +170,26 @@ Short (< 70 characters) summary of the package. | |||
|
|||
Used to declare source(s) used to build the package. All sources will | |||
will be packaged into source rpms. | |||
Arbitrary number of sources may be declared, for example: | |||
Arbitrary number of sources may be declared. A numbered source is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should keep the numbered syntax as the recommended, happy-path style here, and only mention the fact that unnumbered declarations are also possible in a separate paragraph below the examples.
I also don't like mixing the numbered and unnumbered styles in the examples. It makes the syntax look more complicated than it really is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same, because the unnumbered declarations are less intuitive, since the macros created to reference the sources are always numbered.
Also, @oturpe, sorry for the late response here! |
Fixes #3384
This was written from the perspective of reference manual reader, i.e. trying to document how all the things actual work together. Since various combinations, while possible, do not make much sense, some "X is not recommended" clauses are included. Please instruct if those are not in line with actual recommendations from the RPM team.