- Cleanup _service file. Download the sources during buildtime

- Update vendored dependencies

OBS-URL: https://build.opensuse.org/package/show/X11:terminals/wezterm?expand=0&rev=120
This commit is contained in:
Soc Virnyl Estela 2024-06-15 13:44:00 +00:00 committed by Git OBS Bridge
parent d5a297fbb1
commit 9efb9c81f8
4 changed files with 17 additions and 10 deletions

View File

@ -1,5 +1,5 @@
<services> <services>
<service mode="manual" name="obs_scm"> <service mode="buildtime" name="obs_scm">
<param name="url">https://github.com/wez/wezterm</param> <param name="url">https://github.com/wez/wezterm</param>
<!-- param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@</param --> <!-- param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@</param -->
<param name="versionformat">@PARENT_TAG@</param> <param name="versionformat">@PARENT_TAG@</param>
@ -7,17 +7,17 @@
<param name="revision">5046fc225992db6ba2ef8812743fadfdfe4b184a</param> <param name="revision">5046fc225992db6ba2ef8812743fadfdfe4b184a</param>
<param name="versionrewrite-pattern">(\d+)-(\d+)-(\w+)</param> <param name="versionrewrite-pattern">(\d+)-(\d+)-(\w+)</param>
<param name="versionrewrite-replacement">\1.\2.\3</param> <param name="versionrewrite-replacement">\1.\2.\3</param>
<param name="changesgenerate">enable</param> <!-- param name="changesgenerate">enable</param -->
<param name="changesauthor">uncomfy+openbuildservice@uncomfyhalomacro.pl</param> <!-- param name="changesauthor">uncomfy+openbuildservice@uncomfyhalomacro.pl</param -->
</service> </service>
<service mode="manual" name="tar" /> <service mode="buildtime" name="tar" />
<service mode="manual" name="recompress"> <service mode="buildtime" name="recompress">
<param name="file">*.tar</param> <param name="file">*.tar</param>
<param name="compression">zst</param> <param name="compression">zst</param>
</service> </service>
<service mode="manual" name="set_version"/> <service mode="manual" name="set_version"/>
<service name="cargo_vendor" mode="manual"> <service name="cargo_vendor" mode="manual">
<param name="src">wezterm</param> <param name="src">wezterm*.tar*</param>
<param name="update">true</param> <param name="update">true</param>
<param name="filter">true</param> <param name="filter">true</param>
</service> </service>

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:88a6f4d723d557a5715c66341cf9b412acd3201ad8740316e645bbd464dfe9c6 oid sha256:93d34852e6967818c993669598639b01b1a90160155e5b2771534ba8dc92ebe3
size 55077854 size 53972914

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jun 15 13:42:49 UTC 2024 - Soc Virnyl Estela <obs@uncomfyhalomacro.pl>
- Cleanup _service file. Download the sources during buildtime
- Update vendored dependencies
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jun 15 13:23:23 UTC 2024 - Soc Virnyl Estela <obs@uncomfyhalomacro.pl> Sat Jun 15 13:23:23 UTC 2024 - Soc Virnyl Estela <obs@uncomfyhalomacro.pl>

View File

@ -107,11 +107,12 @@ printf "%{version}" > .tag
# export CFLAGS="%%optflags" # export CFLAGS="%%optflags"
# export CXXFLAGS="%%optflags" # export CXXFLAGS="%%optflags"
%if 0%{?suse_version} > 1500 %if 0%{?suse_version} > 1500
%{cargo_build} --no-default-features --features vendored-fonts,wayland,distro-defaults %{cargo_build} --no-default-features --features vendored-fonts,wayland,distro-defaults --locked
%else %else
unset LIBSSH2_SYS_USE_PKG_CONFIG
export CARGO_FEATURE_VENDORED=1 export CARGO_FEATURE_VENDORED=1
export RUSTFLAGS='%{rustflags}' export RUSTFLAGS='%{rustflags}'
cargo build --offline --release --no-default-features --features vendored-fonts,wayland,distro-defaults cargo build --offline --release --no-default-features --features vendored-fonts,wayland,distro-defaults --locked
%endif %endif
%install %install