Update version to 1.22.19
This commit is contained in:
parent
17ae717b3e
commit
4c2a0c7774
@ -3,12 +3,12 @@
|
||||
%global packagename yarn
|
||||
|
||||
Name: nodejs-yarn
|
||||
Version: 1.22.11
|
||||
Release: 2
|
||||
Version: 1.22.19
|
||||
Release: 1
|
||||
Summary: Fast, reliable, and secure dependency management for yarn packages.
|
||||
License: BSD-2-Clause
|
||||
URL: https://github.com/yarnpkg/yarn
|
||||
Source0: https://registry.npmjs.org/yarn/-/yarn-1.22.11.tgz
|
||||
Source0: https://registry.npmjs.org/yarn/-/yarn-1.22.19.tgz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
@ -34,13 +34,13 @@ if [ -f License ]; then
|
||||
mv License LICENSE
|
||||
fi
|
||||
if [ -d bin ]; then
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
cp -ar bin/* %{buildroot}%{_bindir}
|
||||
mkdir -p %{buildroot}%{_prefix}/local/bin/
|
||||
cp -ar bin/* %{buildroot}%{_prefix}/local/bin/
|
||||
fi
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
|
||||
cp -ra * %{buildroot}%{nodejs_sitelib}/%{packagename}
|
||||
for file in `ls ./bin`;do
|
||||
ln -sfr %{buildroot}%{nodejs_sitelib}/%{packagename}/bin/yarn.js %{buildroot}%{_bindir}/$file
|
||||
ln -sfr %{buildroot}%{nodejs_sitelib}/%{packagename}/bin/yarn.js %{buildroot}%{_prefix}/local/bin/$file
|
||||
done
|
||||
pushd %{buildroot}
|
||||
touch filelist.lst
|
||||
@ -52,9 +52,12 @@ cp %{buildroot}/filelist.lst .
|
||||
%nodejs_symlink_deps --check
|
||||
|
||||
%files -f filelist.lst
|
||||
%{_bindir}/*
|
||||
%{_prefix}/local/bin/*
|
||||
|
||||
%changelog
|
||||
* Wed May 24 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 1.22.19-1
|
||||
- Update version to 1.22.19
|
||||
|
||||
* Wed Sep 15 2021 chemingdao <chemingdao@huawei.com> - 1.22.11-2
|
||||
- support running command with yarn.js, yarn.cmd, yarnpkg.cmd
|
||||
|
||||
|
||||
BIN
yarn-1.22.11.tgz
BIN
yarn-1.22.11.tgz
Binary file not shown.
BIN
yarn-1.22.19.tgz
Normal file
BIN
yarn-1.22.19.tgz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user