diff options
| -rw-r--r-- | nodejs/bitwarden-cli.spec | 29 |
1 files changed, 7 insertions, 22 deletions
diff --git a/nodejs/bitwarden-cli.spec b/nodejs/bitwarden-cli.spec index 7d63c6d..f23b454 100644 --- a/nodejs/bitwarden-cli.spec +++ b/nodejs/bitwarden-cli.spec @@ -1,5 +1,4 @@ %global npm_name @bitwarden/cli -%bcond_with tests %{?nodejs_default_filter} #{?nodejs_find_provides_and_requires} @@ -9,12 +8,12 @@ Version: 1.13.3 Release: 1%{?dist} Summary: Bitwarden vault CLI tool -License: GPLv3 +# json-schema is (AFLv2.1 or BSD) +License: GPLv3 and 0BSD and (AFL or BSD) and ASL 2.0 and BSD and (BSD or GPLv3) and ISC and MIT and Unlicense URL: https://github.com/bitwarden/cli Source0: https://registry.npmjs.org/%{npm_name}/-/cli-%{version}.tgz#/%{name}-%{version}.tgz -Source1: %{name}-%{version}-nm-prod.tgz -Source2: %{name}-%{version}-nm-dev.tgz -Source3: %{name}-%{version}-bundled-licenses.txt +Source1: @%{name}-%{version}-nm-prod.tgz +Source3: @%{name}-%{version}-bundled-licenses.txt BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch @@ -61,28 +60,14 @@ node %{nodejs_sitelib}/%{npm_name}/build/bw.js \$@ EOF -%if %{with tests} -%check -%nodejs_symlink_deps --check -# Setup bundled dev node_modules for testing -tar xfz %{SOURCE2} -pushd node_modules -ln -s ../node_modules_dev/* . -popd -pushd node_modules/.bin -ln -s ../../node_modules_dev/.bin/* . -popd -%endif - - %files -%license LICENSE.txt %{name}-%{version}-bundled-licenses.txt +%license LICENSE.txt @%{name}-%{version}-bundled-licenses.txt %doc README.md %attr(0755,root,root) %{_bindir}/bw -%dir %{nodejs_sitelib}/@bitwarden +# dir #{nodejs_sitelib}/@bitwarden %{nodejs_sitelib}/%{npm_name} %changelog -* Sun Jan 17 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.13.3-1 +* Tue Jan 19 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.13.3-1 - Initial package |
