webbuilder_pel7ppc64lebuilder0
5 years ago
1 changed files with 2 additions and 2 deletions
@ -1,7 +1,7 @@ |
|||||||
#!/bin/sh |
#!/bin/sh |
||||||
|
|
||||||
version=$(rpm -q --specfile --qf='%{version}\n' nodejs-yarn.spec | head -n1) |
version=$(rpm -q --specfile --qf='%{version}\n' ~/rpmbuild/SPECS/nodejs-yarn.spec | head -n1) |
||||||
wget https://github.com/yarnpkg/yarn/archive/v$version.tar.gz |
wget https://github.com/yarnpkg/yarn/archive/v$version.tar.gz |
||||||
tar -zxf v$version.tar.gz |
tar -zxf v$version.tar.gz |
||||||
cd yarn-$version |
cd yarn-$version |
||||||
npm install && cd .. && tar -zcf yarn-v$version-bundled.tar.gz yarn-$version |
npm install && cd .. && tar -zcf ~/rpmbuild/SOURCES/yarn-v$version-bundled.tar.gz yarn-$version |
||||||
|
Loading…
Reference in new issue