diff --git a/libvpx.spec b/libvpx.spec index 05ed956..ba4f946 100644 --- a/libvpx.spec +++ b/libvpx.spec @@ -133,7 +133,9 @@ rm -rf tmp make DIST_DIR=%{buildroot}%{_prefix} dist # Simpler to label the dir as %%doc. -mv %{buildroot}/usr/docs doc/ +if [ -d %{buildroot}/usr/docs ]; then + mv %{buildroot}/usr/docs doc/ +fi %if %{generic_target} install -p libvpx.so.%{soversion} %{buildroot}%{_libdir}