[Patches] [ python-Patches-1035576 ] Add New RPM-friendly record
option to setup.py
SourceForge.net
noreply at sourceforge.net
Mon Sep 27 18:33:34 CEST 2004
Patches item #1035576, was opened at 2004-09-28 00:33
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1035576&group_id=5470
Category: Distutils and setup.py
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeff Pitman (bruthasj)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add New RPM-friendly record option to setup.py
Initial Comment:
One major weakness of the current usage of
INSTALLED_FILES in bdist_rpm leaves directories
unlisted thereby causing an uninstall of a package to
leave these behind. This patch separates out into
another option --record-rpm and function that generates
a list friendly for RPM consumption.
It currently handles data_dirs and install_lib (everything
under site-packages). In addition, languages found
under the common LC_MESSAGES sub-directory is also
automatically tagged with %lang(de) attribute.
Documentation does not need to be handled since RPM
already sets this up if the packager uses %doc.
I've run a couple of tests with this patch showing good
results. Before taking the concept further, I submit it
here for your review.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1035576&group_id=5470
More information about the Patches
mailing list