From 4a90de7db32446d9acc6533d5be7905e035f7638 Mon Sep 17 00:00:00 2001 From: Lin Runze Date: Tue, 26 Nov 2024 00:35:46 +0800 Subject: [PATCH] Replace _enable_debug_packages with debug_package --- ghc-pandoc.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ghc-pandoc.spec b/ghc-pandoc.spec index 3183341..e13f7a5 100644 --- a/ghc-pandoc.spec +++ b/ghc-pandoc.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 3.1.9 -Release: 2 +Release: 3 Summary: Conversion between markup formats License: GPL-2.0-or-later URL: https://hackage.haskell.org/package/%{pkg_name} @@ -215,7 +215,7 @@ This package provides the Haskell %{pkg_name} profiling library. %build %ghc_fix_doc_perms -%{?!ghc_debuginfo:%undefine _enable_debug_packages} +%{?!ghc_debuginfo:%global debug_package %{nil}} %cabal_configure %{?with_ghc_prof:-p} %{!?ghc_without_shared:--enable-shared} %{?ghc_without_shared:--disable-shared} %{?pkg_name:--htmldir=%{ghclibdocdir}/%{pkg_name}-%{version}} %{?1:--docdir=%{_ghclicensedir}/ghc-%1${licensedirversion} --htmldir=%{ghclibdocdir}/%1-%2} %{?ghc_subpackaging:--user}%{!?ghc_subpackaging:--global} %{?ghc_with_lib_for_ghci:--enable-library-for-ghci} until %cabal build %{?ghc_smp_mflags} %{?cabal_build_options} do @@ -416,6 +416,9 @@ fi %files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files %changelog +* Tue Nov 26 2024 Lin Runze 3.1.9-3 +- Replace _enable_debug_packages with debug_package + * Fri Sep 20 2024 Lin Runze 3.1.9-2 - Enable retrying after build failed -- Gitee