forked from pool/bitwarden
Accepting request 1092611 from devel:languages:nodejs
OBS-URL: https://build.opensuse.org/request/show/1092611 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bitwarden?expand=0&rev=7
This commit is contained in:
commit
7bdaf6f926
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 12 15:08:13 UTC 2023 - Bruno Pitrus <brunopitrus@hotmail.com>
|
||||||
|
- Replace deprecated rust-packaging with cargo-packaging (boo#1211624)
|
||||||
|
- Fix unresolvable build on Fedora
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 31 17:04:02 UTC 2023 - Bruno Pitrus <brunopitrus@hotmail.com>
|
Wed May 31 17:04:02 UTC 2023 - Bruno Pitrus <brunopitrus@hotmail.com>
|
||||||
- New upstream release 2023.5.0
|
- New upstream release 2023.5.0
|
||||||
|
@ -25,6 +25,10 @@ Group: Productivity/Security
|
|||||||
License: GPL-3.0-only and MIT and (Apache-2.0 or MIT)
|
License: GPL-3.0-only and MIT and (Apache-2.0 or MIT)
|
||||||
URL: https://github.com/bitwarden/clients
|
URL: https://github.com/bitwarden/clients
|
||||||
|
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
%global build_rustflags %{__rustflags}
|
||||||
|
%endif
|
||||||
|
|
||||||
#x86 electron requires SSE2
|
#x86 electron requires SSE2
|
||||||
%ifarch %ix86
|
%ifarch %ix86
|
||||||
ExclusiveArch: i586 i686
|
ExclusiveArch: i586 i686
|
||||||
@ -71,6 +75,7 @@ Patch4000: remove-esbuild-version-check.patch
|
|||||||
#tools we use explicitly
|
#tools we use explicitly
|
||||||
%if 0%{?fedora_version}
|
%if 0%{?fedora_version}
|
||||||
%define _ttfontsdir %{_datadir}/fonts/truetype
|
%define _ttfontsdir %{_datadir}/fonts/truetype
|
||||||
|
BuildRequires: glibc-all-langpacks
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?fedora} >= 37
|
%if 0%{?fedora} >= 37
|
||||||
BuildRequires: nodejs-npm
|
BuildRequires: nodejs-npm
|
||||||
@ -81,7 +86,7 @@ BuildRequires: cargo
|
|||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
BuildRequires: rust-srpm-macros
|
BuildRequires: rust-srpm-macros
|
||||||
%else
|
%else
|
||||||
BuildRequires: rust-packaging
|
BuildRequires: cargo-packaging
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: fontpackages-devel
|
BuildRequires: fontpackages-devel
|
||||||
@ -195,6 +200,9 @@ export CFLAGS="%{optflags} -fpic -fno-semantic-interposition -fvisibility=hidden
|
|||||||
export CXXFLAGS="%{optflags} -fpic -fno-semantic-interposition -fvisibility=hidden"
|
export CXXFLAGS="%{optflags} -fpic -fno-semantic-interposition -fvisibility=hidden"
|
||||||
export LDFLAGS="%{?build_ldflags}"
|
export LDFLAGS="%{?build_ldflags}"
|
||||||
|
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
auditable=auditable
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -203,7 +211,7 @@ PATH="%{_builddir}/path:$PATH" npm rebuild --verbose --foreground-scripts --node
|
|||||||
|
|
||||||
cd apps/desktop
|
cd apps/desktop
|
||||||
pushd desktop_native
|
pushd desktop_native
|
||||||
cargo -vv build --release
|
cargo -vv $auditable build --release
|
||||||
popd
|
popd
|
||||||
|
|
||||||
npm run build
|
npm run build
|
||||||
|
Loading…
Reference in New Issue
Block a user