#!/bin/bash
# $Id$
# Generate the "official" Snort.org RPMs.

# The following will build 3 binary and 1 source RPM as follows:
#	snort-x.x.x-x.i386.rpm
#	snort-openappid-x.x.x-x.i386.rpm
#	snort-x.x.x-x.src.rpm
#

rpmbuild -bb --target i386 snort.spec 
rpmbuild -bb --target i386 --with openappid snort.spec 
rpmbuild -bs --target i386 snort.spec
