Better versioned tarball
Some checks failed
Continuous integration / Tests (ubuntu-latest) (push) Failing after 18s
Continuous integration / Check clippy, formatting, and documentation (push) Failing after 27s
Continuous integration / Check fuzzers (push) Failing after 23s
Continuous integration / Check mininum Rust version (push) Failing after 25s
Continuous integration / Tests (windows-latest) (push) Has been cancelled
Continuous integration / Tests (push) Has been cancelled

This commit is contained in:
Сергей Конев 2024-10-16 16:24:53 +03:00
parent a8d83b9bab
commit b57e6284fb
3 changed files with 3553 additions and 1 deletions

3548
.gear/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,2 +1,4 @@
tar: .
tar: v@version@:.
tar: ./vendor name=@name@-@version@-vendor base=vendor/
copy: .gear/Cargo.lock

View File

@ -11,6 +11,7 @@ Packager: Sergey Konev <konevsa@altlinux.org>
Source: %name-%version.tar
Source1: %name-%version-vendor.tar
Source2: Cargo.lock
BuildRequires(pre): rpm-build-rust
BuildRequires: /proc
@ -31,6 +32,7 @@ as LaTeX while being much easier to learn and use. Typst has:
%prep
%setup -a1
cp -f %SOURCE2 Cargo.lock
mkdir -p ./.cargo
cat >> ./.cargo/config.toml <<EOF