Add -1 back to RPM package names

This is to bring the variable back into line with what fpm will actually
do.

http://www.rpm.org/max-rpm/ch-rpm-file-format.html
pull/3169/head
Philip O'Toole 2015-06-27 02:33:11 -04:00
parent 6640580b04
commit 85256a2b87
1 changed files with 3 additions and 3 deletions

View File

@ -289,15 +289,15 @@ if [ -z "$NIGHTLY_BUILD" ]; then
fi
if [ $ARCH == "i386" ]; then
rpm_package=influxdb-${VERSION}.i686.rpm
rpm_package=influxdb-${VERSION}-1.i686.rpm # RPM packages use 1 for default package release.
debian_package=influxdb_${VERSION}_i686.deb
deb_args="-a i686"
rpm_args="setarch i686"
elif [ $ARCH == "arm" ]; then
rpm_package=influxdb-${VERSION}.armel.rpm
rpm_package=influxdb-${VERSION}-1.armel.rpm
debian_package=influxdb_${VERSION}_armel.deb
else
rpm_package=influxdb-${VERSION}.x86_64.rpm
rpm_package=influxdb-${VERSION}-1.x86_64.rpm
debian_package=influxdb_${VERSION}_amd64.deb
fi