mirror of
https://abf.rosa.ru/djam/element.git
synced 2025-02-23 15:42:56 +00:00
1.11.18
This commit is contained in:
parent
d95c846ab4
commit
bd85405259
1 changed files with 4 additions and 9 deletions
13
element.spec
13
element.spec
|
@ -19,7 +19,7 @@ URL: https://element.io
|
|||
Source0: https://github.com/vector-im/%{oname}/archive/v%{version}/%{oname}-%{version}.tar.gz
|
||||
ExclusiveArch: x86_64
|
||||
BuildRequires: yarn
|
||||
#BuildRequires: nodejs-bootstrap-bin >= 14.17.0
|
||||
#BuildRequires: nodejs-bootstrap-bin >= 16
|
||||
BuildRequires: nodejs14
|
||||
BuildRequires: git-core
|
||||
BuildRequires: curl
|
||||
|
@ -65,17 +65,12 @@ yarn run fetch --noverify --cfgdir 'element.io/release'
|
|||
|
||||
cp element.io/release/config.json config.json
|
||||
|
||||
%ifarch x86_64
|
||||
%define linuxunpacked dist/linux-unpacked
|
||||
yarn run build:64
|
||||
%else
|
||||
%define linuxunpacked dist/linux-ia32-unpacked
|
||||
yarn run build:32
|
||||
%endif
|
||||
yarn run build --dir
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_riotdir}
|
||||
cp -a %{linuxunpacked}/* %{buildroot}%{_riotdir}
|
||||
cp -a dist/linux-*/* %{buildroot}%{_riotdir}
|
||||
|
||||
|
||||
# install binary wrapper
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
|
|
Loading…
Add table
Reference in a new issue