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.htmlpull/3169/head
parent
6640580b04
commit
85256a2b87
|
@ -289,15 +289,15 @@ if [ -z "$NIGHTLY_BUILD" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $ARCH == "i386" ]; then
|
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
|
debian_package=influxdb_${VERSION}_i686.deb
|
||||||
deb_args="-a i686"
|
deb_args="-a i686"
|
||||||
rpm_args="setarch i686"
|
rpm_args="setarch i686"
|
||||||
elif [ $ARCH == "arm" ]; then
|
elif [ $ARCH == "arm" ]; then
|
||||||
rpm_package=influxdb-${VERSION}.armel.rpm
|
rpm_package=influxdb-${VERSION}-1.armel.rpm
|
||||||
debian_package=influxdb_${VERSION}_armel.deb
|
debian_package=influxdb_${VERSION}_armel.deb
|
||||||
else
|
else
|
||||||
rpm_package=influxdb-${VERSION}.x86_64.rpm
|
rpm_package=influxdb-${VERSION}-1.x86_64.rpm
|
||||||
debian_package=influxdb_${VERSION}_amd64.deb
|
debian_package=influxdb_${VERSION}_amd64.deb
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue