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

bdist_rpm target breaks with rpm 4.1 #37380

Closed
malcolmt mannequin opened this issue Oct 29, 2002 · 2 comments
Closed

bdist_rpm target breaks with rpm 4.1 #37380

malcolmt mannequin opened this issue Oct 29, 2002 · 2 comments
Labels
stdlib Python modules in the Lib dir

Comments

@malcolmt
Copy link
Mannequin

malcolmt mannequin commented Oct 29, 2002

BPO 630195
Nosy @akuchling
Files
  • build.diff: Patch to fix build problem
  • 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 2002-11-04.13:20:08.000>
    created_at = <Date 2002-10-29.00:30:55.000>
    labels = ['library']
    title = 'bdist_rpm target breaks with rpm 4.1'
    updated_at = <Date 2002-11-04.13:20:08.000>
    user = 'https://bugs.python.org/malcolmt'

    bugs.python.org fields:

    activity = <Date 2002-11-04.13:20:08.000>
    actor = 'akuchling'
    assignee = 'none'
    closed = True
    closed_date = None
    closer = None
    components = ['Distutils']
    creation = <Date 2002-10-29.00:30:55.000>
    creator = 'malcolmt'
    dependencies = []
    files = ['655']
    hgrepos = []
    issue_num = 630195
    keywords = []
    message_count = 2.0
    messages = ['12985', '12986']
    nosy_count = 2.0
    nosy_names = ['akuchling', 'malcolmt']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue630195'
    versions = ['Python 2.2']

    @malcolmt
    Copy link
    Mannequin Author

    malcolmt mannequin commented Oct 29, 2002

    In order to make the bdist_rpm target in distutils work
    with a broader range of rpm versions, it is necessary
    to use the 'rpmbuild' command, rather than 'rpm' to
    build rpms.

    Using 'rpm -ba ...' has been deprecated for a couple of
    years and is no longer part of rpm 4.1 (which is
    distributed by default with Red Hat 8.0 a.o.).

    The attached patch fixes this.

    @malcolmt malcolmt mannequin closed this as completed Oct 29, 2002
    @malcolmt malcolmt mannequin added the stdlib Python modules in the Lib dir label Oct 29, 2002
    @malcolmt malcolmt mannequin closed this as completed Oct 29, 2002
    @malcolmt malcolmt mannequin added the stdlib Python modules in the Lib dir label Oct 29, 2002
    @akuchling
    Copy link
    Member

    Logged In: YES
    user_id=11375

    Fixed in CVS by Sean Reifschneider; his patch is safer, using rpmbuild if present and falling back to rpm. Thanks!

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant