From d58070908c2cd27c1529bb88d71d95dd2decb332a286c89a89ba67e0a113f9eb Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 11 Jan 2021 13:54:57 +0000 Subject: [PATCH] Accepting request 860978 from home:jmoellers:branches:GNOME:Factory OBS-URL: https://build.opensuse.org/request/show/860978 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=36 --- libpwquality.changes | 7 +++++++ libpwquality.spec | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/libpwquality.changes b/libpwquality.changes index 102b3e4..75ced7c 100644 --- a/libpwquality.changes +++ b/libpwquality.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jan 5 16:27:27 UTC 2021 - Josef Möllers + +- Do not use macro %make_build pre SLE-15 + Use "make -O %{?_smp_mflags}" instead + [libpwquality.spec] + ------------------------------------------------------------------- Fri Oct 16 14:23:28 UTC 2020 - Danny Sauer diff --git a/libpwquality.spec b/libpwquality.spec index fba2726..52ba599 100644 --- a/libpwquality.spec +++ b/libpwquality.spec @@ -1,7 +1,7 @@ # # spec file for package libpwquality # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -126,7 +126,11 @@ This package provides Python 3 bindings for the libpwquality library. --with-python-binary=%{_bindir}/python3 \ --with-pythonsitedir=%{python3_sitearch} \ %{nil} +%if 0%{?suse_version} < 1500 +make -O %{?_smp_mflags} +%else %make_build +%endif %if %{with python2} pushd python %python_build