#!/bin/sh -

# Rolling Build control file. The following comments are parsed
# and understood by the rolling build process when it pulls this
# module out of CVS.
#
# ##DependsOn:
# RequiresPlatform: redhat-6.0

set -e
set -v

# Build the RPM.

perl Makefile.PL
make
make test

rm -f Net-FTPServer-*.tar.gz
make dist
rpm -ta --clean Net-FTPServer-*.tar.gz
