Fix: Ghostty internal version (#2838)

* Fix: Internal Ghostty version

This fixes the version Ghostty displays on fetches such as Fastfetch. Otherwise stable builds of Ghostty incorrectly report themselves as dev builds.

Signed-off-by: Gil <rockgrub@protonmail.com>

* Cleanup: %?dist to %{?dist}

More technically correct I suppose but the inconsistency just bothered me. D:

Signed-off-by: Gil <rockgrub@protonmail.com>

* Bump: Release

Signed-off-by: Gil <rockgrub@protonmail.com>

---------

Signed-off-by: Gil <rockgrub@protonmail.com>
This commit is contained in:
Gil
2025-01-03 02:13:19 -06:00
committed by GitHub
parent 16b60ab51d
commit 84f0dcbe2c
2 changed files with 3 additions and 2 deletions
@@ -6,7 +6,7 @@
Name: ghostty-nightly
Version: %{commit_date}.%{shortcommit}
Release: 1%?dist
Release: 1%{?dist}
Summary: A fast, native terminal emulator written in Zig; this is the Tip (nightly) build.
License: MIT AND MPL-2.0 AND OFL-1.1
URL: https://ghostty.org/
+2 -1
View File
@@ -5,7 +5,7 @@
Name: ghostty
Version: 1.0.1
Release: 3%{?dist}
Release: 4%{?dist}
Summary: A fast, native terminal emulator written in Zig.
License: MIT AND MPL-2.0 AND OFL-1.1
URL: https://ghostty.org/
@@ -94,6 +94,7 @@ zig build \
--prefix "%{_prefix}" --prefix-lib-dir "%{_libdir}" \
--prefix-exe-dir "%{_bindir}" --prefix-include-dir "%{_includedir}" \
--verbose \
-Dversion-string=%{version} \
-Dcpu=baseline \
-Dpie=true \
-Demit-docs