Project

General

Profile

« Previous | Next » 

Revision 4496e60c

Added by Michael Moll almost 6 years ago

Bump nodejs-compression-webpack-plugin to 1.1.11

View differences:

packages/foreman/nodejs-compression-webpack-plugin/nodejs-compression-webpack-plugin.spec
%global npm_name compression-webpack-plugin
Name: nodejs-%{npm_name}
Version: 0.3.2
Release: 2%{?dist}
Version: 1.1.11
Release: 1%{?dist}
Summary: Prepare compressed versions of assets to serve them with Content-Encoding
License: MIT
URL: https://github.com/webpack/compression-webpack-plugin
Source0: http://registry.npmjs.org/compression-webpack-plugin/-/compression-webpack-plugin-0.3.2.tgz
Source1: http://registry.npmjs.org/async/-/async-0.2.10.tgz
Source2: http://registry.npmjs.org/webpack-sources/-/webpack-sources-0.1.4.tgz
Source3: http://registry.npmjs.org/source-list-map/-/source-list-map-0.1.8.tgz
Source4: http://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz
Source5: compression-webpack-plugin-0.3.2-registry.npmjs.org.tgz
Requires: nodejs(engine)
BuildRequires: nodejs-devel
Group: Development/Libraries
URL: https://webpack.js.org/plugins/compression-webpack-plugin/
Source0: https://registry.npmjs.org/compression-webpack-plugin/-/compression-webpack-plugin-1.1.11.tgz
Source1: https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-1.5.0.tgz
Source2: https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.1.0.tgz
Source3: https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-1.0.0.tgz
Source4: https://registry.npmjs.org/cacache/-/cacache-10.0.4.tgz
Source5: https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz
Source6: https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.0.tgz
Source7: https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz
Source8: https://registry.npmjs.org/neo-async/-/neo-async-2.5.1.tgz
Source9: https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz
Source10: https://registry.npmjs.org/chownr/-/chownr-1.0.1.tgz
Source11: https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz
Source12: https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz
Source13: https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.3.tgz
Source14: https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz
Source15: https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz
Source16: https://registry.npmjs.org/glob/-/glob-7.1.2.tgz
Source17: https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.0.tgz
Source18: https://registry.npmjs.org/mississippi/-/mississippi-2.0.0.tgz
Source19: https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz
Source20: https://registry.npmjs.org/ssri/-/ssri-5.3.0.tgz
Source21: https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz
Source22: https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz
Source23: https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz
Source24: https://registry.npmjs.org/pify/-/pify-3.0.0.tgz
Source25: https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz
Source26: https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz
Source27: https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz
Source28: https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz
Source29: https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz
Source30: https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.5.tgz
Source31: https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz
Source32: https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz
Source33: https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz
Source34: https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz
Source35: https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz
Source36: https://registry.npmjs.org/once/-/once-1.4.0.tgz
Source37: https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz
Source38: https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.0.tgz
Source39: https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz
Source40: https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz
Source41: https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.0.3.tgz
Source42: https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz
Source43: https://registry.npmjs.org/duplexify/-/duplexify-3.6.0.tgz
Source44: https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.1.0.tgz
Source45: https://registry.npmjs.org/from2/-/from2-2.3.0.tgz
Source46: https://registry.npmjs.org/pump/-/pump-2.0.1.tgz
Source47: https://registry.npmjs.org/pumpify/-/pumpify-1.5.1.tgz
Source48: https://registry.npmjs.org/stream-each/-/stream-each-1.2.2.tgz
Source49: https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz
Source50: https://registry.npmjs.org/through2/-/through2-2.0.3.tgz
Source51: https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz
Source52: https://registry.npmjs.org/iferr/-/iferr-0.1.5.tgz
Source53: https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz
Source54: https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz
Source55: https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz
Source56: https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz
Source57: https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.0.tgz
Source58: https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz
Source59: https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.0.tgz
Source60: https://registry.npmjs.org/cyclist/-/cyclist-0.2.2.tgz
Source61: https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz
Source62: https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz
Source63: https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz
Source64: https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz
Source65: https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz
Source66: https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz
Source67: https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz
Source68: https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz
Source69: https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz
Source70: https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz
Source71: https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz
Source72: https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz
Source73: %{npm_name}-%{version}-registry.npmjs.org.tgz
BuildRequires: nodejs-packaging
BuildRequires: npm
BuildArch: noarch
%if 0%{?fedora} >= 19
ExclusiveArch: %{nodejs_arches} noarch
%else
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
%endif
Provides: npm(%{npm_name}) = %{version}
Provides: bundled(npm(compression-webpack-plugin)) = 0.3.2
Provides: bundled(npm(async)) = 0.2.10
Provides: bundled(npm(webpack-sources)) = 0.1.4
Provides: bundled(npm(source-list-map)) = 0.1.8
Provides: bundled(npm(source-map)) = 0.5.6
Provides: bundled(npm(aproba)) = 1.2.0
Provides: bundled(npm(balanced-match)) = 1.0.0
Provides: bundled(npm(bluebird)) = 3.5.1
Provides: bundled(npm(brace-expansion)) = 1.1.11
Provides: bundled(npm(buffer-from)) = 1.1.0
Provides: bundled(npm(cacache)) = 10.0.4
Provides: bundled(npm(chownr)) = 1.0.1
Provides: bundled(npm(commondir)) = 1.0.1
Provides: bundled(npm(compression-webpack-plugin)) = 1.1.11
Provides: bundled(npm(concat-map)) = 0.0.1
Provides: bundled(npm(concat-stream)) = 1.6.2
Provides: bundled(npm(copy-concurrently)) = 1.0.5
Provides: bundled(npm(core-util-is)) = 1.0.2
Provides: bundled(npm(cyclist)) = 0.2.2
Provides: bundled(npm(duplexify)) = 3.6.0
Provides: bundled(npm(end-of-stream)) = 1.4.1
Provides: bundled(npm(find-cache-dir)) = 1.0.0
Provides: bundled(npm(find-up)) = 2.1.0
Provides: bundled(npm(flush-write-stream)) = 1.0.3
Provides: bundled(npm(from2)) = 2.3.0
Provides: bundled(npm(fs-write-stream-atomic)) = 1.0.10
Provides: bundled(npm(fs.realpath)) = 1.0.0
Provides: bundled(npm(glob)) = 7.1.2
Provides: bundled(npm(graceful-fs)) = 4.1.11
Provides: bundled(npm(iferr)) = 0.1.5
Provides: bundled(npm(imurmurhash)) = 0.1.4
Provides: bundled(npm(inflight)) = 1.0.6
Provides: bundled(npm(inherits)) = 2.0.3
Provides: bundled(npm(isarray)) = 1.0.0
Provides: bundled(npm(locate-path)) = 2.0.0
Provides: bundled(npm(lru-cache)) = 4.1.3
Provides: bundled(npm(make-dir)) = 1.3.0
Provides: bundled(npm(minimatch)) = 3.0.4
Provides: bundled(npm(minimist)) = 0.0.8
Provides: bundled(npm(mississippi)) = 2.0.0
Provides: bundled(npm(mkdirp)) = 0.5.1
Provides: bundled(npm(move-concurrently)) = 1.0.1
Provides: bundled(npm(neo-async)) = 2.5.1
Provides: bundled(npm(once)) = 1.4.0
Provides: bundled(npm(p-limit)) = 1.3.0
Provides: bundled(npm(p-locate)) = 2.0.0
Provides: bundled(npm(p-try)) = 1.0.0
Provides: bundled(npm(parallel-transform)) = 1.1.0
Provides: bundled(npm(path-exists)) = 3.0.0
Provides: bundled(npm(path-is-absolute)) = 1.0.1
Provides: bundled(npm(pify)) = 3.0.0
Provides: bundled(npm(pkg-dir)) = 2.0.0
Provides: bundled(npm(process-nextick-args)) = 2.0.0
Provides: bundled(npm(promise-inflight)) = 1.0.1
Provides: bundled(npm(pseudomap)) = 1.0.2
Provides: bundled(npm(pump)) = 2.0.1
Provides: bundled(npm(pumpify)) = 1.5.1
Provides: bundled(npm(readable-stream)) = 2.3.6
Provides: bundled(npm(rimraf)) = 2.6.2
Provides: bundled(npm(run-queue)) = 1.0.3
Provides: bundled(npm(safe-buffer)) = 5.1.2
Provides: bundled(npm(serialize-javascript)) = 1.5.0
Provides: bundled(npm(source-list-map)) = 2.0.0
Provides: bundled(npm(source-map)) = 0.6.1
Provides: bundled(npm(ssri)) = 5.3.0
Provides: bundled(npm(stream-each)) = 1.2.2
Provides: bundled(npm(stream-shift)) = 1.0.0
Provides: bundled(npm(string_decoder)) = 1.1.1
Provides: bundled(npm(through2)) = 2.0.3
Provides: bundled(npm(typedarray)) = 0.0.6
Provides: bundled(npm(unique-filename)) = 1.1.0
Provides: bundled(npm(unique-slug)) = 2.0.0
Provides: bundled(npm(util-deprecate)) = 1.0.2
Provides: bundled(npm(webpack-sources)) = 1.1.0
Provides: bundled(npm(wrappy)) = 1.0.2
Provides: bundled(npm(xtend)) = 4.0.1
Provides: bundled(npm(y18n)) = 4.0.0
Provides: bundled(npm(yallist)) = 2.1.2
AutoReq: no
AutoProv: no
%define npm_cache_dir /tmp/npm_cache_%{name}-%{version}-%{release}
%description
%{summary}
%prep
mkdir npm_cache
mkdir -p %{npm_cache_dir}
for tgz in %{sources}; do
echo $tgz | grep -q registry.npmjs.org || npm cache add --cache ./npm_cache $tgz
echo $tgz | grep -q registry.npmjs.org || npm cache add --cache %{npm_cache_dir} $tgz
done
%setup -T -q -a 5 -D -n npm_cache
%setup -T -q -a 73 -D -n %{npm_cache_dir}
%build
npm install --cache-min Infinity --cache . --no-optional --global-style true %{npm_name}@%{version}
npm install --cache-min Infinity --cache %{npm_cache_dir} --no-shrinkwrap --no-optional --global-style true %{npm_name}@%{version}
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
cd node_modules/%{npm_name}
cp -pfr .gitattributes .npmignore README.md index.js package.json node_modules %{buildroot}%{nodejs_sitelib}/%{npm_name}
cp -pf README.md ../../
cp -pfr node_modules/%{npm_name}/node_modules %{buildroot}%{nodejs_sitelib}/%{npm_name}
cp -pfr node_modules/%{npm_name}/dist %{buildroot}%{nodejs_sitelib}/%{npm_name}
cp -pfr node_modules/%{npm_name}/package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
%clean
rm -rf %{buildroot} %{npm_cache_dir}
%files
%{nodejs_sitelib}/%{npm_name}
%doc README.md
%license node_modules/%{npm_name}/LICENSE
%doc node_modules/%{npm_name}/CHANGELOG.md
%doc node_modules/%{npm_name}/README.md
%changelog
* Sat Jun 16 2018 Michael Moll <mmoll@mmoll.at> 1.1.11-1
- Update to 1.1.11
* Thu Jan 26 2017 Dominic Cleal <dominic@cleal.org> 0.3.2-2
- Fix missing provides npm(name) (dominic@cleal.org)

Also available in: Unified diff