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
This commit is contained in:
Dominique Leuenberger 2021-01-11 13:54:57 +00:00 committed by Git OBS Bridge
parent ef51010925
commit d58070908c
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