ghc-dep.sh: check for *_p.a under Hadrian platform subdir as well

epel9
Jens Petersen 2 years ago
parent fa4c615f86
commit 6d69503ff3

@ -57,7 +57,7 @@ for i in $files; do
echo "$GHCPREFIX-prof($d)"
;;
*)
if [ -f "$PKGBASELIB"/*/libHS"${d}"_p.a ] || [ -f "$BUILDROOT$PKGBASELIB"/*/libHS"${d}"_p.a ]; then
if [ -f "$PKGBASELIB"/*/libHS"${d}"_p.a -o -f "$BUILDROOT$PKGBASELIB"/*/libHS"${d}"_p.a -o -f "$PKGBASELIB"/*/*/libHS"${d}"_p.a -o -f "$BUILDROOT$PKGBASELIB"/*/*/libHS"${d}"_p.a ]; then
echo "$GHCPREFIX-prof($d)"
fi
;;

@ -7,7 +7,7 @@
%endif
Name: ghc-rpm-macros
Version: 2.5.1
Version: 2.5.2
Release: 1%{?dist}
Summary: RPM macros for building Haskell packages for GHC
@ -190,6 +190,9 @@ mkdir -p %{buildroot}%{_docdir}/ghc/html/libraries
%changelog
* Wed Feb 15 2023 Jens Petersen <petersen@redhat.com> - 2.5.2-1
- ghc-dep.sh: check for *_p.a under Hadrian platform subdir as well
* Sat Feb 11 2023 Jens Petersen <petersen@redhat.com> - 2.5.1-1
- add ghc_merge_filelist

Loading…
Cancel
Save