diff options
author | CoprDistGit <infra@openeuler.org> | 2024-07-01 13:50:11 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-07-01 13:50:11 +0000 |
commit | 7e496c35d3284859115ba567558620df6f0a4477 (patch) | |
tree | 45dbbfa7bed134a503b3aa8a1d622807b01d82f2 | |
parent | b1bc71f06fd123804e70c08704310636b87ea518 (diff) |
automatic import of yarnpkgopeneuler24.03_LTS
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | sources | 1 | ||||
-rw-r--r-- | yarnpkg.spec | 41 |
3 files changed, 43 insertions, 0 deletions
@@ -0,0 +1 @@ +/yarn-v1.22.22.tar.gz @@ -0,0 +1 @@ +368f9a4d279c2014bee630da7b7771d2 yarn-v1.22.22.tar.gz diff --git a/yarnpkg.spec b/yarnpkg.spec new file mode 100644 index 0000000..2301e1d --- /dev/null +++ b/yarnpkg.spec @@ -0,0 +1,41 @@ +%global debug_package %{nil} +%global npm_name yarn + +%global __requires_exclude_from ^(%{nodejs_sitelib}/yarn/lib/.*|%{nodejs_sitelib}/yarn/bin/yarn(|\\.cmd|\\.ps1|pkg.*))$ + +Name: yarnpkg +Version: 1.22.22 +Release: 1 +Summary: Fast, reliable, and secure dependency management. + +License: BSD-2-Clause +URL: https://github.com/yarnpkg/yarn +Source0: https://github.com/yarnpkg/yarn/releases/download/v%{version}/yarn-v%{version}.tar.gz + +Requires: nodejs +BuildRequires: npm + +%description +Fast, reliable, and secure dependency management. + + +%prep +%setup -q -n yarn-v%{version} + + +%build + + +%install +npm i -g --prefix="%{buildroot}/usr" %{SOURCE0} + +rm -rfv %{buildroot}/etc/ + + +%files +%doc README.md +%license LICENSE + +%{_bindir}/yarnpkg +%{_bindir}/yarn +%{nodejs_sitelib}/%{npm_name}/ |