Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d644ca2

Browse files
committed
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.
1 parent af64aed commit d644ca2

1 file changed

Lines changed: 14 additions & 30 deletions

File tree

Lib/distutils/command/bdist_rpm.py

Lines changed: 14 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -48,52 +48,36 @@ class bdist_rpm (Command):
4848
# to "bdist_rpm". The idea is that packagers would put this
4949
# info in setup.cfg, although they are of course free to
5050
# supply it on the command line.
51-
('distribution-name', None,
51+
('distribution-name=', None,
5252
"name of the (Linux) distribution to which this "
5353
"RPM applies (*not* the name of the module distribution!)"),
54-
('group', None,
54+
('group=', None,
5555
"package classification [default: \"Development/Libraries\"]"),
56-
('release', None,
56+
('release=', None,
5757
"RPM release number"),
58-
('serial', None,
58+
('serial=', None,
5959
"RPM serial number"),
60-
('vendor', None,
60+
('vendor=', None,
6161
"RPM \"vendor\" (eg. \"Joe Blow <[email protected]>\") "
6262
"[default: maintainer or author from setup script]"),
63-
('packager', None,
63+
('packager=', None,
6464
"RPM packager (eg. \"Jane Doe <[email protected]>\")"
6565
"[default: vendor]"),
66-
('doc-files', None,
66+
('doc-files=', None,
6767
"list of documentation files (space or comma-separated)"),
68-
('changelog', None,
68+
('changelog=', None,
6969
"path to RPM changelog"),
70-
('icon', None,
70+
('icon=', None,
7171
"name of icon file"),
72-
('prep-script', None,
73-
"pre-build script (Bourne shell code)"),
74-
('build-script', None,
75-
"build script (Bourne shell code)"),
76-
('install-script', None,
77-
"installation script (Bourne shell code)"),
78-
('clean-script', None,
79-
"clean script (Bourne shell code)"),
80-
('pre-install', None,
81-
"pre-install script (Bourne shell code)"),
82-
('post-install', None,
83-
"post-install script (Bourne shell code)"),
84-
('pre-uninstall', None,
85-
"pre-uninstall script (Bourne shell code)"),
86-
('post-uninstall', None,
87-
"post-uninstall script (Bourne shell code)"),
88-
('provides', None,
72+
('provides=', None,
8973
"capabilities provided by this package"),
90-
('requires', None,
74+
('requires=', None,
9175
"capabilities required by this package"),
92-
('conflicts', None,
76+
('conflicts=', None,
9377
"capabilities which conflict with this package"),
94-
('build-requires', None,
78+
('build-requires=', None,
9579
"capabilities required to build this package"),
96-
('obsoletes', None,
80+
('obsoletes=', None,
9781
"capabilities made obsolete by this package"),
9882

9983
# Actions to take when building RPM

0 commit comments

Comments
 (0)