Skip to content

Commit

Permalink
Try to make the Docker-based RPM building a little less noisy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Castaglia committed Jan 29, 2017
1 parent 0f00a5e commit b07b603
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions contrib/travis/docker-rpmbuild.sh
@@ -1,7 +1,5 @@
#!/bin/bash

set -x

VERSION=${PACKAGE_VERSION:-1.3.6rc5}

# Make sure that the necessary packages/tools are installed
Expand All @@ -15,11 +13,11 @@ yum install -y openldap-devel libmemcached-devel mysql-devel pcre-devel postgres

mkdir git
cd git
git clone --depth 10 https://github.com/proftpd/proftpd.git proftpd-${VERSION}
git clone -q --depth 10 https://github.com/proftpd/proftpd.git proftpd-${VERSION}
cd proftpd-${VERSION}/
./configure
rm -fr .git/
make dist
cd ..
tar zcvf proftpd-${VERSION}.tar.gz proftpd-${VERSION}
tar zcf proftpd-${VERSION}.tar.gz proftpd-${VERSION}
rpmbuild -ta proftpd-${VERSION}.tar.gz --with everything

0 comments on commit b07b603

Please sign in to comment.