don't use make install since it ends up rebuilding everything in %install

the INSTALL='install -p' thing was dropped too since the install script
uses python's shutil.copy2, which does the same thing
This commit is contained in:
T.C. Hollingsworth 2013-01-10 02:10:39 -07:00
parent dfa7006622
commit 635c95957b

View file

@ -1,6 +1,6 @@
Name: nodejs Name: nodejs
Version: 0.9.5 Version: 0.9.5
Release: 6%{?dist} Release: 7%{?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
@ -110,7 +110,7 @@ make %{?_smp_mflags}
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
%make_install INSTALL='install -p' ./tools/install.py %{buildroot}
# and remove dtrace file again # and remove dtrace file again
rm -rf %{buildroot}/%{_prefix}/lib/dtrace rm -rf %{buildroot}/%{_prefix}/lib/dtrace
@ -162,6 +162,9 @@ cp -p common.gypi %{buildroot}%{_datadir}/node
%doc LICENSE %doc LICENSE
%changelog %changelog
* Thu Jan 10 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-7
- don't use make install since it rebuilds everything
* Thu Jan 10 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-6 * Thu Jan 10 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-6
- add %%{?isa}, epoch to v8 deps - add %%{?isa}, epoch to v8 deps