From 49a5bc890885c1e1c7dc0f5fc02b828672913ae30a554aac40cbc6e2c5e99be2 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 2 Jan 2014 10:02:30 +0000 Subject: [PATCH] - fix compiled-in paths by specifying PREFIX and LIBDIR correctly during build OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/v4l-utils?expand=0&rev=25 --- v4l-utils.changes | 6 ++++++ v4l-utils.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/v4l-utils.changes b/v4l-utils.changes index 30a9f7b..942690d 100644 --- a/v4l-utils.changes +++ b/v4l-utils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 2 10:02:04 UTC 2014 - dmueller@suse.com + +- fix compiled-in paths by specifying PREFIX and LIBDIR correctly + during build + ------------------------------------------------------------------- Sat Mar 16 21:59:51 UTC 2013 - dmueller@suse.com diff --git a/v4l-utils.spec b/v4l-utils.spec index 382e5b0..2756c1a 100644 --- a/v4l-utils.spec +++ b/v4l-utils.spec @@ -1,7 +1,7 @@ # # spec file for package v4l-utils # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -146,7 +146,7 @@ qv4l2 is a test control and streaming test application for video4linux. %patch2 -p1 %build -make CFLAGS="%{optflags} -fno-strict-aliasing" CXXFLAGS="%{optflags}" %{?_smp_mflags} +make PREFIX=%{_prefix} LIBDIR=%{_libdir} CFLAGS="%{optflags} -fno-strict-aliasing" CXXFLAGS="%{optflags}" %{?_smp_mflags} %install make install PREFIX=%{_prefix} LIBDIR=%{_libdir} DESTDIR=%{buildroot} UDEVRULESDIR=%{_udevrulesdir}