Skip to content

Commit

Permalink
build: rename rpmbuild .spec file
Browse files Browse the repository at this point in the history
Rename the .spec file from node.spec to iojs.spec and update the build
script.  Done as a separate commit to not obscure the changes from the
previous commit.

PR-URL: nodejs#71
Reviewed-By: Rod Vagg <rod@vagg.org>
  • Loading branch information
bnoordhuis committed Dec 5, 2014
1 parent 79da2ba commit 993fadb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
File renamed without changes.
8 changes: 4 additions & 4 deletions tools/rpm/rpmbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 993fadb

Please sign in to comment.