diff options
author | Michael Adam <obnox@samba.org> | 2008-06-17 12:44:07 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-08-13 11:54:05 +0200 |
commit | d5d350effc092b2ac72bfe600ec6406b7a4262d6 (patch) | |
tree | 2740e8ffed8de4131bbccb1bc2810192685b3f7c /packaging/RHEL-CTDB | |
parent | 59593bfeebdc39f430c313aadabdaa5359337fb7 (diff) | |
download | samba-d5d350effc092b2ac72bfe600ec6406b7a4262d6.tar.gz samba-d5d350effc092b2ac72bfe600ec6406b7a4262d6.tar.bz2 samba-d5d350effc092b2ac72bfe600ec6406b7a4262d6.zip |
packaging(RHEL-CTDB): update the build instructions in the README.
Michael
(This used to be commit f7706c6437d6500a477cb704cb916f16fdfa1395)
Diffstat (limited to 'packaging/RHEL-CTDB')
-rw-r--r-- | packaging/RHEL-CTDB/README | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/packaging/RHEL-CTDB/README b/packaging/RHEL-CTDB/README index 2fff78f015..f7ce381a92 100644 --- a/packaging/RHEL-CTDB/README +++ b/packaging/RHEL-CTDB/README @@ -1,3 +1,21 @@ -In order to keep the docs out of the bzr tree, first get a release -tarball of samba, then invoke makerpms.sh with the DOCS_TARBALL variable -pointing to the docs.tar.bz2 from a Samba release. +The rpms should be built not directly from the spec file (although +it is possible) but more conveniently using the makerpms.sh script: +It takes care of making a source tarball and building the rpms for +x86_64 and i386, the latter also producing the winbind-32bit +compatibility packages for x86_64. + +The makerpms.sh script must be invoked from out of a git checkout +(since git archive is used to produce the tarball for rpmbuild). + +To eliminate the need of building the docs from the sources +(which is time consuming and has vast build dependencies), +you need a samba release docs tarball called docs.tar.bz2 and point +the DOCS_TARBALL environment variable to it before calling makerpms.sh. +Alternatively, if the DOCS_TARBALL variable is not set, but if a +docs.tar.bz2 exists inside the rpm SOURCES directory +(/usr/src/redhat/SORUCES/ by default), that will be used. + +To produce an appropriate docs tarball, you can for instance pack the +docs dir from a samba release tarball using the command +"tar cjf docs.tar.bz2 docs". +Note: The docs tarball needs the docs/ prefix. |