History log of /external/python/cpython2/Lib/distutils/command/bdist_rpm.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
00ee494603870aa77f43440cad2b5f709944843b 12-Mar-2014 Éric Araujo <merwok@netwok.org> Fix missing import in bdist_rpm (#18045)
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
d673b62bac837d53ae27ba53a0580dfae44f63fb 26-Feb-2012 Éric Araujo <merwok@netwok.org> Stop ignoring RPMs in distutils' upload command (#2945).

Bug reported by Hartmut Goebel and patch contributed by Carl Robben.
Untested backport of the fix committed and tested for 3.2.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
d1feff70a3c08f91066b99a74ee1ca8f65bdfec1 06-Nov-2010 Éric Araujo <merwok@netwok.org> Merged revisions 86223-86224,86226,86234 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r86223 | eric.araujo | 2010-11-06 00:51:56 +0100 (sam., 06 nov. 2010) | 2 lines

Always close files in distutils code and tests (#10252).
........
r86224 | eric.araujo | 2010-11-06 00:58:34 +0100 (sam., 06 nov. 2010) | 2 lines

Add missing entry for r86223.
........
r86226 | eric.araujo | 2010-11-06 00:59:32 +0100 (sam., 06 nov. 2010) | 2 lines

Of course, I forgot one file in r86223.
........
r86234 | eric.araujo | 2010-11-06 03:10:32 +0100 (sam., 06 nov. 2010) | 2 lines

Also close file descriptors from os.popen and subprocess.Popen
........
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
2b66da7d15e47f9ca0d08d4f18fc63c3ee6a0d51 21-Dec-2009 Tarek Ziadé <ziade.tarek@gmail.com> massive import cleaning in Distutils
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
ce45a967c2d82a6b3112c5621993f5fec1dd5ea1 02-Mar-2009 Tarek Ziadé <ziade.tarek@gmail.com> removing the force-optimized option as discussed in #1533164
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
7334735ee17951e4ee5555e1183ae4f269fe04af 28-Feb-2009 Tarek Ziadé <ziade.tarek@gmail.com> Issues #1533164 and #5378: Added quiet and force-optimize options to Distutils bdist_rpm command
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
9f369e91632a9249074049719e31ccb13d8ae039 25-Jan-2009 Tarek Ziadé <ziade.tarek@gmail.com> Issue #5052: removed backward compatibility information (out of date)
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
c5f05e45cffa16f45f1332cec531c045893f928f 23-Feb-2008 Christian Heimes <christian@cheimes.de> Patch #2167 from calvin: Remove unused imports
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
45cd4ff95d46f7a52e8717c80a47fbdece865775 12-Nov-2006 Martin v. Löwis <martin@v.loewis.de> Patch #1360200: Use unmangled_version RPM spec field to deal with
file name mangling.
Will backport to 2.5.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
5310e5078ad331631f109e8fa33b8534911f0ce0 04-Nov-2006 Martin v. Löwis <martin@v.loewis.de> - Patch #1060577: Extract list of RPM files from spec file in
bdist_rpm
Will backport to 2.5.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
4548239e2b171ea9fa175744f17a32a884ab514a 03-Jul-2006 Martin v. Löwis <martin@v.loewis.de> Bug #1267547: Put proper recursive setup.py call into the
spec file generated by bdist_rpm.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
fa7e6b46eff16e6f90eec385c9d6501ad9ca6352 15-Apr-2005 Anthony Baxter <anthonybaxter@gmail.com> typo fix, thanks Jeremy Sanders
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
700f36c7520bffef73d86088fa80b7a1c62c416a 28-Mar-2005 Tim Peters <tim.peters@gmail.com> Two lines in this file had unbalanced parentheses -- couldn't possibly
work (SyntaxErrors at compile time).

I slammed in what looked like the obvious fixes, but someone who
understands this file should check my work.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
c6699b7dc46d08ff08f4548ae80c98114b6be68b 24-Mar-2005 Fred Drake <fdrake@acm.org> minor cleanup
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
8efd90485c5d560571a71e72046d1b90ef8529a4 23-Mar-2005 Martin v. Löwis <martin@v.loewis.de> Make SRPMs pyversion 'any'.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
98da562600def4f3e2054ec52acff32f397aa096 23-Mar-2005 Martin v. Löwis <martin@v.loewis.de> Make dist_files a triple, with the Python target version included,
so that bdist_wininst can specify 'any'.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
55f1bb8bfa362569b6698a91a1cf421bdfcd13d7 21-Mar-2005 Martin v. Löwis <martin@v.loewis.de> Add the upload command. Make all dist commands register their
outputs with the distribution object.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
5a6601cfc63a7b4fe2caf05a0116022ab76b64e6 10-Nov-2004 Martin v. Löwis <martin@v.loewis.de> Update compatibility comments to 2.1, corresponding to PEP 291 1.13.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
6011a3c874507687e9871adbc5f9a555419bb7c6 17-Sep-2004 Sean Reifschneider <jafo@tummy.com> SF Patch 1022011: Add a command-line argument --no-autoreq, which sets the
"AutoReq: 0" to disable automatic dependency searching.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
57a6a41e54c132a317b80dd47df1598df3fb4cdf 17-Sep-2004 Sean Reifschneider <jafo@tummy.com> SF Patch 1022003: Change bdist_rpm _topdir to use
os.path.abspath(self.rpm_base) instead of os.getcwd() + '/' + self.rpm_base
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
0e9980f75a203ee1b2ac28f76a76239446b271d6 12-Sep-2004 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
23c48a12d9a6f80e948a7f00fa01f9e6407b557a 10-Sep-2004 Martin v. Löwis <martin@v.loewis.de> Patch #808120: Add --force-arch=ARCH to bdist_rpm.py.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
641d64812cdb52c7e3bbc17644e403d030baad30 10-Sep-2004 Martin v. Löwis <martin@v.loewis.de> Patch #808115: Add script support to bdist_rpm.py.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
cae9e673d601a815c06d2755371cfcf89d314239 25-Aug-2004 Martin v. Löwis <martin@v.loewis.de> Patch #970015: Replace - by _ in version and release.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
cf525241bb14c29f747e5fa3045a57bc80a74557 25-Aug-2004 Martin v. Löwis <martin@v.loewis.de> Patch #970019: Include version and release in the BuildRoot.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
c982bbde1c5012202187b8e398fd631b6cec214b 11-Jun-2004 Anthony Baxter <anthonybaxter@gmail.com> Bug 957381: rpmbuild builds a -debuginfo rpm on recent Redhat and Fedora releases.
Ignore it, rather than breaking.

Will backport.

(and r1.1000 for Misc/NEWS!)
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
d448f66317130555cfc157683c743b3d004374c4 19-Nov-2002 Andrew M. Kuchling <amk@amk.ca> Add comment to Distutil files about requiring 1.5.2 compatibility, as
suggested by PEP 291.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
a6483d2e9a9d9a69e9823217bf6b6334bb0f0066 14-Nov-2002 Andrew M. Kuchling <amk@amk.ca> Remove 'created by' lines; people can use CVS for this, and the information is often out of date
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
706867c20c507c60cf26a20b25c10c3e4b7c3aa4 08-Nov-2002 Andrew M. Kuchling <amk@amk.ca> Fix comment typo
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
fbceb01ef0cc7cf5386f0e2c2d75b1b09dd291f9 06-Nov-2002 Gustavo Niemeyer <gustavo@niemeyer.net> Fixed bug "[#466200] ability to specify a 'verify' script".

* Lib/distutils/command/bdist_rpm.py
(bdist_rpm.initialize_options): Included verify_script attribute.
(bdist_rpm.finalize_package_data): Ensure that verify_script is a filename.
(bdist_rpm._make_spec_file): Included verify_script in script_options
tuple.

* Misc/NEWS
Mention change.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
b6c316f134a3d78fc27e19345ba67608345f0416 04-Nov-2002 Andrew M. Kuchling <amk@amk.ca> [Bug #570655] Fix misleading option text
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
bb20bb6bdb01596fac70b86949d045a45d7519d8 07-Oct-2002 Martin v. Löwis <martin@v.loewis.de> Patch #619493: Prefer rpmbuild over rpm if available. Backported to 2.2.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
fcd7353863c024bb87aabe7c4639ca8df692ac85 11-Sep-2002 Jeremy Hylton <jeremy@alum.mit.edu> Use distutils.debug.DEBUG instead of distutils.core.DEBUG.

Note that distutils.core.DEBUG still works if client code uses it, but
the core code avoids circular references by using distutils.debug.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
e567114e472470554adda63ab39ca0850d51fd66 28-Jul-2002 Martin v. Löwis <martin@v.loewis.de> Patch #543498: Use License: field instead of Copyright:.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
cd8a1148e19116db109f27d26c02e1de536dc76e 04-Jun-2002 Jeremy Hylton <jeremy@alum.mit.edu> Make setup.py less chatty by default.

This is a conservative version of SF patch 504889. It uses the log
module instead of calling print in various places, and it ignores the
verbose argument passed to many functions and set as an attribute on
some objects. Instead, it uses the verbosity set on the logger via
the command line.

The log module is now preferred over announce() and warn() methods
that exist only for backwards compatibility.

XXX This checkin changes a lot of modules that have no test suite and
aren't exercised by the Python build process. It will need
substantial testing.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
5de82a855eba194ac15052ae3d850780f04c0dfc 22-Mar-2002 Andrew M. Kuchling <amk@amk.ca> [Bug #517451] bdist_rpm didn't list all of its Boolean options.
(Someone should check the other commands for this same error.)

Bugfix candidate.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
21d45356b8a22bb3091a97f50b919b57798675f5 06-Dec-2001 Fred Drake <fdrake@acm.org> Whitespace normalization.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
5079fe07fe990e6db9b7c3b2d8702cad06cf2be0 10-Aug-2001 Andrew M. Kuchling <amk@amk.ca> Fix typo caught by PyChecker
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
db988b1ed357690f67da827442c56d209bc0ecea 10-Aug-2001 Andrew M. Kuchling <amk@amk.ca> Use .get_license()
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
0152fbdc7f90b3dc6fed167ebda2392cbb47954b 21-May-2001 Andrew M. Kuchling <amk@amk.ca> Fix bug #418369: typo in bdist_rpm
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
cb1f4c4d33711a964dcd40b32a562e2acf745fc2 30-Sep-2000 Greg Ward <gward@python.net> Standardized whitespace around function calls.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
d644ca2120ea2e53cca869332ca98a4638949255 25-Sep-2000 Greg Ward <gward@python.net> Added a bunch of missing "=" signs in the option table.
Removed script options -- don't think they ever worked, weren't
very well thought through, etc.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
99b032eaf24e1887f6451eceea7f1e24ced05a0f 25-Sep-2000 Greg Ward <gward@python.net> Added 'boolean_options' list to support config file parsing.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
8099f0e5fc115d95d05098082d7afc77f22f98c6 16-Sep-2000 Greg Ward <gward@python.net> Renamed --clean to --no-keep-temp and --noclean to --keep-temp.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
d0e4b42ee241b29cc924b18f4c1efd29723c85cf 10-Sep-2000 Greg Ward <gward@python.net> Added --python and --fix-python options for better control over what
interpreter the .spec file refers to.
Cosmetic tweaks.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
8d5b5ec5139d91af7bf4650ce5760ca61f7bdbf4 07-Sep-2000 Greg Ward <gward@python.net> Typo fix.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
44a980dff9d9181979c6c587a081eb446cc6f6df 15-Aug-2000 Greg Ward <gward@python.net> Fixed the move-RPM-files hack so it knows about the '--binary-only' and
'--source-only' options.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
a12c195064f5fa51bf7c425a3b55aa103c3f5a7c 15-Aug-2000 Greg Ward <gward@python.net> Added support for the '--dist-dir' option, including a mildly nasty
hack to find the two created RPM files (source and binary) and
move them to the "dist dir" (default "dist").
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
ab3a0f36eded60acede255bb286688fcc17c5b01 05-Aug-2000 Greg Ward <gward@python.net> Fixed imports from '*util' modules to not just import everything from util.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
612eb9f58fe38f33484f36bcba97a4b3d8e090a9 27-Jul-2000 Greg Ward <gward@python.net> Fixed a grab-bag of typos spotted by Rob Hooft.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
d2412a35b13b18b5de8c522aeeee7cba6d740ae4 08-Jun-2000 Greg Ward <gward@python.net> Harry Henry Gebel: fix '_format_changelog()' so it doesn't bomb if
passed None.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
7ce6d074aa331774c9e7198747eb5665ee125881 04-Jun-2000 Greg Ward <gward@python.net> Fixed syntax error.
Half-fixed RPM 2 compatibility:added 'rpm_base' option, which must be set
(to eg. /usr/src/redhat on a stock Red Hat system) if rpm2_mode is on.
Still not quite working, though.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
a68c93ac89ba4c38d8ed71a334df78a26f873e5d 04-Jun-2000 Greg Ward <gward@python.net> Patch from Harry Henry Gebel:
Fills in question marks in help

Reads scripts in from files rather than strings

Adds RPM 2 compatibility mode (untested). Use of this mode requires that
--bdist-base be specified because bdist_rpm has no way of detecting where
RPM wants to find spec files and source files. An unmodified RedHat 5.0
system would require '--bdist-base=/usr/src/RedHat'. (You would also have
to be root.) If the rpmrc file has been modified to allow RPMs to be built
by normal users then --build-base would need to be changed accordingly.

Formats the changelog.

GPW: tweaked formatting, added some editorial comments.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
4227dc1b1531a4d1532c693ac0c255e8412b50a1 04-Jun-2000 Greg Ward <gward@python.net> Removed the 'ensure_*' methods -- they're just too handy too keep in one
command class, so they're now in the Command base class.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
c4c06af575409157f788425dee4fa2e6b2f647ad 03-Jun-2000 Greg Ward <gward@python.net> Patch from Harry Henry Gebel: fixes a bit of code that slipped by my
overhaul last night.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
efbd071016bdbd5874bc7c626f36021ce75a4841 02-Jun-2000 Greg Ward <gward@python.net> Only print debugging output if DEBUG true.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
673925842eef8faf8f3dc1c01b3e22288bcbf475 02-Jun-2000 Greg Ward <gward@python.net> Ditched the obsolete '_get_package_data()' method and its
'_check_*()' helpers.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
1259392b38402448a05460c77d242132e22fe695 02-Jun-2000 Greg Ward <gward@python.net> Fairly massive overhaul to support getting RPM inputs (extra meta-data,
prep/build/etc. scripts, doc files, dependency info) from a config file
rather than the dedicated "package_info" file. (The idea is that
developers will provide RPM-specific info in the "[bdist_rpm]" section of
setup.cfg, but of course it could also be supplied in the other config
files, on the command line, or in the setup script -- or any mix of the
above.)

Major changes:
* added a boatload of options to 'user_options' and
'initialize_options()': 'distribution_name', 'group', 'release', ...
* added 'finalize_package_data()', which takes the place of
'_get_package_data()' -- except it's called from 'finalize_options()',
not 'run()', so we have everything figured out before we actually run
the command
* added 'ensure_string()', 'ensure_string_list()', 'ensure_filename()';
these take the place of '_check_string()' and friends. (These actually
look like really useful type-checking methods that could come in handy
all over the Distutils; should consider moving them up to Command and
using them in other command classes' 'finalize_options()' method for
error-checking).
* various cleanup, commentary, and adaptation to the new way of
storing RPM info in '_make_spec_file()'
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
01a4694dce866bfa1162e6a918be6cfbe916559d 01-Jun-2000 Greg Ward <gward@python.net> More tweaking to make this command act like other Distutils commands:
* added "--bdist-base" option to parameterize where we build
the RPM (comes from "bdist" by default: "build/bdist.<plat>")
* simplified/cleaned up some code in 'run()' in the process of
removing (most) hard-coded directory names
* if "--spec-only", drop spec file in "dist" rather than "redhat"
(directory name still hard-coded, though)
* use 'reinitialize_command()' to fetch the "sdist" object to
tweak before running "sdist" command
* use 'self.copy_file()' method rather than 'copy_file()' function
* cosmetic tweaks to comments, error messages
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
69413da74993ff6728b72be4b4290fc705e9cbc1 01-Jun-2000 Greg Ward <gward@python.net> Regularize options a bit:
* help strings start with lowercase
* added affirmative version of '--no-clean' and '--no-rpm-opt-flags',
which are the default (thus the attributes that correspond to
the options are now 'clean' and 'use_rpm_opt_flags')
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
4fb29e55f8f53e60b36eae3fbe56e9666aacc9c5 27-May-2000 Greg Ward <gward@python.net> Some far-reaching naming changes:
* Command method 'find_peer()' -> 'get_finalized_command()'
* Command method 'run_peer()' -> 'run_command()'
Also deleted the 'get_command_option()' method from Command, and
fixed the one place where it was used (in "bdist_dumb").
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
fcd974efbb71ab7cb5a75639028508e0195939b8 25-May-2000 Greg Ward <gward@python.net> Normalized all the end-of-class lines.
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py
86ee81e34bcd223c94de2a65ed7b88f976989410 13-May-2000 Gregory P. Smith <greg@mad-scientist.com> Contribution from Harry Henry Gebel: the 'bdist_rpm' command.

(Completely uninspected and untested by me, this is just to
get the code into CVS!)
/external/python/cpython2/Lib/distutils/command/bdist_rpm.py