diff --git a/ghc-deps.sh b/ghc-deps.sh index 9a104b0..ffd0d10 100755 --- a/ghc-deps.sh +++ b/ghc-deps.sh @@ -36,7 +36,7 @@ for i in $files; do # exclude rts.conf $PKGCONFDIR/*-*.conf) name=$(grep "^name: " $i | sed -e "s/name: //") - ids=$($GHC_PKG field $name $field | sed -e "s/ rts\b//" -e "s/bin-package-db-[^ ]\+//") + ids=$($GHC_PKG field $name $field | sed -e "s/ rts[^-]//") for d in $ids; do case $d in *-*-internal) ;; diff --git a/ghc-rpm-macros.spec b/ghc-rpm-macros.spec index 04b1109..35205d1 100644 --- a/ghc-rpm-macros.spec +++ b/ghc-rpm-macros.spec @@ -7,7 +7,7 @@ %endif Name: ghc-rpm-macros -Version: 2.3.8 +Version: 2.3.9 Release: 1%{?dist} Summary: RPM macros for building Haskell packages for GHC @@ -184,6 +184,9 @@ EOF %changelog +* Mon Dec 20 2021 Jens Petersen - 2.3.9-1 +- ghc-deps.sh: only exclude unversioned rts.conf + * Mon Dec 20 2021 Jens Petersen - 2.3.8-1 - _arch fits Cabal better for ghclibplatform