Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bitwarden for openSUSE:Factory checked in at 2024-05-22 21:30:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bitwarden (Old) and /work/SRC/openSUSE:Factory/.bitwarden.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bitwarden" Wed May 22 21:30:17 2024 rev:25 rq:1175643 version:2024.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/bitwarden/bitwarden.changes 2024-05-07 18:04:19.460515386 +0200 +++ /work/SRC/openSUSE:Factory/.bitwarden.new.1880/bitwarden.changes 2024-05-22 21:30:46.950262649 +0200 @@ -1,0 +2,7 @@ +Tue May 21 21:38:33 UTC 2024 - Bruno Pitrus <brunopit...@hotmail.com> + +- New upstream release 2024.5.0 + * no changelog provided +- Use new %electron_rebuild and %electron_check_native macros in specfile + +------------------------------------------------------------------- Old: ---- bitwarden-2024.4.3.obscpio New: ---- bitwarden-2024.5.0.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bitwarden.spec ++++++ --- /var/tmp/diff_new_pack.MIXIPB/_old 2024-05-22 21:30:50.382388017 +0200 +++ /var/tmp/diff_new_pack.MIXIPB/_new 2024-05-22 21:30:50.386388164 +0200 @@ -18,7 +18,7 @@ # Name: bitwarden -Version: 2024.4.3 +Version: 2024.5.0 Release: 0 Summary: A secure and free password manager for all of your devices Group: Productivity/Security @@ -81,11 +81,7 @@ %if 0%{?fedora} BuildRequires: rust-srpm-macros %else -%if 0%{?suse_version} >= 1600 BuildRequires: cargo-packaging >= 1.2.0+3 -%else -BuildRequires: rust-packaging -%endif BuildRequires: cargo-auditable %endif BuildRequires: fdupes @@ -136,9 +132,6 @@ rm -rvf libs/angular/src/scss/bwicons/fonts -mkdir %{_builddir}/cargo - - #Rust config cd apps/desktop/desktop_native tar --zstd -xf %SOURCE4 @@ -151,46 +144,8 @@ done -# Make `node` and `npm` binaries refer to Electron -%if 0%{?suse_version} -NODEJS_DEFAULT_VER=$(echo %nodejs_version|sed 's/\..*//') -%else -NODEJS_DEFAULT_VER= -%endif - - -# Electron has a little known feature that make it work like a nodejs binary. -# We make use of it since the system node may be too bleeding-edge -# and to avoid building the same modules twice. -# Not all scripts work when run under electron, -# but importantly npm/yarn and GYP do. -mkdir %{_builddir}/path - - - -cp -v /dev/stdin %{_builddir}/path/node << EOF -#!/bin/sh -ELECTRON_RUN_AS_NODE=1 exec %{_libdir}/electron/electron "\$@" -EOF - -# HACK: This will refer to /usr/bin/npm17 on openSUSE, /usr/bin/npm on Fedora which are Node scripts -cp -v /dev/stdin %{_builddir}/path/npm << EOF -#!/bin/sh -exec node %{_bindir}/npm${NODEJS_DEFAULT_VER} "\$@" -EOF - -cp -v /dev/stdin %{_builddir}/path/npx << EOF -#!/bin/sh -exec node %{_bindir}/npx${NODEJS_DEFAULT_VER} "\$@" -EOF - - -chmod +x %{_builddir}/path/* - - %build -export PATH="%{_builddir}/cargo:$PATH" %ifarch %ix86 export RUSTC_BOOTSTRAP=1 %endif @@ -216,7 +171,7 @@ -PATH="%{_builddir}/path:$PATH" npm rebuild --verbose --foreground-scripts --nodedir=%{_includedir}/electron +%electron_rebuild cd apps/desktop pushd desktop_native @@ -300,16 +255,7 @@ %endif %check -# Sanity check that we don't have unresolved symbols, and only call napi_* functions (which are ABI stable, unlike node_* ones) -pushd %{buildroot}%{_libdir}/%{name} -find . -name '*.node' -print0 | xargs -0 -t -IXXX sh -c '! ldd -d -r XXX | \ -grep '\''^undefined symbol'\'' | \ -grep -v '\''^undefined symbol: napi_'\'' ' - -# Check that all native modules are loadable. -find . -name '*.node' -print0 | xargs -0 -t -IXXX env ELECTRON_RUN_AS_NODE=1 %{_libdir}/electron/electron -e 'require("XXX")' -popd - +%electron_check_native %files ++++++ _service ++++++ --- /var/tmp/diff_new_pack.MIXIPB/_old 2024-05-22 21:30:50.434389918 +0200 +++ /var/tmp/diff_new_pack.MIXIPB/_new 2024-05-22 21:30:50.438390063 +0200 @@ -2,8 +2,8 @@ <service name="obs_scm" mode="manual"> <param name="scm">git</param> <param name="url">https://github.com/bitwarden/clients.git</param> - <param name="revision">desktop-v2024.4.3</param> - <param name="version">2024.4.3</param> + <param name="revision">desktop-v2024.5.0</param> + <param name="version">2024.5.0</param> <param name="filename">bitwarden</param> <param name="exclude">bitwarden_license/*</param> <!-- The code in bitwarden_license MUST NOT be included in published tarballs as it is non-redistributable! --> ++++++ bitwarden-2024.4.3.obscpio -> bitwarden-2024.5.0.obscpio ++++++ /work/SRC/openSUSE:Factory/bitwarden/bitwarden-2024.4.3.obscpio /work/SRC/openSUSE:Factory/.bitwarden.new.1880/bitwarden-2024.5.0.obscpio differ: char 49, line 1 ++++++ bitwarden.obsinfo ++++++ --- /var/tmp/diff_new_pack.MIXIPB/_old 2024-05-22 21:30:50.494392110 +0200 +++ /var/tmp/diff_new_pack.MIXIPB/_new 2024-05-22 21:30:50.494392110 +0200 @@ -1,5 +1,5 @@ name: bitwarden -version: 2024.4.3 -mtime: 1715000695 -commit: edbbfe751c7f94ce01a2865e05cb2a9c3b89d56c +version: 2024.5.0 +mtime: 1716237070 +commit: a22d83fd57beae492dfbdfa7e29223309d2dcc16 ++++++ no-sourcemaps.patch ++++++ --- /var/tmp/diff_new_pack.MIXIPB/_old 2024-05-22 21:30:50.538393716 +0200 +++ /var/tmp/diff_new_pack.MIXIPB/_new 2024-05-22 21:30:50.538393716 +0200 @@ -3,7 +3,7 @@ @@ -6,7 +6,7 @@ "target": "ES2016", "module": "ES2020", - "lib": ["es5", "es6", "es7", "dom"], + "lib": ["es5", "es6", "es7", "dom", "ES2021"], - "sourceMap": true, + "sourceMap": false, "allowSyntheticDefaultImports": true, ++++++ node-vendor.tar.zst ++++++ Binary files /var/tmp/diff_new_pack.MIXIPB/_old and /var/tmp/diff_new_pack.MIXIPB/_new differ ++++++ remove-unnecessary-deps.patch ++++++ --- /var/tmp/diff_new_pack.MIXIPB/_old 2024-05-22 21:30:50.894406721 +0200 +++ /var/tmp/diff_new_pack.MIXIPB/_new 2024-05-22 21:30:50.906407159 +0200 @@ -60,17 +60,17 @@ "@types/node": "18.19.29", - "@types/node-fetch": "2.6.4", "@types/node-forge": "1.3.11", - "@types/node-ipc": "9.2.0", + "@types/node-ipc": "9.2.3", "@types/papaparse": "5.3.14", - "@types/proper-lockfile": "4.1.4", -- "@types/react": "16.14.57", +- "@types/react": "16.14.60", - "@types/retry": "0.12.5", + "@types/semver": "^7.3.4", "@types/zxcvbn": "4.4.4", -- "@typescript-eslint/eslint-plugin": "7.4.0", -- "@typescript-eslint/parser": "7.4.0", +- "@typescript-eslint/eslint-plugin": "7.7.1", +- "@typescript-eslint/parser": "7.7.1", - "@webcomponents/custom-elements": "1.6.0", - "autoprefixer": "10.4.18", + "autoprefixer": "10.4.19", - "base64-loader": "1.0.0", - "chromatic": "10.9.6", "concurrently": "8.2.2", @@ -102,7 +102,7 @@ "html-webpack-plugin": "5.6.0", - "husky": "9.0.11", - "jest-junit": "16.0.0", - "jest-mock-extended": "3.0.5", + "jest-mock-extended": "3.0.6", - "jest-preset-angular": "14.0.3", - "lint-staged": "15.2.2", "mini-css-extract-plugin": "2.8.1", @@ -112,10 +112,10 @@ "postcss": "8.4.38", "postcss-loader": "8.1.1", - "prettier": "3.2.2", -- "prettier-plugin-tailwindcss": "0.5.13", +- "prettier-plugin-tailwindcss": "0.5.14", - "process": "0.11.10", -- "react": "18.2.0", -- "react-dom": "18.2.0", +- "react": "18.3.1", +- "react-dom": "18.3.1", "regedit": "^3.0.3", - "remark-gfm": "3.0.1", "rimraf": "5.0.5", @@ -123,7 +123,7 @@ "sass-loader": "13.3.3", - "storybook": "7.6.17", - "style-loader": "3.3.4", -- "tailwindcss": "3.4.1", +- "tailwindcss": "3.4.3", - "ts-jest": "29.1.2", "ts-loader": "9.5.1", "tsconfig-paths-webpack-plugin": "4.1.0", @@ -187,7 +187,7 @@ - "qrious": "4.0.2", "rxjs": "7.8.1", - "tabbable": "6.2.0", - "tldts": "6.1.16", + "tldts": "6.1.18", "utf-8-validate": "6.0.3", "zone.js": "0.13.3", "zxcvbn": "4.4.2"