Hello community, here is the log from the commit of package zbar for openSUSE:Factory checked in at 2019-03-11 11:14:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/zbar (Old) and /work/SRC/openSUSE:Factory/.zbar.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zbar" Mon Mar 11 11:14:15 2019 rev:9 rq:682921 version:0.21 Changes: -------- --- /work/SRC/openSUSE:Factory/zbar/zbar.changes 2019-02-20 14:07:07.527023155 +0100 +++ /work/SRC/openSUSE:Factory/.zbar.new.28833/zbar.changes 2019-03-11 11:14:17.117361989 +0100 @@ -1,0 +2,5 @@ +Fri Mar 8 17:31:33 UTC 2019 - [email protected] + +- Use gcc7 in SLE_12 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zbar.spec ++++++ --- /var/tmp/diff_new_pack.CxbZju/_old 2019-03-11 11:14:17.797361785 +0100 +++ /var/tmp/diff_new_pack.CxbZju/_new 2019-03-11 11:14:17.797361785 +0100 @@ -28,6 +28,9 @@ 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 @@ %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 \
