[v4l-utils/el6] Fix libdir at the removal part of the spec file
mchehab
mchehab at fedoraproject.org
Wed Dec 10 23:56:01 UTC 2014
commit 70708db4fa752863f5cd13c3a6fb9571c7470ec9
Author: Mauro Carvalho Chehab <mchehab at osg.samsung.com>
Date: Wed Dec 10 21:55:38 2014 -0200
Fix libdir at the removal part of the spec file
The way it was doesn't build on i686
Signed-off-by: Mauro Carvalho Chehab <mchehab at osg.samsung.com>
v4l-utils.spec | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/v4l-utils.spec b/v4l-utils.spec
index 30bac13..0bc9525 100644
--- a/v4l-utils.spec
+++ b/v4l-utils.spec
@@ -80,8 +80,8 @@ 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 -r $RPM_BUILD_ROOT/usr/lib64/libv4l/
+rm $RPM_BUILD_ROOT/usr/include/libv4l*.h $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/libv4l*.pc $RPM_BUILD_ROOT/%{_libdir}/libv4l*.a
+rm -r $RPM_BUILD_ROOT/%{_libdir}/libv4l/
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3/
cp -arv %{_builddir}/%{name}-%{version}/doxygen-doc/man/man3 $RPM_BUILD_ROOT%{_mandir}/
More information about the scm-commits
mailing list