[packages/nodejs-read-installed] - updated to 1.0.0
kiesiu
kiesiu at pld-linux.org
Fri Mar 7 20:42:47 CET 2014
commit 7d4c97746d3e340ebeab967b5e3d0e8b1256c07f
Author: Łukasz Kieś <kiesiu at pld-linux.org>
Date: Fri Mar 7 20:42:14 2014 +0100
- updated to 1.0.0
nodejs-read-installed.spec | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
---
diff --git a/nodejs-read-installed.spec b/nodejs-read-installed.spec
index dbf74fe..6d1da12 100644
--- a/nodejs-read-installed.spec
+++ b/nodejs-read-installed.spec
@@ -1,21 +1,28 @@
%define pkg read-installed
-Summary: Read all the installed packages in a folder, and return a tree structure with all the data.
+Summary: Read all the installed packages in a folder, and return a tree structure with all the data
Name: nodejs-%{pkg}
-Version: 0.1.1
+Version: 1.0.0
Release: 1
License: MIT
Group: Development/Libraries
URL: https://github.com/isaacs/read-installed
# download from https://github.com/isaacs/%{pkg}/tarball/%%{version}
Source0: http://registry.npmjs.org/%{pkg}/-/%{pkg}-%{version}.tgz
-# Source0-md5: 78cbfece85a3c05d5306e7f09f3e90bf
+# Source0-md5: 754e4efa32b3fd220f14eacd8f2ef2c4
BuildRequires: rpmbuild(macros) >= 1.634
Requires: nodejs
+Requires: nodejs-read-package-json < 2
+Requires: nodejs-read-package-json >= 1
+Requires: nodejs-semver < 3
+Requires: nodejs-semver >= 2
+Requires: nodejs-slide < 1.2.0
+Requires: nodejs-slide >= 1.1.3
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Read all the installed packages in a folder, and return a tree structure with all the data.
+Read all the installed packages in a folder, and return a tree
+structure with all the data.
%prep
%setup -qc
@@ -24,7 +31,7 @@ mv package/* .
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{nodejs_libdir}/%{pkg}}
-cp -a package.json read-installed.js $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
+cp -a package.json %{pkg}.js $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nodejs-read-installed.git/commitdiff/7d4c97746d3e340ebeab967b5e3d0e8b1256c07f
More information about the pld-cvs-commit
mailing list