diff --git a/gettext.spec b/gettext.spec index 2186edc..761e2c7 100644 --- a/gettext.spec +++ b/gettext.spec @@ -108,13 +108,13 @@ for i in gettext-runtime/man/*.html; do rm -f $RPM_BUILD_ROOT%{_datadir}/doc/gettext/`basename $i` done rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/gettext/javadoc* -rmdir $RPM_BUILD_ROOT%{_datadir}/doc/gettext rm -rf htmldoc examples mkdir htmldoc mv $RPM_BUILD_ROOT%{_datadir}/doc/gettext/examples examples mv $RPM_BUILD_ROOT%{_datadir}/doc/gettext/* $RPM_BUILD_ROOT/%{_datadir}/doc/libasprintf/* htmldoc rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libasprintf +rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/gettext # remove unpackaged files from the buildroot