diff options
| author | Amitay Isaacs <amitay@gmail.com> | 2014-06-10 16:30:38 +1000 |
|---|---|---|
| committer | Michael Adam <obnox@samba.org> | 2014-06-20 23:38:10 +0200 |
| commit | a39a5f4c06e3749c745c87c7d735baf0b8598836 (patch) | |
| tree | 0be3a5c025a7760203f9bc8b1ee391be38870e97 /ctdb/wscript | |
| parent | 6e078c90a8660b555d6874ab5d5e60040f892ab7 (diff) | |
| download | samba-a39a5f4c06e3749c745c87c7d735baf0b8598836.tar.gz samba-a39a5f4c06e3749c745c87c7d735baf0b8598836.tar.xz samba-a39a5f4c06e3749c745c87c7d735baf0b8598836.zip | |
ctdb-build: Add target to build RPMs
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'ctdb/wscript')
| -rwxr-xr-x | ctdb/wscript | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ctdb/wscript b/ctdb/wscript index 4920f9e438..26730981a3 100755 --- a/ctdb/wscript +++ b/ctdb/wscript @@ -556,6 +556,15 @@ def dist(): samba_dist.dist() +def rpmonly(ctx): + cmd = 'rpmbuild -ta --clean --rmsource ctdb-%s.tar.gz' % VERSION + samba_utils.RUN_COMMAND(cmd) + +def rpm(ctx): + import Scripting + Scripting.commands.append('dist') + Scripting.commands.append('rpmonly') + def ctags(ctx): "build 'tags' file using ctags" import Utils |
