Accepting request 865510 from home:alois:branches:Application:Geo
- Apply patch0 unconditionally and fix build on Leap OBS-URL: https://build.opensuse.org/request/show/865510 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/zbar?expand=0&rev=47
This commit is contained in:
parent
0b135acb30
commit
088c169ef9
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 21 21:02:59 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>
|
||||||
|
|
||||||
|
- Apply patch0 unconditionally and fix build on Leap
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 18 02:54:31 UTC 2020 - Wang Jun <jgwang@suse.com>
|
Wed Nov 18 02:54:31 UTC 2020 - Wang Jun <jgwang@suse.com>
|
||||||
|
|
||||||
|
15
zbar.spec
15
zbar.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package zbar
|
# spec file for package zbar
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
# Copyright (c) 2010 Carlos Goncalves <cgoncalves@opensuse.org>.
|
# Copyright (c) 2010 Carlos Goncalves <cgoncalves@opensuse.org>.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -47,11 +47,6 @@ BuildRequires: pkgconfig(sm)
|
|||||||
BuildRequires: pkgconfig(x11)
|
BuildRequires: pkgconfig(x11)
|
||||||
BuildRequires: pkgconfig(xext)
|
BuildRequires: pkgconfig(xext)
|
||||||
BuildRequires: pkgconfig(xv)
|
BuildRequires: pkgconfig(xv)
|
||||||
# autoconf/automake required due to patched configure.ac (Patch0)
|
|
||||||
%if 0%{?suse_version} >= 1550
|
|
||||||
BuildRequires: autoconf
|
|
||||||
BuildRequires: automake >= 1.16
|
|
||||||
%endif
|
|
||||||
%if 0%{?suse_version} < 1500
|
%if 0%{?suse_version} < 1500
|
||||||
BuildRequires: gcc7
|
BuildRequires: gcc7
|
||||||
%endif
|
%endif
|
||||||
@ -106,11 +101,7 @@ configuration files and development tools needed to compile and link
|
|||||||
applications using the zbar-qt library.
|
applications using the zbar-qt library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%if 0%{?suse_version} >= 1550
|
|
||||||
%patch0 -p1
|
|
||||||
%endif
|
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
test -x "$(type -p gcc)" && export CC=$_
|
test -x "$(type -p gcc)" && export CC=$_
|
||||||
@ -122,7 +113,7 @@ test -x "$(type -p gcc-8)" && export CC=$_
|
|||||||
--without-java \
|
--without-java \
|
||||||
--with-python=no \
|
--with-python=no \
|
||||||
--without-gtk
|
--without-gtk
|
||||||
make %{?_smp_mflags} V=1
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user