[packages/nodejs-proto-list] Package package.json too

aredridel aredridel at pld-linux.org
Sat Feb 16 22:52:57 CET 2013


commit 0a701eff6282d72596e8c5f4e7724a1538b1b4d1
Author: Aria <aredridel at nbtsc.org>
Date:   Sat Feb 16 14:50:39 2013 -0700

    Package package.json too

 nodejs-proto-list.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/nodejs-proto-list.spec b/nodejs-proto-list.spec
index 6ba23cc..1c5afc1 100644
--- a/nodejs-proto-list.spec
+++ b/nodejs-proto-list.spec
@@ -25,8 +25,8 @@ mv package/* .
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT%{nodejs_libdir}
-cp -p %{pkg}.js $RPM_BUILD_ROOT%{nodejs_libdir}
+install -d $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
+cp -p %{pkg}.js package.json $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
 
 # We currently don't run tests because I'd have to file another ten or
 # so review reuqests for the node.js TAP testing framework and methinks there
@@ -40,4 +40,4 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc LICENSE README.md
-%{nodejs_libdir}/%{pkg}.js
+%{nodejs_libdir}/%{pkg}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nodejs-proto-list.git/commitdiff/0a701eff6282d72596e8c5f4e7724a1538b1b4d1



More information about the pld-cvs-commit mailing list