[packages/nodejs-uuid] - although package's name is uuid it should be installed into node-uuid; rel. 2

kiesiu kiesiu at pld-linux.org
Sun Mar 16 15:21:33 CET 2014


commit 7a4a0927146a78c7fc7f444ee371b1deded611c5
Author: Łukasz Kieś <kiesiu at pld-linux.org>
Date:   Sun Mar 16 15:20:23 2014 +0100

    - although package's name is uuid it should be installed into node-uuid; rel. 2

 nodejs-uuid.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/nodejs-uuid.spec b/nodejs-uuid.spec
index d2d8ac1..67789a3 100644
--- a/nodejs-uuid.spec
+++ b/nodejs-uuid.spec
@@ -2,7 +2,7 @@
 Summary:	Rigorous implementation of RFC4122 (v1 and v4) UUIDs
 Name:		nodejs-%{pkg}
 Version:	1.4.1
-Release:	1
+Release:	2
 License:	MIT
 Group:		Development/Libraries
 Source0:	http://registry.npmjs.org/%{pkg}/-/%{pkg}-%{version}.tgz
@@ -23,8 +23,8 @@ mv package/* .
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
-cp -pr rng.js %{pkg}.js package.json $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
+install -d $RPM_BUILD_ROOT%{nodejs_libdir}/node-%{pkg}
+cp -pr rng.js %{pkg}.js package.json $RPM_BUILD_ROOT%{nodejs_libdir}/node-%{pkg}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -32,4 +32,4 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README.md
-%{nodejs_libdir}/%{pkg}
+%{nodejs_libdir}/node-%{pkg}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nodejs-uuid.git/commitdiff/7a4a0927146a78c7fc7f444ee371b1deded611c5



More information about the pld-cvs-commit mailing list