ghc-deps.sh: ignore internal libraries (#1822444)
This commit is contained in:
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-[^ ]\+//")
|
ids=$($GHC_PKG field $name $field | sed -e "s/rts//" -e "s/bin-package-db-[^ ]\+//")
|
||||||
for d in $ids; do
|
for d in $ids; do
|
||||||
case $d in
|
case $d in
|
||||||
|
*-*-internal) ;;
|
||||||
*-*) echo "ghc-devel($d)" ;;
|
*-*) echo "ghc-devel($d)" ;;
|
||||||
*) ;;
|
*) ;;
|
||||||
esac
|
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-[^ ]\+//")
|
ids=$($GHC_PKG field $pkgver $field | sed -e "s/rts//" -e "s/bin-package-db-[^ ]\+//")
|
||||||
for d in $ids; do
|
for d in $ids; do
|
||||||
case $d in
|
case $d in
|
||||||
|
*-*-internal) ;;
|
||||||
*-*)
|
*-*)
|
||||||
case $field in
|
case $field in
|
||||||
id)
|
id)
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
#%%global without_hscolour 1
|
#%%global without_hscolour 1
|
||||||
|
|
||||||
Name: ghc-rpm-macros
|
Name: ghc-rpm-macros
|
||||||
Version: 2.0.7
|
Version: 2.0.8
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: RPM macros for building Haskell packages for GHC
|
Summary: RPM macros for building Haskell packages for GHC
|
||||||
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
@ -212,6 +212,9 @@ EOF
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri May 8 2020 Jens Petersen <petersen@redhat.com> - 2.0.7-2
|
||||||
- obsolete ghc-here (dropped from hledger)
|
- obsolete ghc-here (dropped from hledger)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user