The package rpms/nodejs-yarn.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/nodejs-yarn.git/commit/?id=6460a9....
Change:
-ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit 6460a9b93fb117ee4ea8021740c18b87082789f9
Author: Zuzana Svetlikova <zsvetlik(a)redhat.com>
Date: Tue May 5 11:43:28 2020 +0200
Renamed to yarnpkg
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index bb5ffcc..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/yarn-v1.6.0.tar.gz
-/yarn-v1.7.0-bundled.tar.gz
-/yarn-v1.9.2-bundled.tar.gz
-/yarn-v1.13.0-bundled.tar.gz
-/yarn-v1.21.1-bundled.tar.gz
diff --git a/README.Fedora.md b/README.Fedora.md
deleted file mode 100644
index bc3ecc1..0000000
--- a/README.Fedora.md
+++ /dev/null
@@ -1,16 +0,0 @@
-Usage
-=====
-
-To use yarn in Fedora, you need to use
-`nodejs-yarn` and `yarnpkg` commands.
-
- $ nodejs-yarn help
- $ yarnpkg help
-
-This is because of conflicts with other
-packages providing yarn.
-
-If you wish to use yarn command,
-you can use an alias in your .bashrc.
-
- alias yarn='nodejs-yarn'
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..53aae34
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Renamed to yarnpkg
diff --git a/nodejs-yarn.spec b/nodejs-yarn.spec
deleted file mode 100644
index 944ad98..0000000
--- a/nodejs-yarn.spec
+++ /dev/null
@@ -1,143 +0,0 @@
-%global npm_name yarn
-# name yarn would probably confict with cmdtest and hadoop-yarn
-#
https://bugzilla.redhat.com/show_bug.cgi?id=1507312
-%global fc_name nodejs-yarn
-
-%{?nodejs_find_provides_and_requires}
-
-%global enable_tests 1
-
-# don't require bundled modules
-%global __requires_exclude_from ^%{nodejs_sitelib}/yarn/.*$
-
-Name: nodejs-yarn
-Version: 1.21.1
-Release: 1%{?dist}
-Summary: Fast, reliable, and secure dependency management.
-URL:
https://github.com/yarnpkg/yarn
-# we need tarball with node_modules
-Source0: %{npm_name}-v%{version}-bundled.tar.gz
-Source1: yarn-tarball.sh
-# Clarify the usage of renamed binaries
-License: BSD
-
-BuildArch: noarch
-ExclusiveArch: %{nodejs_arches} noarch
-
-BuildRequires: nodejs-packaging
-BuildRequires: npm
-
-%description
-Fast, reliable, and secure dependency management.
-
-%package -n yarnpkg
-Summary: Fast, reliable, and secure dependency manager for JavaScript
-Requires: nodejs
-# Package was renamed when Fedora 32 was rawhide
-# Don't remove this before Fedora 34
-Obsoletes: %{name} < 1.13.0-4
-Provides: %{name} = %{version}-%{release}
-
-%description -n yarnpkg
-Yarn is a fast, reliable, and secure dependency manager for JavaScript.
-
-%prep
-%setup -q -n %{npm_name}-%{version}
-
-%build
-# use build script
-npm run build
-
-# remove build dependencies from node_modules
-npm prune --production
-
-%install
-mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
-
-cp -pr package.json lib bin node_modules \
- %{buildroot}%{nodejs_sitelib}/%{npm_name}
-
-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 \
- -ipath '*/test/*' -type f -executable \
- -exec chmod -x '{}' +
-
-#%{nodejs_symlink_deps}
-
-%if 0%{?enable_tests}
-%check
-%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
-
-
-%files -n yarnpkg
-%doc README.md
-%license LICENSE
-%{_bindir}/yarnpkg
-%{_bindir}/yarn
-%{_bindir}/%{fc_name}
-%{nodejs_sitelib}/%{npm_name}
-
-%changelog
-* Mon Jan 27 2020 zsvetlik(a)redhat.com - 1.21.1-1
-- Resolves: RHBZ#1627748, #1687099, #1788329
-- Update to 1.21.1
-- Provides /usr/bin/yarn
-- Resolves CVE-2019-10773
-
-* Thu Dec 05 2019 Neal Gompa <ngompa(a)datto.com> - 1.13.0-4
-- Rename nodejs-yarn binary package to yarnpkg (similar to other distros)
-- Use nodejs macros consistently throughout spec
-- Make the tests fail the build if the tests fail
-
-* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.13.0-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Wed Feb 13 2019 Jan Stank <jstanek(a)redhat.com> - 1.13.0-2
-- Remove executable bits from bundled tests
-- Related: rhbz#1674073
-
-* Thu Feb 07 2019 Zuzana Svetlikova <zsvetlik(a)redhat.com> - 1.13.0-1
-- Update
-
-* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.9.2-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Mon Jul 30 2018 Zuzana Svetlikova <zsvetlik(a)redhat.com> - 1.9.2-1
-- Update to 1.9.2
-
-* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.7.0-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Thu May 24 2018 Zuzana Svetlikova <zsvetlik(a)redhat.com> - 1.7.0-1
-- Update to 1.7.0
-
-* Wed May 09 2018 Zuzana Svetlikova <zsvetlik(a)redhat.com> - 1.6.0-1
-- Rebase, rebuild with new packaging
-
-* Wed Mar 21 2018 Zuzana Svetlikova <zsvetlik(a)redhat.com> - 1.5.1-2
-- Add requires_exclude_from macro
-- rename nodejs-yarnpkg to yarn
-
-* Wed Mar 21 2018 Zuzana Svetlikova <zsvetlik(a)redhat.com> - 1.5.1-1
-- Rebase
-
-* Tue Jan 30 2018 Zuzana Svetlikova <zsvetlik(a)redhat.com> - 1.4.1-1
-- rebase
-- package from GH, build with npm
-
-* Tue Dec 05 2017 Zuzana Svetlikova <zsvetlik(a)redhat.com> - 1.3.2-2
-- Add fedora readme so users are able to find renamed commands
-- change source url
-- rename license according to guidelines
-
-* Mon Nov 27 2017 Zuzana Svetlikova <zsvetlik(a)redhat.com> - 1.3.2-1
-- Initial build
diff --git a/sources b/sources
deleted file mode 100644
index 5df7266..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (yarn-v1.21.1-bundled.tar.gz) =
08bdf895dc06e2fc822f22d161eda8fd2e7b9d4e29e267c9cfc384ec8e3b8d4b543259a6cd7437a2a99e1544283be1ba8cf4c6a986b0a665d7e4c40116ed92e1
diff --git a/yarn-tarball.sh b/yarn-tarball.sh
deleted file mode 100644
index 92dd1f5..0000000
--- a/yarn-tarball.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-version=$(rpm -q --specfile --qf='%{version}\n' nodejs-yarn.spec | head -n1)
-wget
https://github.com/yarnpkg/yarn/archive/v$version.tar.gz
-tar -zxf v$version.tar.gz
-cd yarn-$version
-npm install && cd .. && tar -zcf yarn-v$version-bundled.tar.gz
yarn-$version