Menu

#126 RPM Build Broken 1.1.9

MySQLdb-1.1
closed
MySQLdb (285)
5
2012-09-19
2005-01-27
No

The RPM build appears broken in version 1.1.9.

python setup.py bdist_rpm

To get it to work, I did:

1) touch CHANGELOG
2) added "include CHANGELOG" to MANIFEST.in

The RPM built just fine after that.

Discussion

  • Andy Dustman

    Andy Dustman - 2005-01-27

    Logged In: YES
    user_id=71372

    No...

    Try changing "CHANGELOG" to "ChangeLog" in MANIFEST.in and
    see if that fixes it.

     
  • Michael Klatt

    Michael Klatt - 2005-01-27

    Logged In: YES
    user_id=1127829

    Sorry, It's already there.

    I did, however, discover that changing "CHANGELOG" to
    "ChangeLog" in setup.cfg fixes it.

     
  • Andy Dustman

    Andy Dustman - 2005-01-27

    Logged In: YES
    user_id=71372

    Try the CVS version. I've aded some additional HTML
    documentation, and since I don't have RPM any more, I can't
    test it to see if specifying directories really works, and
    the documentation I can find on the web is a little spotty.

     
  • Michael Klatt

    Michael Klatt - 2005-01-27

    Logged In: YES
    user_id=1127829

    The RPM build worked just fine, but only after a few changes
    to the CVS export. I used the following commands to checkout
    the repository:

    cvs
    -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/mysql-python \ login

    cvs -z3
    -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/mysql-python \ co -P MySQLdb

    Then I needed to copy the contents of the /doc directory
    from the 1.1.9 distribution and create the ChangeLog file.
    You probably populate the doc directory and ChangeLog file
    when you package a distribution tar.gz file. As long as
    these files appear in the distribution, the RPM build will
    work just fine.

    Thanks!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.