diff --git a/powertop.changes b/powertop.changes index f67133a..649aa3e 100644 --- a/powertop.changes +++ b/powertop.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Oct 29 08:36:16 UTC 2020 - Michael Vetter + +- Add workaround for `error: too many loops` which happens with + sle15sp3: run autoreconf twice + ------------------------------------------------------------------- Fri Jun 12 08:58:22 UTC 2020 - Michael Vetter diff --git a/powertop.spec b/powertop.spec index cfbedec..e3472fd 100644 --- a/powertop.spec +++ b/powertop.spec @@ -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