summaryrefslogtreecommitdiff
path: root/tools/rpm
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2014-12-04 22:00:55 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2014-12-05 21:34:20 +0100
commit79da2baf9ed7fb7a0fd7af927fc20868f385d020 (patch)
tree9252c97d542903aecc9b89b80b4c3ab38bf61766 /tools/rpm
parentdca1ee4b1102013c71c36603b304c6819d8140fc (diff)
downloadandroid-node-v8-79da2baf9ed7fb7a0fd7af927fc20868f385d020.tar.gz
android-node-v8-79da2baf9ed7fb7a0fd7af927fc20868f385d020.tar.bz2
android-node-v8-79da2baf9ed7fb7a0fd7af927fc20868f385d020.zip
build: update rpmbuild .spec file
Rename the package to iojs. No Conflicts: header is necessary because the package was already marked as conflicting with the Fedora nodejs package. PR-URL: https://github.com/iojs/io.js/pull/71 Reviewed-By: Rod Vagg <rod@vagg.org>
Diffstat (limited to 'tools/rpm')
-rw-r--r--tools/rpm/node.spec23
1 files changed, 13 insertions, 10 deletions
diff --git a/tools/rpm/node.spec b/tools/rpm/node.spec
index 69369e31c7..ae8e85b342 100644
--- a/tools/rpm/node.spec
+++ b/tools/rpm/node.spec
@@ -15,14 +15,14 @@
# This is updated by rpmbuild.sh.
%define _version 0.10.12
-Name: node
+Name: iojs
Version: %{_version}
Release: 1
-Summary: Node.js is a platform for building fast, scalable network applications.
+Summary: io.js is a platform for building fast, scalable network applications.
Group: Development/Languages
License: MIT
-URL: http://nodejs.org/
-Source0: http://nodejs.org/dist/v%{_version}/node-v%{_version}.tar.gz
+URL: http://iojs.org/
+Source0: http://iojs.org/dist/v%{_version}/iojs-v%{_version}.tar.gz
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: glibc-devel
@@ -37,10 +37,10 @@ Conflicts: nodejs
%description
-Node.js is a platform built on Chrome's JavaScript runtime for easily
+io.js is a platform built on Chrome's JavaScript runtime for easily
building fast, scalable network applications.
-Node.js uses an event-driven, non-blocking I/O model that makes it
+io.js uses an event-driven, non-blocking I/O model that makes it
lightweight and efficient, perfect for data-intensive real-time
applications that run across distributed devices.
@@ -71,10 +71,10 @@ make %{?_smp_mflags}
# Use mildly hard-coded paths in the install and files targets for now.
-# _libdir is /usr/lib64 on some systems but the node.js installer always
-# installs to /usr/lib. I have commits sitting in a branch that add --libdir
-# and --mandir configure switches to the node.js configure script but it's
-# debatable if it's worth the extra complexity.
+# _libdir is /usr/lib64 on some systems but the installer always installs
+# to /usr/lib. I have commits sitting in a branch that add --libdir and
+# --mandir configure switches to the configure script but it's debatable
+# if it's worth the extra complexity.
%install
export DONT_STRIP=1 # Don't strip debug symbols for now.
make install DESTDIR=%{buildroot}
@@ -100,5 +100,8 @@ done
%changelog
+* Thu Dec 4 2014 Ben Noordhuis <info@bnoordhuis.nl>
+- Rename to iojs.
+
* Fri Jul 5 2013 Ben Noordhuis <info@bnoordhuis.nl>
- Initial release.