From 75b540630f4aa925e5a10c24f6104c3cde823c11 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 31 Jul 2019 08:03:09 +0000 Subject: [PATCH] %ghc_gen_filelists: fix listing of libHS*.so --- macros.ghc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/macros.ghc b/macros.ghc index b16c413..ba8de23 100644 --- a/macros.ghc +++ b/macros.ghc @@ -80,7 +80,9 @@ for i in $(ls %{buildroot}%{_ghclicensedir}/%{basepkg}); do\ echo "%%license %{pkgnamever}/$i" >> %{basepkg}.files\ done\ %endif\ -ls %{buildroot}%{_ghcdynlibdir}/libHS%{pkgnamever}-*ghc%{ghc_version}.so >> %{basepkg}.files\ +for i in %{buildroot}%{_ghcdynlibdir}/libHS%{pkgnamever}-*ghc%{ghc_version}.so; do\ +echo $i >> %{basepkg}.files\ +done\ pkgdir="%{ghclibdir}/%{pkgnamever}"\ if [ -d "%{buildroot}${pkgdir}" ]; then\ find %{buildroot}${pkgdir} -type d -fprintf %{basepkg}-devel.files '%%%%dir %p\\n' -o \\( -name '*.p_hi' -o -name 'libHS*_p.a' \\) -fprint %{basepkg}-prof.files -o -fprint %{basepkg}-devel.files\