Skip to content

Commit 79da2ba

Browse files
committed
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: nodejs#71 Reviewed-By: Rod Vagg <rod@vagg.org>
1 parent dca1ee4 commit 79da2ba

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

‎tools/rpm/node.spec‎

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
# This is updated by rpmbuild.sh.
1616
%define _version 0.10.12
1717

18-
Name: node
18+
Name: iojs
1919
Version: %{_version}
2020
Release: 1
21-
Summary: Node.js is a platform for building fast, scalable network applications.
21+
Summary: io.js is a platform for building fast, scalable network applications.
2222
Group: Development/Languages
2323
License: MIT
24-
URL: http://nodejs.org/
25-
Source0: http://nodejs.org/dist/v%{_version}/node-v%{_version}.tar.gz
24+
URL: http://iojs.org/
25+
Source0: http://iojs.org/dist/v%{_version}/iojs-v%{_version}.tar.gz
2626
BuildRequires: gcc
2727
BuildRequires: gcc-c++
2828
BuildRequires: glibc-devel
@@ -37,10 +37,10 @@ Conflicts: nodejs
3737

3838

3939
%description
40-
Node.js is a platform built on Chrome's JavaScript runtime for easily
40+
io.js is a platform built on Chrome's JavaScript runtime for easily
4141
building fast, scalable network applications.
4242

43-
Node.js uses an event-driven, non-blocking I/O model that makes it
43+
io.js uses an event-driven, non-blocking I/O model that makes it
4444
lightweight and efficient, perfect for data-intensive real-time
4545
applications that run across distributed devices.
4646

@@ -71,10 +71,10 @@ make %{?_smp_mflags}
7171

7272

7373
# Use mildly hard-coded paths in the install and files targets for now.
74-
# _libdir is /usr/lib64 on some systems but the node.js installer always
75-
# installs to /usr/lib. I have commits sitting in a branch that add --libdir
76-
# and --mandir configure switches to the node.js configure script but it's
77-
# debatable if it's worth the extra complexity.
74+
# _libdir is /usr/lib64 on some systems but the installer always installs
75+
# to /usr/lib. I have commits sitting in a branch that add --libdir and
76+
# --mandir configure switches to the configure script but it's debatable
77+
# if it's worth the extra complexity.
7878
%install
7979
export DONT_STRIP=1 # Don't strip debug symbols for now.
8080
make install DESTDIR=%{buildroot}
@@ -100,5 +100,8 @@ done
100100

101101

102102
%changelog
103+
* Thu Dec 4 2014 Ben Noordhuis <info@bnoordhuis.nl>
104+
- Rename to iojs.
105+
103106
* Fri Jul 5 2013 Ben Noordhuis <info@bnoordhuis.nl>
104107
- Initial release.

0 commit comments

Comments
 (0)