Skip to content

BuildRequires might get python_version-specific deps wrong #271

@gordonmessmer

Description

@gordonmessmer

pyp2rpm generates a fedora spec for itself that includes "packaging < 21" as one of its buildrequirements, but that should only be true when python_version < 3.5.

$ pyp2rpm pyp2rpm
# Created by pyp2rpm-3.3.7
...
BuildRequires:  python3dist(packaging) < 21

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions