package init

This commit is contained in:
wangxiao65 2020-09-07 16:41:17 +08:00
parent b7bd7e3f41
commit 99094cb2f6
4 changed files with 2 additions and 10 deletions

BIN
3.0.0.tar.gz Normal file

Binary file not shown.

View File

@ -8,16 +8,9 @@ Release: 1
Summary: Compile time `with` for strict mode JavaScript
License: MIT
URL: https://github.com/ForbesLindesay/with
Source0: http://registry.npmjs.org/with/-/with-%{version}.tgz
#git clone git://github.com/ForbesLindesay/with.git
#cd with
#git archive --prefix="test/" --format=tar tags/${tag}:test/ \
# | bzip2 > "$pwd"/tests-${tag}.tar.bz2
Source1: tests-%{version}.tar.bz2
Source0: https://github.com/ForbesLindesay/with/archive/%{version}.tar.gz
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging
%if 0%{?enable_tests}
@ -28,12 +21,11 @@ BuildRequires: mocha uglify-js
%{summary}.
%prep
%setup -q -n package
%autosetup -n with-%{version}
find . -type f -exec chmod -x '{}' \;
for i in LICENSE README.md; do
sed -i -e 's/\r$//' "${i}"
done
%setup -q -T -D -a 1 -n package
%nodejs_fixdep uglify-js '^2.2'

Binary file not shown.

Binary file not shown.