[packages/nodejs-once] - updated to 1.3.0

kiesiu kiesiu at pld-linux.org
Sat Mar 8 23:01:52 CET 2014


commit fb199724f3b2e8f09e69b7fdb42d022d57d8b04f
Author: Łukasz Kieś <kiesiu at pld-linux.org>
Date:   Sat Mar 8 23:01:37 2014 +0100

    - updated to 1.3.0

 nodejs-once.spec | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/nodejs-once.spec b/nodejs-once.spec
index 8d52289..d6822dc 100644
--- a/nodejs-once.spec
+++ b/nodejs-once.spec
@@ -1,15 +1,14 @@
 %define		pkg	once
 Summary:	The config thing npm uses
 Name:		nodejs-%{pkg}
-Version:	1.1.1
+Version:	1.3.0
 Release:	1
 License:	MIT
 Group:		Development/Libraries
 URL:		https://github.com/isaacs/once
 Source0:	http://registry.npmjs.org/%{pkg}/-/%{pkg}-%{version}.tgz
-# Source0-md5:	a8228f14ad37805f5fde76f8a6d28605
+# Source0-md5:	a63b8faed7b2c6c167ddcface976442b
 BuildRequires:	rpmbuild(macros) >= 1.634
-BuildRequires:	sed >= 4.0
 Requires:	nodejs
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -23,8 +22,8 @@ mv package/* .
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{nodejs_libdir}/%{pkg}}
-cp -a package.json *.js $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
+install -d $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
+cp -a package.json %{pkg}.js $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -34,4 +33,4 @@ rm -rf $RPM_BUILD_ROOT
 %doc README.md LICENSE
 %dir %{nodejs_libdir}/%{pkg}
 %{nodejs_libdir}/%{pkg}/package.json
-%{nodejs_libdir}/%{pkg}/*.js
+%{nodejs_libdir}/%{pkg}/%{pkg}.js
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nodejs-once.git/commitdiff/fb199724f3b2e8f09e69b7fdb42d022d57d8b04f



More information about the pld-cvs-commit mailing list