Accepting request 1160858 from home:uncomfyhalomacro:branches:X11:terminals

- Use `filter` option in cargo vendoring.
- Use zstd compression for source tar and vendored tar. 
- `filter` + zstd results in better compression and storage savings.

OBS-URL: https://build.opensuse.org/request/show/1160858
OBS-URL: https://build.opensuse.org/package/show/X11:terminals/alacritty?expand=0&rev=82
This commit is contained in:
Avindra Goolcharan 2024-03-26 00:18:13 +00:00 committed by Git OBS Bridge
parent feb57c4004
commit 0e71d28259
8 changed files with 18 additions and 11 deletions

View File

@ -1,7 +1,7 @@
To update this package to a new upstream release, run:
$ current_version=$(ls alacritty-*.tar.xz)
$ osc service disabledrun
$ osc service manualrun
This should be enough do make a tarball out of the GitHub source tree AND
vendor all the needed Rust crates. If the cargo-audit source service detect

View File

@ -30,13 +30,13 @@
<service name="tar" mode="manual"/>
<service name="recompress" mode="manual">
<param name="file">*.tar</param>
<param name="compression">xz</param>
<param name="compression">zst</param>
</service>
<service name="set_version" mode="manual"/>
<service name="cargo_vendor" mode="manual">
<param name="src">alacritty*.tar.*</param>
<param name="compression">xz</param>
<param name="update">true</param>
<param name="filter">true</param>
</service>
<service name="cargo_audit" mode="manual"/>
</services>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a58c4e5181111c02f12f20643da8e5e9c61ecadd7e10db42799828cd9c32e8a2
size 1133104

3
alacritty-0.13.1.tar.zst Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dbaac0016329fc82f8c51316dd6eb32deb45f0e91a6a4988f87e43b3e72f054b
size 1173603

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Mar 23 01:18:19 UTC 2024 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
- Use `filter` option in cargo vendoring.
- Use zstd compression for source tar and vendored tar.
- `filter` + zstd results in better compression and storage savings.
-------------------------------------------------------------------
Thu Jan 11 10:40:34 UTC 2024 - dimstar@opensuse.org

View File

@ -22,8 +22,8 @@ Release: 0
Summary: A GPU-accelerated terminal emulator
License: Apache-2.0
URL: https://github.com/alacritty/alacritty
Source0: %{name}-%{version}.tar.xz
Source1: vendor.tar.xz
Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
Source3: README.suse-maint
BuildRequires: cargo-packaging
BuildRequires: cmake

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3b7476be6fe0adc24d44d1b7d6f5e974164af1d9e29dc4eebf3a6de3e667ec89
size 30405768

3
vendor.tar.zst Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7bfc742fcf42cefbb7191ba8757045578d06585a8985d6c0cb028f01ef962ae0
size 10588482