forked from pool/StyLua
Accepting request 1155393 from devel:languages:lua
- BuildRequires should be cargo and not rust+cargo * a known issue is causing some broken builds e.g. providing a lower version - Reenable cargo tests. OBS-URL: https://build.opensuse.org/request/show/1155393 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/StyLua?expand=0&rev=15
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 6 02:07:17 UTC 2024 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
|
||||
|
||||
- BuildRequires should be cargo and not rust+cargo
|
||||
* a known issue is causing some broken builds e.g. providing a lower version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 6 01:58:43 UTC 2024 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
|
||||
|
||||
- Reenable cargo tests.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 3 17:02:11 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
|
@@ -25,8 +25,8 @@ License: (Apache-2.0 OR MIT) AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-
|
||||
URL: https://github.com/JohnnyMorganz/StyLua
|
||||
Source0: https://github.com/JohnnyMorganz/StyLua/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: vendor.tar.zst
|
||||
BuildRequires: cargo
|
||||
BuildRequires: cargo-packaging
|
||||
BuildRequires: rust+cargo
|
||||
BuildRequires: zstd
|
||||
|
||||
%description
|
||||
@@ -44,11 +44,8 @@ consistent code style.
|
||||
%install
|
||||
%{cargo_install} --all-features
|
||||
|
||||
# %%check
|
||||
# %%{cargo_test} --locked --features lua52
|
||||
# %%{cargo_test} --locked --features lua53
|
||||
# %%{cargo_test} --locked --features lua54
|
||||
# %%{cargo_test} --locked --features luau
|
||||
%check
|
||||
%{cargo_test} --all-features
|
||||
|
||||
%files
|
||||
%{_bindir}/%{_bin_name}
|
||||
|
Reference in New Issue
Block a user