From 6fd4db1b8a399bbffa93ed56adf07c6325880508 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Thu, 5 Jun 2025 03:29:19 -0700 Subject: [PATCH] fix(ghostty-nightly): I hate epochs (#5247) (#5249) (cherry picked from commit 3d6ca2a85d0e67cb6c3a0c541a4f09873e898307) Signed-off-by: Gilver Co-authored-by: Gilver --- anda/devs/ghostty/nightly/ghostty-nightly.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/anda/devs/ghostty/nightly/ghostty-nightly.spec b/anda/devs/ghostty/nightly/ghostty-nightly.spec index 46f3defd35..32236f80e9 100644 --- a/anda/devs/ghostty/nightly/ghostty-nightly.spec +++ b/anda/devs/ghostty/nightly/ghostty-nightly.spec @@ -14,7 +14,7 @@ Name: %{base_name}-nightly Version: %{ver}~tip^%{commit_date}git%{shortcommit} -Release: 1%?dist +Release: 2%?dist %if 0%{?fedora} <= 41 Epoch: 1 %endif @@ -23,6 +23,7 @@ License: MIT AND MPL-2.0 AND OFL-1.1 AND (WTFPL OR CC0-1.0) AND Apache-2. URL: https://%{base_name}.org Source0: https://github.com/%{base_name}-org/%{base_name}/releases/download/tip/%{base_name}-source.tar.gz Source1: https://github.com/%{base_name}-org/%{base_name}/releases/download/tip/%{base_name}-source.tar.gz.minisig +BuildRequires: anda-srpm-macros BuildRequires: gettext BuildRequires: gtk4-devel BuildRequires: libadwaita-devel @@ -44,8 +45,8 @@ BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(oniguruma) BuildRequires: pkgconfig(zlib) -Requires: %{name}-terminfo = %{version}-%{release} -Requires: %{name}-shell-integration = %{version}-%{release} +Requires: %{name}-terminfo = %{evr} +Requires: %{name}-shell-integration = %{evr} Requires: gtk4 Requires: gtk4-layer-shell Requires: libadwaita @@ -119,7 +120,7 @@ Supplements: %{name} %if 0%{?fedora} <= 41 Provides: %{name}-terminfo = %{commit_date}.%{shortcommit} %endif -Obsoletes: %{name}-terminfo-source < %{version}-%{release} +Obsoletes: %{name}-terminfo-source < %{evr} BuildArch: noarch %description terminfo