Opened 18 years ago
Closed 18 years ago
#2436 closed enhancement (fixed)
packaging of doc-files into RPM
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Hi,
I regulary build a RPM from the trunk via command 'python setup.py bdist_rpm'.
I always missed the doc-files in the RPM and have no a simple solution for this.
Add a setup.cfg with a [bdist_rpm] section and tell the build-system where the doc-files are.
Regards,
Dirk
Attachments (1)
Change History (6)
by , 18 years ago
comment:2 by , 18 years ago
RPM packages are named like <name>-<version>-<release>.<arch>.rpm
<name> and <version> are defined in setup.py
<release> is just a fix number - like a patch-level of the RPM
<arch> is noarch
You can replace 'release=1' by 'release=$Revision$' (see http://svnbook.red-bean.com/en/1.1/ch07s02.html#svn-ch-7-sect-2.3.4 ) if you like this, or set it fix to 1.
setup.cfg with [bdist_rpm] section