Skip to content
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

RPM build doc_files needs files separated into separate lines #75107

Closed
warthog9 mannequin opened this issue Jul 13, 2017 · 3 comments
Closed

RPM build doc_files needs files separated into separate lines #75107

warthog9 mannequin opened this issue Jul 13, 2017 · 3 comments
Labels
3.7 (EOL) end of life type-bug An unexpected behavior, bug, or error

Comments

@warthog9
Copy link
Mannequin

warthog9 mannequin commented Jul 13, 2017

BPO 30924
Nosy @ncoghlan, @kushaldas, @warthog9, @shihai1991, @nightlark
PRs
  • [BPO-30924] [BPO-30925] doc-files separate line and additional files patches #591
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-08-22.02:40:47.343>
    created_at = <Date 2017-07-13.17:50:00.299>
    labels = ['type-bug', '3.7']
    title = 'RPM build doc_files needs files separated into separate lines'
    updated_at = <Date 2021-08-22.02:40:47.328>
    user = 'https://github.com/warthog9'

    bugs.python.org fields:

    activity = <Date 2021-08-22.02:40:47.328>
    actor = 'shihai1991'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-08-22.02:40:47.343>
    closer = 'shihai1991'
    components = []
    creation = <Date 2017-07-13.17:50:00.299>
    creator = 'warthog9'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 30924
    keywords = []
    message_count = 3.0
    messages = ['298301', '399810', '400048']
    nosy_count = 5.0
    nosy_names = ['ncoghlan', 'kushal.das', 'warthog9', 'shihai1991', 'rmast']
    pr_nums = ['591']
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue30924'
    versions = ['Python 2.7', 'Python 3.7']

    @warthog9
    Copy link
    Mannequin Author

    warthog9 mannequin commented Jul 13, 2017

    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.

    @warthog9 warthog9 mannequin added 3.7 (EOL) end of life type-bug An unexpected behavior, bug, or error labels Jul 13, 2017
    @nightlark
    Copy link
    Mannequin

    nightlark mannequin commented Aug 18, 2021

    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.

    @shihai1991
    Copy link
    Member

    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:)

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant