Accepting request 862308 from GNOME:Factory

(forwarded request 860978 from jmoellers)

OBS-URL: https://build.opensuse.org/request/show/862308
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpwquality?expand=0&rev=20
This commit is contained in:
Dominique Leuenberger 2021-01-15 18:44:34 +00:00 committed by Git OBS Bridge
commit fee182bd90
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jan 5 16:27:27 UTC 2021 - Josef Möllers <josef.moellers@suse.com>
- 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 <dsauer@suse.com>

View File

@ -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