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

T.C. Hollingsworth patches at fedoraproject.org
Thu Jan 10 09:11:39 UTC 2013


commit 635c95957b9672363399c93e01850db718af6157
Author: T.C. Hollingsworth <tchollingsworth at gmail.com>
Date:   Thu Jan 10 02:10:39 2013 -0700

    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

 nodejs.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/nodejs.spec b/nodejs.spec
index e9f23b1..b57d998 100644
--- a/nodejs.spec
+++ b/nodejs.spec
@@ -1,6 +1,6 @@
 Name: nodejs
 Version: 0.9.5
-Release: 6%{?dist}
+Release: 7%{?dist}
 Summary: JavaScript runtime
 License: MIT and ASL 2.0 and ISC and BSD
 Group: Development/Languages
@@ -110,7 +110,7 @@ make %{?_smp_mflags}
 %install
 rm -rf %{buildroot}
 
-%make_install INSTALL='install -p'
+./tools/install.py %{buildroot}
 
 # and remove dtrace file again
 rm -rf %{buildroot}/%{_prefix}/lib/dtrace
@@ -162,6 +162,9 @@ cp -p common.gypi %{buildroot}%{_datadir}/node
 %doc LICENSE
 
 %changelog
+* Thu Jan 10 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.9.5-7
+- don't use make install since it rebuilds everything
+
 * Thu Jan 10 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.9.5-6
 - add %%{?isa}, epoch to v8 deps
 


More information about the scm-commits mailing list