packages: npm/npm.spec - actually package npmrc contents
glen
glen at pld-linux.org
Sat Jun 16 00:02:56 CEST 2012
Author: glen Date: Fri Jun 15 22:02:56 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- actually package npmrc contents
---- Files affected:
packages/npm:
npm.spec (1.10 -> 1.11)
---- Diffs:
================================================================
Index: packages/npm/npm.spec
diff -u packages/npm/npm.spec:1.10 packages/npm/npm.spec:1.11
--- packages/npm/npm.spec:1.10 Fri Jun 15 23:38:32 2012
+++ packages/npm/npm.spec Sat Jun 16 00:02:51 2012
@@ -128,19 +128,13 @@
mv $RPM_BUILD_ROOT%{nodejs_libdir}/npm/lib/utils/completion.sh \
$RPM_BUILD_ROOT/etc/bash_completion.d/%{name}.sh
-%if 0
-%post
-# This section is the workaround does not work properly npm install.
-%{_bindir}/npm config set registry http://registry.npmjs.org/
-%endif
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc AUTHORS LICENSE README.md doc/cli/changelog.md
-%ghost %{_sysconfdir}/npmrc
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/npmrc
%ghost %{_sysconfdir}/npmignore
%attr(755,root,root) %{_bindir}/npm
%dir %{nodejs_libdir}/npm
@@ -174,6 +168,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.11 2012/06/15 22:02:51 glen
+- actually package npmrc contents
+
Revision 1.10 2012/06/15 21:38:32 glen
- R: nodejs-which for npm ls
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/npm/npm.spec?r1=1.10&r2=1.11
More information about the pld-cvs-commit
mailing list