change source

This commit is contained in:
jackie_wu 2020-09-08 16:34:06 +08:00
parent f3500992b4
commit 1ad5c61c38
4 changed files with 2 additions and 8 deletions

BIN
3.1.0.tar.gz Normal file

Binary file not shown.

View File

@ -6,12 +6,7 @@ Release: 1
Summary: String/Data transformations for Node.js Summary: String/Data transformations for Node.js
License: MIT License: MIT
URL: https://github.com/ForbesLindesay/transformers URL: https://github.com/ForbesLindesay/transformers
Source0: http://registry.npmjs.org/transformers/-/transformers-%{version}.tgz Source0: https://github.com/ForbesLindesay/transformers/archive/%{version}.tar.gz
#git clone git://github.com/ForbesLindesay/transformers.git
#cd transformers
#git archive --prefix="test/" --format=tar tags/3.1.0:test/ \
# | bzip2 > "$pwd"/tests-3.1.0.tar.bz2
Source1: tests-%{version}.tar.bz2
BuildArch: noarch BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging npm(clone) npm(css) npm(promise) npm(uglify-js) BuildRequires: nodejs-packaging npm(clone) npm(css) npm(promise) npm(uglify-js)
@ -26,8 +21,7 @@ Transformations can be pretty much anything but most are either compilers
or templating engines. or templating engines.
%prep %prep
%setup -q -n package %autosetup -n transformers-%{version}
%setup -q -T -D -a 1 -n package
for i in history.md LICENSE README.md; do for i in history.md LICENSE README.md; do
sed -i -e 's/\r$//' "${i}" sed -i -e 's/\r$//' "${i}"
done done

Binary file not shown.

Binary file not shown.