package init
This commit is contained in:
parent
b7bd7e3f41
commit
99094cb2f6
BIN
3.0.0.tar.gz
Normal file
BIN
3.0.0.tar.gz
Normal file
Binary file not shown.
@ -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.
BIN
with-3.0.0.tgz
BIN
with-3.0.0.tgz
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user