- 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
This commit is contained in:
Dirk Mueller 2014-01-02 10:02:30 +00:00 committed by Git OBS Bridge
parent 04086c008f
commit 49a5bc8908
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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}