1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/packaging/RHEL-CTDB
Michael Adam dfff610b46 packaging(RHEL-CTDB): don't show failure messages in check for ccache
by fixing the order of "> /dev/null 2>&1"

Michael
(cherry picked from commit 0e9d5638a7c375b3b18f19f83f97924ab45ad382)
(cherry picked from commit 6e51f250c5)
2008-12-11 17:53:47 +01:00
..
setup Do not call testparm in /etc/init.d/smb 2008-08-13 11:54:02 +02:00
configure.rpm packaging(RHEL-CTDB): explicitly build the gpfs module 2008-12-10 23:28:55 +01:00
makerpms.sh packaging(RHEL-CTDB): fix typo in makerpms.sh 2008-12-11 17:53:45 +01:00
makespec.sh packaging(RHEL-CTDB): refactor creation of spec file from template out 2008-12-11 17:53:44 +01:00
README packaging(RHEL-CTDB): update the build instructions in the README. 2008-08-13 11:54:05 +02:00
samba.spec.tmpl packaging(RHEL-CTDB): don't show failure messages in check for ccache 2008-12-11 17:53:47 +01:00

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.