Accepting request 844779 from Base:System

- Add workaround for `error: too many loops` which happens with
  sle15sp3: run autoreconf twice

OBS-URL: https://build.opensuse.org/request/show/844779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/powertop?expand=0&rev=53
This commit is contained in:
Dominique Leuenberger 2020-10-29 13:51:59 +00:00 committed by Git OBS Bridge
commit ff5916f4ae
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Oct 29 08:36:16 UTC 2020 - Michael Vetter <mvetter@suse.com>
- Add workaround for `error: too many loops` which happens with
sle15sp3: run autoreconf twice
-------------------------------------------------------------------
Fri Jun 12 08:58:22 UTC 2020 - Michael Vetter <mvetter@suse.com>

View File

@ -57,7 +57,9 @@ doing in terms of power savings.
find . -name '*.o' -delete
%build
autoreconf -fi
# workaround for 'error: too many loops' in sle15sp3
# also see rhbz#1826935
autoreconf -fi || autoreconf -fi
export CFLAGS="%{optflags} -D_GNU_SOURCE"
%configure
%make_build