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>
|
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 _secconfdir %{_sysconfdir}/security
|
||||||
%define libname libpwquality1
|
%define libname libpwquality1
|
||||||
%bcond_without python2
|
%bcond_without python2
|
||||||
@ -86,7 +85,7 @@ Summary: PAM module to disallow weak new passwords
|
|||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: pam
|
Requires: pam
|
||||||
Requires(post): pam-config
|
Requires(post): pam-config
|
||||||
Requires(postun): pam-config
|
Requires(postun):pam-config
|
||||||
|
|
||||||
%description -n pam_pwquality
|
%description -n pam_pwquality
|
||||||
The pam_pwquality PAM module can be used instead of pam_cracklib to
|
The pam_pwquality PAM module can be used instead of pam_cracklib to
|
||||||
@ -122,7 +121,7 @@ This package provides Python 3 bindings for the libpwquality library.
|
|||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--with-securedir=%{_pammoduledir} \
|
--with-securedir=%{_pam_moduledir} \
|
||||||
--with-python-binary=%{_bindir}/python3 \
|
--with-python-binary=%{_bindir}/python3 \
|
||||||
--with-pythonsitedir=%{python3_sitearch} \
|
--with-pythonsitedir=%{python3_sitearch} \
|
||||||
%{nil}
|
%{nil}
|
||||||
@ -181,7 +180,7 @@ fi
|
|||||||
%{_libdir}/pkgconfig/pwquality.pc
|
%{_libdir}/pkgconfig/pwquality.pc
|
||||||
|
|
||||||
%files -n pam_pwquality
|
%files -n pam_pwquality
|
||||||
%{_pammoduledir}/pam_pwquality.so
|
%{_pam_moduledir}/pam_pwquality.so
|
||||||
%{_mandir}/man8/pam_pwquality.8%{?ext_man}
|
%{_mandir}/man8/pam_pwquality.8%{?ext_man}
|
||||||
|
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
|
Loading…
Reference in New Issue
Block a user