ghc-deps.sh: ignore internal libraries (#1822444)

epel9
Jens Petersen 5 years ago
parent 0957e8f99b
commit 1f6b86fa4b

@ -30,6 +30,7 @@ for i in $files; do
ids=$($GHC_PKG field $name $field | sed -e "s/rts//" -e "s/bin-package-db-[^ ]\+//")
for d in $ids; do
case $d in
*-*-internal) ;;
*-*) echo "ghc-devel($d)" ;;
*) ;;
esac
@ -40,6 +41,7 @@ for i in $files; do
ids=$($GHC_PKG field $pkgver $field | sed -e "s/rts//" -e "s/bin-package-db-[^ ]\+//")
for d in $ids; do
case $d in
*-*-internal) ;;
*-*)
case $field in
id)

@ -10,8 +10,8 @@
#%%global without_hscolour 1
Name: ghc-rpm-macros
Version: 2.0.7
Release: 2%{?dist}
Version: 2.0.8
Release: 1%{?dist}
Summary: RPM macros for building Haskell packages for GHC
License: GPLv3+
@ -212,6 +212,9 @@ EOF
%changelog
* Sun May 10 2020 Jens Petersen <petersen@redhat.com> - 2.0.8-1
- ghc-deps.sh: ignore internal libraries (#1822444)
* Fri May 8 2020 Jens Petersen <petersen@redhat.com> - 2.0.7-2
- obsolete ghc-here (dropped from hledger)

Loading…
Cancel
Save