[Distutils] SOLVED: bdist_rpm and pre-release python packages / eggs (was: pre-release versioning problems with sdist, bdist_rpm, bdist_debian)

Manuel Amador (Rudd-O) rudd-o at rudd-o.com
Wed Mar 11 04:34:48 CET 2009


Hello, guys,

I have fixed distutils (and setuptools remains working) with the attached 
patch.  Now, RPMs will be built according to the Fedora Package Naming 
Guidelines:

http://fedoraproject.org/wiki/Packaging/NamingGuidelines#Non-
Numeric_Version_in_Release

which I understand to be the most useful reference in terms of naming pre-
release packages.  This should work correctly in at least:

- Fedora
- RHEL
- SUSE

I urge you patch your python 2.4s and 2.5s and 2.6s and push this update to 
distributions.  I have done that myself at my own repository.

Now we can enjoy one more reason to build RPMs (and eggs! ... according to my 
workbench at http://yum.rudd-o.com/SCRIPTS/ -- feel free to pick its brains) 
DIRECTLY from the cheese shop, especially if you're using pip.

Oh, I also have pip at my repo (cd ../RPMS/noarch in my workbench).

See attached patch.  I will log bugs where it corresponds too.
-- 

	Manuel Amador (Rudd-O) <rudd-o at rudd-o.com>
	Rudd-O.com - http://rudd-o.com/
	GPG key ID 0xC8D28B92 at http://wwwkeys.pgp.net/

Now playing, courtesy of Amarok: Aqua - Cartoon heroes
Windows 95 is not a virus.  Viruses actually do something.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20090310/5889ebad/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: distutils-bdist_rpm-prereleaseversion.patch
Type: text/x-patch
Size: 1596 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20090310/5889ebad/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20090310/5889ebad/attachment.pgp>


More information about the Distutils-SIG mailing list