- Fix build on Leap 15.6

- Add x86_64 and aarch64 to ExclusiveArch

OBS-URL: https://build.opensuse.org/package/show/editors/neovide?expand=0&rev=2
This commit is contained in:
Jianhua Lu 2024-09-06 13:06:16 +00:00 committed by Git OBS Bridge
parent e2d0e34853
commit c9ca41dac3
2 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 6 12:45:21 UTC 2024 - Jianhua Lu <lujianhua000@gmail.com>
- Fix build on Leap 15.6
- Add x86_64 and aarch64 to ExclusiveArch
-------------------------------------------------------------------
Thu Sep 05 09:54:21 UTC 2024 - lujianhua000@gmail.com

View File

@ -33,6 +33,7 @@ BuildRequires: clang
BuildRequires: gcc-c++
BuildRequires: gn
BuildRequires: ninja
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(harfbuzz)
@ -41,6 +42,12 @@ BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(icu-uc)
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(zlib)
%if 0%{?suse_version} && 0%{?suse_version} < 1550
# clang++ needs gcc13 c++ headers to compile skia on Leap 15.6
BuildRequires: libstdc++6-devel-gcc13
%endif
ExclusiveArch: x86_64 aarch64
%description
No Nonsense Neovim Client in Rust
@ -66,10 +73,7 @@ install -Dm644 assets/neovide.svg %{buildroot}%{_datadir}/icons/hicolor/scalable
%doc README.md
%license LICENSE
%{_bindir}/neovide
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/scalable
%dir %{_datadir}/icons/hicolor/scalable/apps
%{_datadir}/icons/hicolor/scalable/apps/neovide.svg
%{_datadir}/applications/neovide.desktop
%{_datadir}/icons/hicolor/scalable/apps/neovide.svg
%changelog