summaryrefslogtreecommitdiffstats
path: root/build-gluster-org/scripts/glusterfs-rpms.sh
blob: e1b6211b90a6233ea7a3fde5e16d0abea8183eaf (plain)
1
2
3
4
5
6
#!/bin/bash
./autogen.sh || exit 1
./configure --enable-fusermount || exit 1
cd extras/LinuxRPM
make prep srcrpm || exit 1
sudo mock -r {build_flag} --resultdir=${{WORKSPACE}}/RPMS/"%(dist)s"/"%(target_arch)s"/ --with=gnfs --rebuild glusterfs*src.rpm || exit 1