|
|
@ -80,7 +80,9 @@ for i in $(ls %{buildroot}%{_ghclicensedir}/%{basepkg}); do\
|
|
|
|
echo "%%license %{pkgnamever}/$i" >> %{basepkg}.files\
|
|
|
|
echo "%%license %{pkgnamever}/$i" >> %{basepkg}.files\
|
|
|
|
done\
|
|
|
|
done\
|
|
|
|
%endif\
|
|
|
|
%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}"\
|
|
|
|
pkgdir="%{ghclibdir}/%{pkgnamever}"\
|
|
|
|
if [ -d "%{buildroot}${pkgdir}" ]; then\
|
|
|
|
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\
|
|
|
|
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\
|
|
|
|