From 668dd10c99e6e5ba99133464654a5eb4fdce1d5a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 9 Jan 2023 12:41:21 +0800 Subject: [PATCH] base ghc_version on compiler subpackage --- macros.ghc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros.ghc b/macros.ghc index 451387f..0a69c3e 100644 --- a/macros.ghc +++ b/macros.ghc @@ -7,7 +7,7 @@ LANG=C.utf8\ ./Setup # compiler version -%ghc_version %{?ghc_version_override}%{!?ghc_version_override:%(rpm -q --qf %%{version} %{?ghc_name}%{!?ghc_name:ghc})} +%ghc_version %{?ghc_version_override}%{!?ghc_version_override:%(rpm -q --qf %%{version} %{?ghc_name}%{!?ghc_name:ghc}-compiler)} %ghc_set_gcc_flags\ %global _lto_cflags %{nil}\