Accepting request 682919 from home:olh:branches:Application:Geo

- Use gcc7 in SLE_12

OBS-URL: https://build.opensuse.org/request/show/682919
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/zbar?expand=0&rev=36
This commit is contained in:
Luigi Baldoni 2019-03-08 20:11:43 +00:00 committed by Git OBS Bridge
parent d719147482
commit e2cf9cf17b
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 8 17:31:33 UTC 2019 - olaf@aepfle.de
- Use gcc7 in SLE_12
-------------------------------------------------------------------
Fri Feb 15 08:14:02 UTC 2019 - Martin Pluskal <mpluskal@suse.com>

View File

@ -28,6 +28,9 @@ Group: Productivity/Other
URL: http://zbar.sourceforge.net/
Source0: https://linuxtv.org/downloads/%{name}/%{name}-%{version}.tar.bz2
Source98: baselibs.conf
%if 0%{?suse_version} < 1500
BuildRequires: gcc7
%endif
BuildRequires: libjpeg-devel
BuildRequires: pkgconfig >= 0.9.0
BuildRequires: xmlto
@ -97,6 +100,9 @@ applications using the zbar-qt library.
%setup -q
%build
test -x "$(type -p gcc)" && export CC=$_
test -x "$(type -p gcc-7)" && export CC=$_
test -x "$(type -p gcc-8)" && export CC=$_
%configure \
--docdir=%{_docdir}/%{name} \
--disable-static \