diff --git a/oath-toolkit.changes b/oath-toolkit.changes index b751ba1..631cfeb 100644 --- a/oath-toolkit.changes +++ b/oath-toolkit.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun May 20 21:40:32 UTC 2018 - julio@juliogonzalez.es + +- Fix build for openSUSE Leap 42.2 and 42.3 + ------------------------------------------------------------------- Wed Apr 18 07:32:43 UTC 2018 - jengelh@inai.de diff --git a/oath-toolkit.spec b/oath-toolkit.spec index 78ff21d..23951ce 100644 --- a/oath-toolkit.spec +++ b/oath-toolkit.spec @@ -138,7 +138,13 @@ autoreconf -fiv --with-libgcrypt \ --disable-silent-rules \ --disable-static +# Only SLE and openSUSE >= 15.0 are using rpm >= 4.12 +# See https://en.opensuse.org/openSUSE:Build_system_recipes#automake +%if 0%{?sle_version} >= 150000 %make_build +%else +make %{?_smp_mflags} +%endif %install %make_install