mirror of
https://src.fedoraproject.org/rpms/nodejs18.git
synced 2024-11-24 17:44:23 +00:00
split off a -packaging subpackage with RPM macros, etc.
This way nodejs-packaging can be approved and imported without forcing a nodejs update at the same time.
This commit is contained in:
parent
62a5b1000e
commit
d46eff9f81
1 changed files with 18 additions and 3 deletions
21
nodejs.spec
21
nodejs.spec
|
@ -69,6 +69,7 @@ Summary: JavaScript runtime - development headers
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Requires: %{name} == %{version}-%{release}
|
Requires: %{name} == %{version}-%{release}
|
||||||
Requires: libuv-devel http-parser-devel openssl-devel c-ares-devel zlib-devel
|
Requires: libuv-devel http-parser-devel openssl-devel c-ares-devel zlib-devel
|
||||||
|
Requires: nodejs-packaging
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Development headers for the Node.js JavaScript runtime.
|
Development headers for the Node.js JavaScript runtime.
|
||||||
|
@ -80,6 +81,17 @@ Group: Documentation
|
||||||
%description docs
|
%description docs
|
||||||
The API documentation for the Node.js JavaScript runtime.
|
The API documentation for the Node.js JavaScript runtime.
|
||||||
|
|
||||||
|
%package packaging
|
||||||
|
Summary: RPM macros and utilities for Node.js packaging
|
||||||
|
Group: Development/Tools
|
||||||
|
BuildArch: noarch
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description packaging
|
||||||
|
This package contains RPM macros and other utilities useful for packaging
|
||||||
|
Node.js modules and applications in RPM-based distributions.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n node-v%{version}
|
%setup -q -n node-v%{version}
|
||||||
%patch1 -p0
|
%patch1 -p0
|
||||||
|
@ -166,17 +178,20 @@ cp -p common.gypi %{buildroot}%{_datadir}/node
|
||||||
%{_bindir}/node_g
|
%{_bindir}/node_g
|
||||||
%{_includedir}/node
|
%{_includedir}/node
|
||||||
%{_datadir}/node
|
%{_datadir}/node
|
||||||
%{_sysconfdir}/rpm/macros.nodejs
|
|
||||||
%{_rpmconfigdir}/fileattrs/nodejs*.attr
|
|
||||||
%{_rpmconfigdir}/nodejs*
|
|
||||||
|
|
||||||
%files docs
|
%files docs
|
||||||
%{_defaultdocdir}/%{name}-docs-%{version}
|
%{_defaultdocdir}/%{name}-docs-%{version}
|
||||||
|
|
||||||
|
%files packaging
|
||||||
|
%{_sysconfdir}/rpm/macros.nodejs
|
||||||
|
%{_rpmconfigdir}/fileattrs/nodejs*.attr
|
||||||
|
%{_rpmconfigdir}/nodejs*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jun 19 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.12-1
|
* Wed Jun 19 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.12-1
|
||||||
- new upstream release 0.10.12
|
- new upstream release 0.10.12
|
||||||
http://blog.nodejs.org/2013/06/18/node-v0-10-12-stable/
|
http://blog.nodejs.org/2013/06/18/node-v0-10-12-stable/
|
||||||
|
- split off a -packaging subpackage with RPM macros, etc.
|
||||||
|
|
||||||
* Fri May 31 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.9-1
|
* Fri May 31 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.9-1
|
||||||
- new upstream release 0.10.9
|
- new upstream release 0.10.9
|
||||||
|
|
Loading…
Reference in a new issue