| |
@@ -11,8 +11,8 @@
|
| |
%global __requires_exclude_from ^%{nodejs_sitelib}/yarn/.*$
|
| |
|
| |
Name: yarnpkg
|
| |
- Version: 1.22.10
|
| |
- Release: 3%{?dist}
|
| |
+ Version: 1.22.17
|
| |
+ Release: 1%{?dist}
|
| |
Summary: Fast, reliable, and secure dependency management.
|
| |
URL: https://github.com/yarnpkg/yarn
|
| |
# we need tarball with node_modules
|
| |
@@ -26,11 +26,6 @@
|
| |
BuildRequires: nodejs-packaging
|
| |
BuildRequires: npm
|
| |
|
| |
- # Package was renamed when Fedora 33 was rawhide
|
| |
- # Don't remove this before Fedora 35
|
| |
- Obsoletes: %{old_name} < 1.22.4-1
|
| |
- Provides: %{old_name} = %{version}-%{release}
|
| |
-
|
| |
%description
|
| |
Fast, reliable, and secure dependency management.
|
| |
|
| |
@@ -54,7 +49,6 @@
|
| |
mkdir -p %{buildroot}%{_bindir}
|
| |
ln -sfr %{buildroot}%{nodejs_sitelib}/%{npm_name}/bin/yarn.js %{buildroot}%{_bindir}/yarnpkg
|
| |
ln -sfr %{buildroot}%{nodejs_sitelib}/%{npm_name}/bin/yarn.js %{buildroot}%{_bindir}/yarn
|
| |
- ln -sfr %{buildroot}%{nodejs_sitelib}/%{npm_name}/bin/yarn.js %{buildroot}%{_bindir}/%{fc_name}
|
| |
|
| |
# Remove executable bits from bundled dependency tests
|
| |
find %{buildroot}%{nodejs_sitelib}/%{npm_name}/node_modules \
|
| |
@@ -66,7 +60,6 @@
|
| |
%nodejs_symlink_deps --check
|
| |
if [[ $(%{buildroot}%{_bindir}/yarnpkg --version) == %{version} ]] ; then echo PASS; else echo FAIL && exit 1; fi
|
| |
if [[ $(%{buildroot}%{_bindir}/yarn --version) == %{version} ]] ; then echo PASS; else echo FAIL && exit 1; fi
|
| |
- if [[ $(%{buildroot}%{_bindir}/%{fc_name} --version) == %{version} ]] ; then echo PASS; else echo FAIL && exit 1; fi
|
| |
%endif
|
| |
|
| |
|
| |
@@ -75,10 +68,14 @@
|
| |
%license LICENSE
|
| |
%{_bindir}/yarnpkg
|
| |
%{_bindir}/yarn
|
| |
- %{_bindir}/%{fc_name}
|
| |
%{nodejs_sitelib}/%{npm_name}
|
| |
|
| |
%changelog
|
| |
+ * Wed Nov 17 2021 Ben Kircher <bkircher@0xadd.de> - 1.22.17-1
|
| |
+ - Bump to latest upstream release
|
| |
+ - Remove obsoletes
|
| |
+ - Fix bogus symlink (RHBZ#1904279)
|
| |
+
|
| |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.10-3
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
| |
|
| |
Update the package. Seems like people are encouraged to use Yarn 2 anyways but at least update to the latest stable release (https://github.com/yarnpkg/yarn/releases).
Changes in this PR:
- Bump to latest upstream release
- Remove obsoletes
- Fix bogus symlink (RHBZ#1904279)