Accepting request 922054 from GNOME:Next
- Use %_pam_moduledir instead of hardcoding %{_lib}/security (boo#1191042). Fixed bugref OBS-URL: https://build.opensuse.org/request/show/922054 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=38
This commit is contained in:
parent
d58070908c
commit
4178224a4d
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 28 13:41:10 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Use %_pam_moduledir instead of hardcoding %{_lib}/security
|
||||
(boo#1191042).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 5 16:27:27 UTC 2021 - Josef Möllers <josef.moellers@suse.com>
|
||||
|
||||
|
@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%define _pammoduledir /%{_lib}/security
|
||||
%define _secconfdir %{_sysconfdir}/security
|
||||
%define libname libpwquality1
|
||||
%bcond_without python2
|
||||
@ -122,7 +121,7 @@ This package provides Python 3 bindings for the libpwquality library.
|
||||
%build
|
||||
%configure \
|
||||
--disable-static \
|
||||
--with-securedir=%{_pammoduledir} \
|
||||
--with-securedir=%{_pam_moduledir} \
|
||||
--with-python-binary=%{_bindir}/python3 \
|
||||
--with-pythonsitedir=%{python3_sitearch} \
|
||||
%{nil}
|
||||
@ -181,7 +180,7 @@ fi
|
||||
%{_libdir}/pkgconfig/pwquality.pc
|
||||
|
||||
%files -n pam_pwquality
|
||||
%{_pammoduledir}/pam_pwquality.so
|
||||
%{_pam_moduledir}/pam_pwquality.so
|
||||
%{_mandir}/man8/pam_pwquality.8%{?ext_man}
|
||||
|
||||
%if %{with python2}
|
||||
|
Loading…
Reference in New Issue
Block a user