From bb000595fbafcbeb9d4e8398977fab394ec86666 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Jan 01 2016 10:51:08 +0000 Subject: Update npm(minimatch) dependency --- diff --git a/nodejs-readdirp.spec b/nodejs-readdirp.spec index 2bd52c8..bcc225a 100644 --- a/nodejs-readdirp.spec +++ b/nodejs-readdirp.spec @@ -2,28 +2,25 @@ %global enable_tests 1 -Name: nodejs-readdirp -Version: 2.0.0 -Release: 1%{?dist} -Summary: Recursive version of Node's fs.readdir with a streaming API -License: MIT -Group: System Environment/Libraries -URL: https://github.com/thlorenz/readdirp -Source0: https://registry.npmjs.org/readdirp/-/readdirp-%{version}.tgz +Name: nodejs-readdirp +Version: 2.0.0 +Release: 2%{?dist} +Summary: Recursive version of Node's fs.readdir with a streaming API + +License: MIT +Group: System Environment/Libraries +URL: https://github.com/thlorenz/readdirp +Source0: https://registry.npmjs.org/readdirp/-/readdirp-%{version}.tgz # The test files are not included in the npm tarball. # Source1 is generated by running Source10, which pulls from the upstream # version control repository. -Source1: tests-v%{version}.tar.bz2 -Source10: dl-tests.sh -# -Patch0: nodejs-readdirp-pause.patch - -BuildArch: noarch -%if 0%{?fedora} >= 19 -ExclusiveArch: %{nodejs_arches} noarch -%else -ExclusiveArch: %{ix86} x86_64 %{arm} noarch -%endif +Source1: tests-v%{version}.tar.bz2 +Source10: dl-tests.sh +# https://github.com/thlorenz/readdirp/pull/38 +Patch0: nodejs-readdirp-pause.patch + +BuildArch: noarch +ExclusiveArch: %{ix86} x86_64 %{arm} noarch BuildRequires: nodejs-packaging @@ -49,7 +46,7 @@ rm -rf test/ # Remove executable bit. find . -type f -exec chmod -x '{}' \; # Fix dependencies -%nodejs_fixdep minimatch "^0.2.12" +%nodejs_fixdep minimatch "^3.0.0" %build @@ -72,12 +69,16 @@ cp -pr package.json readdirp.js stream-api.js \ %files +%{!?_licensedir:%global license %doc} %doc README.md examples/ %license LICENSE %{nodejs_sitelib}/readdirp %changelog +* Fri Jan 1 2016 Tom Hughes - 2.0.0-2 +- Update npm(minimatch) dependency + * Thu Dec 31 2015 Tom Hughes - 2.0.0-1 - Update to 2.0.0 upstream release