Skip to content

Commit 993fadb

Browse files
committed
build: rename rpmbuild .spec file
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: #71 Reviewed-By: Rod Vagg <[email protected]>
1 parent 79da2ba commit 993fadb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
File renamed without changes.

tools/rpm/rpmbuild.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ fi
3838
set -x
3939

4040
sed -re "s/%define _version .+/%define _version ${VERSION}/" \
41-
"$TOOLSDIR/node.spec" > $RPMBUILD_PATH/SPECS/node.spec
42-
tar --exclude-vcs --transform="s|^|node-${VERSION}/|" \
43-
-czf $RPMBUILD_PATH/SOURCES/node-v${VERSION}.tar.gz .
44-
rpmbuild $* -ba $RPMBUILD_PATH/SPECS/node.spec
41+
"$TOOLSDIR/iojs.spec" > $RPMBUILD_PATH/SPECS/iojs.spec
42+
tar --exclude-vcs --transform="s|^|iojs-${VERSION}/|" \
43+
-czf $RPMBUILD_PATH/SOURCES/iojs-v${VERSION}.tar.gz .
44+
rpmbuild $* -ba $RPMBUILD_PATH/SPECS/iojs.spec

0 commit comments

Comments
 (0)