%ghc_gen_filelists: condition haddock

epel9
Jens Petersen 5 years ago
parent 75b540630f
commit 4288e26af9

@ -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\

Loading…
Cancel
Save