%ghc_gen_filelists: fix listing of libHS*.so
This commit is contained in:
parent
f14f1387ec
commit
75b540630f
@ -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\
|
||||
|
Loading…
Reference in New Issue
Block a user