Compare commits
No commits in common. "9430b216f999c949ce953021c11c26bc68c1793e" and "c9bf1daf6c26de60a6f05bcf4e30a93320cc0f1e" have entirely different histories.
9430b216f9
...
c9bf1daf6c
@ -1,7 +1,7 @@
|
|||||||
# nodejs-yarn
|
# ovirt-engine-yarn
|
||||||
|
|
||||||
#### Description
|
#### Description
|
||||||
Fast, reliable, and secure dependency management for yarn packages.
|
Yarn package manager for oVirt JavaScript applications
|
||||||
|
|
||||||
#### Contribution
|
#### Contribution
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# nodejs-yarn
|
# ovirt-engine-yarn
|
||||||
|
|
||||||
#### 介绍
|
#### 介绍
|
||||||
快速、可靠、安全的yarn包管理器
|
适用于oVirt JavaScript应用程序的yarn包管理器
|
||||||
|
|
||||||
#### 参与贡献
|
#### 参与贡献
|
||||||
|
|
||||||
|
|||||||
@ -1,68 +0,0 @@
|
|||||||
%{?nodejs_find_provides_and_requires}
|
|
||||||
|
|
||||||
%global packagename yarn
|
|
||||||
|
|
||||||
Name: nodejs-yarn
|
|
||||||
Version: 1.22.19
|
|
||||||
Release: 2
|
|
||||||
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.19.tgz
|
|
||||||
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
BuildRequires: nodejs-packaging
|
|
||||||
|
|
||||||
%description
|
|
||||||
Fast, reliable, and secure dependency management for yarn packages.
|
|
||||||
|
|
||||||
%define debug_package %{nil}
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%autosetup -n yarn-v%{version}
|
|
||||||
# setup the tests
|
|
||||||
|
|
||||||
%build
|
|
||||||
# nothing to do!
|
|
||||||
|
|
||||||
%install
|
|
||||||
if [ -f license ]; then
|
|
||||||
mv license LICENSE
|
|
||||||
fi
|
|
||||||
if [ -f License ]; then
|
|
||||||
mv License LICENSE
|
|
||||||
fi
|
|
||||||
if [ -d bin ]; then
|
|
||||||
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}%{_prefix}/local/bin/$file
|
|
||||||
done
|
|
||||||
pushd %{buildroot}
|
|
||||||
touch filelist.lst
|
|
||||||
find . -type f -printf "/%h/%f\n" >> filelist.lst
|
|
||||||
popd
|
|
||||||
cp %{buildroot}/filelist.lst .
|
|
||||||
|
|
||||||
%check
|
|
||||||
%nodejs_symlink_deps --check
|
|
||||||
|
|
||||||
%files -f filelist.lst
|
|
||||||
%{_prefix}/local/bin/*
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Thu Mar 02 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 1.22.19-2
|
|
||||||
- Change yarn command path
|
|
||||||
|
|
||||||
* Sun Oct 09 2022 wangjunqi <wangjunqi@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
|
|
||||||
|
|
||||||
* Thu Sep 09 2021 Nodejs_Bot <Nodejs_Bot@openeuler.org> - 1.22.11-1
|
|
||||||
- Package Spec generated
|
|
||||||
25
ovirt-engine-yarn.spec
Normal file
25
ovirt-engine-yarn.spec
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
Name: ovirt-engine-yarn
|
||||||
|
Version: 1.7.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Yarn package manager for oVirt JavaScript applications
|
||||||
|
Group: Virtualization/Management
|
||||||
|
URL: https://yarnpkg.com
|
||||||
|
License: BSD
|
||||||
|
Source: https://github.com/yarnpkg/yarn/releases/download/v%{version}/yarn-v%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
Yarn package manager for oVirt JavaScript applications.
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/%{name}
|
||||||
|
tar -xzf %{SOURCE0}
|
||||||
|
mv yarn-v%{version}/* %{buildroot}%{_datadir}/%{name}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license %{_datadir}/%{name}/LICENSE
|
||||||
|
%{_datadir}
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Mar 3 2020 changjie.fu <changjie.fu@cs2c.com.cn> - 1.7.0-1
|
||||||
|
- Package Initialization
|
||||||
BIN
yarn-1.22.19.tgz
BIN
yarn-1.22.19.tgz
Binary file not shown.
BIN
yarn-v1.7.0.tar.gz
Normal file
BIN
yarn-v1.7.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user