commit 60ade1748876c13f5a549cee2e65c4040d5fb1b5
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sat Nov 10 13:36:24 2018 +0100
Apply path conditionally
ffmpeg.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index 88cb561..10dd94b 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -326,7 +326,7 @@ mkdir -p _doc/examples
cp -pr doc/examples/{*.c,Makefile,README} _doc/examples/
%build
-export PATH=${PATH}:%{_cuda_bindir}
+%{?_with_cuda:export PATH=${PATH}:%{_cuda_bindir}}
%{ff_configure}\
--shlibdir=%{_libdir} \
%if 0%{?_without_tools:1}
Show replies by date