|
|
|
@ -91,7 +91,9 @@ rm -f %{basepkg}-devel.files %{basepkg}-prof.files\
|
|
|
|
|
touch %{basepkg}-devel.files %{basepkg}-prof.files\
|
|
|
|
|
fi\
|
|
|
|
|
ls %{buildroot}%{ghclibdir}/package.conf.d/%{pkgnamever}*.conf >> %{basepkg}-devel.files\
|
|
|
|
|
%if %{with haddock}\
|
|
|
|
|
echo %{ghc_html_libraries_dir}/%{pkgnamever} >> %{basepkg}-doc.files\
|
|
|
|
|
%endif\
|
|
|
|
|
for i in %{basepkg}.files %{basepkg}-devel.files %{basepkg}-doc.files %{basepkg}-prof.files; do\
|
|
|
|
|
if [ -f "$i" ]; then\
|
|
|
|
|
sed -i -e "s!%{buildroot}!!g" $i\
|
|
|
|
|