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