Opened 18 years ago

Closed 18 years ago

#2436 closed enhancement (fixed)

packaging of doc-files into RPM

Reported by: dummy@… 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)

setup.cfg (47 bytes ) - added by dummy@… 18 years ago.
setup.cfg with [bdist_rpm] section

Download all attachments as: .zip

Change History (6)

by dummy@…, 18 years ago

Attachment: setup.cfg added

setup.cfg with [bdist_rpm] section

comment:1 by Adrian Holovaty, 18 years ago

What does the release=1 do?

comment:2 by dummy@…, 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.

comment:3 by dummy@…, 18 years ago

You can leave 'release=1' away. This is the default value.

comment:4 by anonymous, 18 years ago

Are there offical RPM's for Django?

comment:5 by Adrian Holovaty, 18 years ago

Resolution: fixed
Status: newclosed

Fixed in [3693].

Note: See TracTickets for help on using tickets.
Back to Top