BUG: distutils 0.9 bdist_rpm - missing subdirectory

Using distutils 0.9 (downloaded 7/10/00 from python.org), on Redhat 6.1, I'm trying to build an RPM.
distutils fails to write /nexrad/6/code/rdss/spol/perp/build/bdist.linux2/rpm/RPMS/i386/Perp-0.5-1.i386.rpm
because the i386 subdirectory of RPMS /nexrad/6/code/rdss/spol/perp/build/bdist.linux2/rpm/RPMS/i386
does not exist.
If I manually create 'RPMS/i386', the binary RPM gets built fine.
Aside from this glitch - this is great progress, since I've never learned how to build RPMS before, and now distutils has done it for me. Very nice!
(Thanks, Harry Henry Gebel!)

On Tue, Jul 11, 2000 at 10:38:23AM -0600, Joe Van Andel wrote:
If I manually create 'RPMS/i386', the binary RPM gets built fine.
I believe that either (RPM) 3.03 or 3.04 started creating directories if they were not already there. There are a number of changes I want to make to bdist_rpm to handle this and some other situations, but I am working two jobs right now so I do not know when I will be able to get to it. We are interviewing a marketing guy this week, if he's as good as he says he is maybe soon I will be able to go back to just the business and will have some more time.
participants (2)
-
Harry Henry Gebel
-
Joe Van Andel