[packages/nodejs-npmlog] Simplify spec file

aredridel aredridel at pld-linux.org
Mon Dec 3 03:20:49 CET 2012


commit 2e634a8b3f90ab3cf230c10abf4215d8f3ea6cf4
Author: Aria Stewart <aredridel at nbtsc.org>
Date:   Sun Dec 2 19:20:44 2012 -0700

    Simplify spec file

 nodejs-npmlog.spec | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/nodejs-npmlog.spec b/nodejs-npmlog.spec
index a2cf039..4c6f47d 100644
--- a/nodejs-npmlog.spec
+++ b/nodejs-npmlog.spec
@@ -6,11 +6,9 @@ Release:	1
 License:	MIT
 Group:		Development/Libraries
 URL:		https://github.com/isaacs/npmlog
-# download from https://github.com/isaacs/%{pkg}/tarball/%%{version}
 Source0:	http://registry.npmjs.org/%{pkg}/-/%{pkg}-%{version}.tgz
 # Source0-md5:	bcda69b411c0d821a61bf1567772d04a
 BuildRequires:	rpmbuild(macros) >= 1.634
-BuildRequires:	sed >= 4.0
 Requires:	nodejs
 Requires:	nodejs-ansi
 BuildArch:	noarch
@@ -37,7 +35,5 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README.md LICENSE
-%dir %{nodejs_libdir}/%{pkg}
-%{nodejs_libdir}/%{pkg}/package.json
-%{nodejs_libdir}/%{pkg}/*.js
+%{nodejs_libdir}/%{pkg}
 %{_examplesdir}/%{name}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nodejs-npmlog.git/commitdiff/2e634a8b3f90ab3cf230c10abf4215d8f3ea6cf4



More information about the pld-cvs-commit mailing list