diff --git a/gengetopt.spec b/gengetopt.spec index d377522..9c35b50 100644 --- a/gengetopt.spec +++ b/gengetopt.spec @@ -47,6 +47,8 @@ make %install make install INSTALL="%{__install} -p" DESTDIR=%{buildroot} rm -f %{buildroot}%{_infodir}/dir +# Use %%doc macro to install instead. +rm -f %{buildroot}%{_docdir}/%{name} mkdir ./examples pushd ./doc