-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
[BPO-30924] [BPO-30925] doc-files separate line and additional files patches #591
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
Conversation
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA). Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA. This is necessary for legal reasons before we can look at your contribution. Please follow these steps to help rectify the issue:
Thanks again to your contribution and we look forward to looking at it! |
…tation when using %doc section of the RPM spec, it expects multiple files to be listed each on their own line. Currently what gets passed in is: %doc file1 file2 file3 which throws: error: More than one file on a line: file1 error: More than one file on a line: file2 error: More than one file on a line: file3 This breaks the files up into seperate lines: %doc file1 file2 file3 which works as expected with multiple files Signed-off-by: John 'Warthog9' Hawley <jhawley@vmware.com> Signed-off-by: John 'Warthog9' Hawley <warthog9@eaglescrag.net>
This duplicates the existing functionality from doc-files, however it includes the files in the %files section as opposed to the %docs section of the RPM Signed-off-by: John 'Warthog9' Hawley <jhawley@vmware.com> Signed-off-by: John 'Warthog9' Hawley <warthog9@eaglescrag.net>
Few things are missing:
|
@kushaldas No activity for a long time, could someone close it? |
@warthog9 Please address the code review and leave a comment when this is ready for review again. If you are no longer interested in this pull request, feel free to close it. Thank you! |
Should this be closed, given distutils is being deprecated according to https://bugs.python.org/issue30925#msg386350? |
This PR is stale because it has been open for 30 days with no activity. |
Yes, let's close this, the related BPO issues have also been closed. But thank you for your contribution!
|
doc-files Breakup should break files up into multiple lines, as per RPM expectation
when using %doc section of the RPM spec, it expects multiple files
to be listed each on their own line. Currently what gets passed in
is:
%doc file1 file2 file3
which throws:
error: More than one file on a line: file1
error: More than one file on a line: file2
error: More than one file on a line: file3
This breaks the files up into seperate lines:
%doc
file1
file2
file3
which works as expected with multiple files
Signed-off-by: John 'Warthog9' Hawley jhawley@vmware.com
Signed-off-by: John 'Warthog9' Hawley warthog9@eaglescrag.net