SHA256
1
0
forked from pool/v4l-utils

Accepting request 230078 from devel:libraries:c_c++

fix compiled-in paths by specifying PREFIX and LIBDIR correctly during build

OBS-URL: https://build.opensuse.org/request/show/230078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/v4l-utils?expand=0&rev=16
This commit is contained in:
Tomáš Chvátal 2014-04-17 12:43:40 +00:00 committed by Git OBS Bridge
commit 9759160685
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 Sat Mar 16 21:59:51 UTC 2013 - dmueller@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package v4l-utils # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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 %patch2 -p1
%build %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 %install
make install PREFIX=%{_prefix} LIBDIR=%{_libdir} DESTDIR=%{buildroot} UDEVRULESDIR=%{_udevrulesdir} make install PREFIX=%{_prefix} LIBDIR=%{_libdir} DESTDIR=%{buildroot} UDEVRULESDIR=%{_udevrulesdir}