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

# The following will build 2 binary and 2 source RPMs as follows:
#       snort-openappid-x.x.x-x.i386.rpm
#       snort-openappid-x.x.x-x.src.rpm
#	snort-x.x.x-x.i386.rpm
#       snort-x.x.x-x.src.rpm
#

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