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:
commit
651254fdb3
@ -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>
|
Fri Feb 15 08:14:02 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
@ -28,6 +28,9 @@ Group: Productivity/Other
|
|||||||
URL: http://zbar.sourceforge.net/
|
URL: http://zbar.sourceforge.net/
|
||||||
Source0: https://linuxtv.org/downloads/%{name}/%{name}-%{version}.tar.bz2
|
Source0: https://linuxtv.org/downloads/%{name}/%{name}-%{version}.tar.bz2
|
||||||
Source98: baselibs.conf
|
Source98: baselibs.conf
|
||||||
|
%if 0%{?suse_version} < 1500
|
||||||
|
BuildRequires: gcc7
|
||||||
|
%endif
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
BuildRequires: pkgconfig >= 0.9.0
|
BuildRequires: pkgconfig >= 0.9.0
|
||||||
BuildRequires: xmlto
|
BuildRequires: xmlto
|
||||||
@ -97,6 +100,9 @@ applications using the zbar-qt library.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%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 \
|
%configure \
|
||||||
--docdir=%{_docdir}/%{name} \
|
--docdir=%{_docdir}/%{name} \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user