diff --git a/nano.spec b/nano.spec index 4065a84..062477d 100644 --- a/nano.spec +++ b/nano.spec @@ -65,6 +65,9 @@ sed -e 's/# set nowrap/set nowrap/' \ mkdir -p %{buildroot}%{_sysconfdir} install -m 644 ./nanorc %{buildroot}%{_sysconfdir}/nanorc +# remove installed HTML documentation +rm -rf "%{buildroot}%{_docdir}"/nano/{fr,{nano.1,nanorc.5,rnano.1}.html} + %find_lang %{name} %post @@ -95,6 +98,7 @@ exit 0 %changelog * Mon Oct 12 2015 Kamil Dudka - 2.4.2-2 - enable syntax highlighting by default (#1270712) +- remove installed HTML documentation (to prevent a build failure in rawhide) * Tue Jul 07 2015 Kamil Dudka - 2.4.2-1 - new upstream release