diff --git a/tools/rpm/node.spec b/tools/rpm/iojs.spec similarity index 100% rename from tools/rpm/node.spec rename to tools/rpm/iojs.spec diff --git a/tools/rpm/rpmbuild.sh b/tools/rpm/rpmbuild.sh index 6f2d0d123b..3f3643b8b7 100755 --- a/tools/rpm/rpmbuild.sh +++ b/tools/rpm/rpmbuild.sh @@ -38,7 +38,7 @@ fi set -x sed -re "s/%define _version .+/%define _version ${VERSION}/" \ - "$TOOLSDIR/node.spec" > $RPMBUILD_PATH/SPECS/node.spec -tar --exclude-vcs --transform="s|^|node-${VERSION}/|" \ - -czf $RPMBUILD_PATH/SOURCES/node-v${VERSION}.tar.gz . -rpmbuild $* -ba $RPMBUILD_PATH/SPECS/node.spec + "$TOOLSDIR/iojs.spec" > $RPMBUILD_PATH/SPECS/iojs.spec +tar --exclude-vcs --transform="s|^|iojs-${VERSION}/|" \ + -czf $RPMBUILD_PATH/SOURCES/iojs-v${VERSION}.tar.gz . +rpmbuild $* -ba $RPMBUILD_PATH/SPECS/iojs.spec