This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: RPM build doc_files needs files separated into separate lines
Type: behavior Stage: resolved
Components: Versions: Python 3.7, Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: kushal.das, ncoghlan, rmast, shihai1991, warthog9
Priority: normal Keywords:

Created on 2017-07-13 17:50 by warthog9, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 591 closed warthog9, 2017-07-13 17:50
Messages (3)
msg298301 - (view) Author: John 'Warthog9' Hawley (warthog9) * Date: 2017-07-13 17:50
doc-files 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

Expectation is to break the files up into separate lines:

%doc
file1
file2
file3

which then works as expected with multiple files.
msg399810 - (view) Author: Ryan Mast (nightlark) (rmast) * Date: 2021-08-18 00:37
Should this be closed? It looks like the PR is only changing a file in distutils, and according to https://bugs.python.org/issue30925#msg386350 distutils is deprecated and only release blocking issues will be considered.
msg400048 - (view) Author: Hai Shi (shihai1991) * (Python triager) Date: 2021-08-22 02:40
> Should this be closed?
  Copy from PEP-632: In Python 3.10 and 3.11, distutils will be formally marked as deprecated. All known issues will be closed at this time.
  I close this bpo. If there have some block issues to discuss, we can reopen it again:)
History
Date User Action Args
2022-04-11 14:58:49adminsetgithub: 75107
2021-08-22 02:40:47shihai1991setstatus: open -> closed

nosy: + shihai1991
messages: + msg400048

resolution: out of date
stage: resolved
2021-08-18 00:37:40rmastsetnosy: + rmast
messages: + msg399810
2017-07-14 03:54:34ncoghlansetnosy: + ncoghlan, kushal.das
2017-07-13 17:50:23warthog9settype: behavior
2017-07-13 17:50:00warthog9create