mirror of
https://src.fedoraproject.org/rpms/nodejs18.git
synced 2024-12-01 04:02:55 +00:00
Fix up documentation subpackage
This commit is contained in:
parent
1d4119d71f
commit
fa0d205a4d
1 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
Name: nodejs
|
Name: nodejs
|
||||||
Version: 0.10.0
|
Version: 0.10.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: JavaScript runtime
|
Summary: JavaScript runtime
|
||||||
License: MIT and ASL 2.0 and ISC and BSD
|
License: MIT and ASL 2.0 and ISC and BSD
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
|
@ -139,6 +139,7 @@ install -pm0755 %{SOURCE6} %{buildroot}%{_rpmconfigdir}/nodejs-fixdep
|
||||||
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}-docs-%{version}/html
|
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}-docs-%{version}/html
|
||||||
cp -pr doc/* %{buildroot}%{_defaultdocdir}/%{name}-docs-%{version}/html
|
cp -pr doc/* %{buildroot}%{_defaultdocdir}/%{name}-docs-%{version}/html
|
||||||
rm -f %{_defaultdocdir}/%{name}-docs-%{version}/html/nodejs.1
|
rm -f %{_defaultdocdir}/%{name}-docs-%{version}/html/nodejs.1
|
||||||
|
cp -p LICENSE %{buildroot}%{_defaultdocdir}/%{name}-docs-%{version}/
|
||||||
|
|
||||||
#install development headers
|
#install development headers
|
||||||
#FIXME: we probably don't really need *.h but node-gyp downloads the whole
|
#FIXME: we probably don't really need *.h but node-gyp downloads the whole
|
||||||
|
@ -166,9 +167,11 @@ cp -p common.gypi %{buildroot}%{_datadir}/node
|
||||||
|
|
||||||
%files docs
|
%files docs
|
||||||
%{_defaultdocdir}/%{name}-docs-%{version}
|
%{_defaultdocdir}/%{name}-docs-%{version}
|
||||||
%doc LICENSE
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 12 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.10.0-2
|
||||||
|
- Fix up documentation subpackage
|
||||||
|
|
||||||
* Mon Mar 11 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.10.0-1
|
* Mon Mar 11 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.10.0-1
|
||||||
- Update to stable 0.10.0 release
|
- Update to stable 0.10.0 release
|
||||||
- https://raw.github.com/joyent/node/v0.10.0/ChangeLog
|
- https://raw.github.com/joyent/node/v0.10.0/ChangeLog
|
||||||
|
|
Loading…
Reference in a new issue