From 0d8b45c8c5c4a26eb6bb3a61805e8135e5e3194e Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sat, 10 May 2008 01:23:10 +0200 Subject: packaging: rename RHEL4-CTDB --> RHEL-CTDB Michael (This used to be commit 711af98d2ce708421a413fe46a386ea9e19d2517) --- packaging/RHEL-CTDB/README | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 packaging/RHEL-CTDB/README (limited to 'packaging/RHEL-CTDB/README') diff --git a/packaging/RHEL-CTDB/README b/packaging/RHEL-CTDB/README new file mode 100644 index 0000000000..131682089e --- /dev/null +++ b/packaging/RHEL-CTDB/README @@ -0,0 +1,3 @@ +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_DIR variable +pointing to the docs dir of that samba tarball. -- cgit From 37ca4b7ceba0514cb0f64dff7a5d6591c359f9b0 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 6 Jun 2008 13:50:06 +0200 Subject: Fix README: DOCS_DIR is replaced by DOCS_TARBALL (This used to be commit 3d24c5b4602140470c40f002d206212e388ae59b) --- packaging/RHEL-CTDB/README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packaging/RHEL-CTDB/README') diff --git a/packaging/RHEL-CTDB/README b/packaging/RHEL-CTDB/README index 131682089e..2fff78f015 100644 --- a/packaging/RHEL-CTDB/README +++ b/packaging/RHEL-CTDB/README @@ -1,3 +1,3 @@ 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_DIR variable -pointing to the docs dir of that samba tarball. +tarball of samba, then invoke makerpms.sh with the DOCS_TARBALL variable +pointing to the docs.tar.bz2 from a Samba release. -- cgit From d5d350effc092b2ac72bfe600ec6406b7a4262d6 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 17 Jun 2008 12:44:07 +0200 Subject: packaging(RHEL-CTDB): update the build instructions in the README. Michael (This used to be commit f7706c6437d6500a477cb704cb916f16fdfa1395) --- packaging/RHEL-CTDB/README | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'packaging/RHEL-CTDB/README') 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. -- cgit