#! /bin/sh

version="1.0"
rev="2"
filename="evebox-release-${version}-${rev}.noarch.rpm"

fpm -s dir \
    -t rpm \
    -v ${version} \
    --iteration ${rev} \
    -a noarch \
    -n evebox-release \
    --config-files /etc/yum.repos.d/evebox.repo \
    evebox.repo=/etc/yum.repos.d/evebox.repo

cp $filename x86_64
mv $filename evebox-release.noarch.rpm

