Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#126 RPM Build Broken 1.1.9

MySQLdb-1.1
closed
Andy Dustman
MySQLdb (285)
5
2012-09-19
2005-01-27
Michael Klatt
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!