Accepting request 682921 from Application:Geo

OBS-URL: https://build.opensuse.org/request/show/682921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zbar?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2019-03-11 10:14:15 +00:00 committed by Git OBS Bridge
commit 651254fdb3
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 \