From 0753dafe290a63b070bbdb34165d1332ac2a34f5 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Tue, 15 Sep 2015 13:27:12 -0400 Subject: [PATCH] another conditional --- libvpx.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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}