Mageia Bugzilla – Attachment 12706 Details for
Bug 24029
yarn - A fast, reliable, and secure dependency management for nodejs/npm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
New proposal spec file for the latest version
yarn.spec (text/plain), 1.49 KB, created by
Kristoffer Grundström
on 2021-05-08 01:48:57 CEST
(
hide
)
Description:
New proposal spec file for the latest version
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2021-05-08 01:48:57 CEST
Size:
1.49 KB
patch
obsolete
>Name: yarn >Version: 1.22.10 >Release: %mkrel 1 >Summary: ð¦ð Fast, reliable, and secure dependency management >License: BSD-2-Clause >URL: https://github.com/yarnpkg/%{name}/releases >Source: %{URL}/download/v%{version}/yarn-v%{version}.tar.gz >Source1: %{URL}/download/v%{version}/yarn-v%{version}.tar.gz.asc >Requires: nodejs >= 4.0 >Requires: sed >BuildArch: noarch > >%description >Fast: Yarn caches every package it has downloaded, so it never needs to >download the same package again. It also does almost everything concurrently to >maximize resource utilization. This means even faster installs. > >Reliable: Using a detailed but concise lockfile format and a deterministic >algorithm for install operations, Yarn is able to guarantee that any >installation that works on one system will work exactly the same on another >system. > >Secure: Yarn uses checksums to verify the integrity of every installed package >before its code is executed. > >%prep >%autosetup -n %{name}-v%{version} > >%build >rm bin/*.cmd >perl -p -i -e 's|%{_bindir}/env node|%{_bindir}/node|g' bin/* lib/* > >%install >install -D -d -m 0755 %{buildroot}%{_datadir}/yarn/ %{buildroot}%{_bindir} >cp -av bin/ lib/ package.json %{buildroot}%{_datadir}/yarn/ >ln -s %{_datadir}/yarn/bin/yarn %{buildroot}%{_bindir}/yarn >ln -s %{_datadir}/yarn/bin/yarnpkg %{buildroot}%{_bindir}/yarnpkg > >%files >%doc README.md >%license LICENSE >%{_datadir}/yarn/ >%{_bindir}/yarn >%{_bindir}/yarnpkg
Name: yarn Version: 1.22.10 Release: %mkrel 1 Summary: ð¦ð Fast, reliable, and secure dependency management License: BSD-2-Clause URL: https://github.com/yarnpkg/%{name}/releases Source: %{URL}/download/v%{version}/yarn-v%{version}.tar.gz Source1: %{URL}/download/v%{version}/yarn-v%{version}.tar.gz.asc Requires: nodejs >= 4.0 Requires: sed BuildArch: noarch %description Fast: Yarn caches every package it has downloaded, so it never needs to download the same package again. It also does almost everything concurrently to maximize resource utilization. This means even faster installs. Reliable: Using a detailed but concise lockfile format and a deterministic algorithm for install operations, Yarn is able to guarantee that any installation that works on one system will work exactly the same on another system. Secure: Yarn uses checksums to verify the integrity of every installed package before its code is executed. %prep %autosetup -n %{name}-v%{version} %build rm bin/*.cmd perl -p -i -e 's|%{_bindir}/env node|%{_bindir}/node|g' bin/* lib/* %install install -D -d -m 0755 %{buildroot}%{_datadir}/yarn/ %{buildroot}%{_bindir} cp -av bin/ lib/ package.json %{buildroot}%{_datadir}/yarn/ ln -s %{_datadir}/yarn/bin/yarn %{buildroot}%{_bindir}/yarn ln -s %{_datadir}/yarn/bin/yarnpkg %{buildroot}%{_bindir}/yarnpkg %files %doc README.md %license LICENSE %{_datadir}/yarn/ %{_bindir}/yarn %{_bindir}/yarnpkg
View Attachment As Raw
Actions:
View
Attachments on
bug 24029
:
10579
|
11197
|
11883
| 12706