Creating RPM fails on Python 2.2 Release 1 and RPM version 3.0.6

Devrim Erdem devrim at machsim.com
Tue Jan 21 07:43:17 EST 2003


Hello,

I have downloaded Python 2.2.2 and compiled. It works ok and I can run
my previously running scripts.

I have tried to build RPMS with the command : 

./python setup.py bdist_rp

however, I get the following error :

line 6: Tag takes single token only: Name: Python standard library

The complete log is as follows :
<log>

muh|devrim>25: ./python setup.py bdist_rpm
running bdist_rpm
writing 'build/bdist.linux-i686/rpm/SPECS/Python standard
library.spec'
running sdist
warning: sdist: missing required meta-data: url
warning: sdist: missing meta-data: either (author and author_email) or
(maintainer and maintainer_email) must be supplied
reading manifest file 'MANIFEST'
creating Python standard library-2.2
making hard links in Python standard library-2.2...
hard linking README -> Python standard library-2.2
hard linking setup.py -> Python standard library-2.2
warning: sdist: 'structmodule.c' not a regular file -- skipping
tar -cf dist/Python standard library-2.2.tar Python standard
library-2.2
gzip -f9 dist/Python standard library-2.2.tar
removing 'Python standard library-2.2' (and everything under it)
copying dist/Python standard library-2.2.tar.gz ->
build/bdist.linux-i686/rpm/SOURCES
building RPMs
rpm -ba --define _topdir
/home/devrim/Files/Python/Python-2.2.2/build/bdist.linux-i686/rpm
--clean build/bdist.linux-i686/rpm/SPECS/Python standard library.spec
line 6: Tag takes single token only: Name: Python standard library
error: command 'rpm' failed with exit status 1


</log>


Any hints are appreciated. Thanks.




More information about the Python-list mailing list