[v4l-utils/el6] Ignore errors at remove command

mchehab mchehab at fedoraproject.org
Wed Dec 10 23:55:56 UTC 2014


commit 3420d0074dccab4610c98c998a8b5046eb20bdc9
Author: Mauro Carvalho Chehab <mchehab at osg.samsung.com>
Date:   Wed Dec 10 19:49:25 2014 -0200

    Ignore errors at remove command
    
    Signed-off-by: Mauro Carvalho Chehab <mchehab at osg.samsung.com>

 v4l-utils.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/v4l-utils.spec b/v4l-utils.spec
index 263fa8d..30bac13 100644
--- a/v4l-utils.spec
+++ b/v4l-utils.spec
@@ -80,7 +80,7 @@ make doxygen-run
 
 %install
 %make_install
-rm $RPM_BUILD_ROOT/usr/include/libv4l*.h $RPM_BUILD_ROOT/usr/lib64/libv4l*.a $RPM_BUILD_ROOT/usr/lib64/pkgconfig/libv4l*.pc
+-rm $RPM_BUILD_ROOT/usr/include/libv4l*.h $RPM_BUILD_ROOT/usr/lib64/libv4l*.a $RPM_BUILD_ROOT/usr/lib64/pkgconfig/libv4l*.pc
 rm -r $RPM_BUILD_ROOT/usr/lib64/libv4l/
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3/


More information about the scm-commits mailing list