Accepting request 820627 from home:fstrba:branches:devel:libraries:c_c++

Fix build in openSUSE:Factory:Staging:C

OBS-URL: https://build.opensuse.org/request/show/820627
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libedit?expand=0&rev=65
This commit is contained in:
Adam Majer 2020-07-13 09:57:11 +00:00 committed by Git OBS Bridge
parent e31fd020da
commit a224a4798a
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jul 13 07:06:04 UTC 2020 - Fridrich Strba <fstrba@suse.com>
- Regenerate the build system before the build in order to avoid
errors due to automake version mismatch
-------------------------------------------------------------------
Tue Apr 30 13:49:12 UTC 2019 - Ismail Dönmez <idonmez@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package libedit
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -33,7 +33,9 @@ Source2: baselibs.conf
Patch0: libedit-20180525-manpage-conflicts.patch
#BuildRequires: gcc-c++
# For patch0
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(ncurses)
@ -73,6 +75,8 @@ cp %{SOURCE1} .
%patch0 -p1
%build
libtoolize --force --copy --install
autoreconf -fi
%configure \
--disable-static \
--disable-silent-rules