Name: yarn Version: 1.22.19 Release: 1mamba Summary: Fast, reliable, and secure dependency management Group: Development/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/yarnpkg/yarn Source: https://github.com/yarnpkg/yarn/releases/download/v%{version}/yarn-v%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END Requires: nodejs %description Fast, reliable, and secure dependency managemen. %prep %setup -q -n yarn-v%{version} %build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" install -dm755 %{buildroot}%{_prefix}/lib/node_modules/yarn cp -R * %{buildroot}%{_prefix}/lib/node_modules/yarn install -dm755 %{buildroot}%{_bindir} ln -s ../lib/node_modules/yarn/bin/yarn.js %{buildroot}%{_bindir}/yarn ln -s ../lib/node_modules/yarn/bin/yarn.js %{buildroot}%{_bindir}/yarnpkg %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/yarn %{_bindir}/yarnpkg %dir %{_prefix}/lib/node_modules/yarn %{_prefix}/lib/node_modules/yarn/* %doc LICENSE %changelog * Thu Dec 29 2022 Silvan Calarco 1.22.19-1mamba - update to 1.22.19 * Mon Apr 25 2022 Silvan Calarco 1.22.18-1mamba - update to 1.22.18 * Thu Dec 30 2021 Silvan Calarco 1.22.17-1mamba - update to 1.22.17 * Sun Mar 28 2021 Silvan Calarco 1.22.10-1mamba - package created using the webbuild interface