Accepting request 992582 from security
OBS-URL: https://build.opensuse.org/request/show/992582 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/oath-toolkit?expand=0&rev=11
This commit is contained in:
commit
a08328d5d8
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 2 20:39:41 UTC 2022 - Torsten Gruner <simmphonie@opensuse.org>
|
||||
|
||||
- Use %_pam_moduledir instead of hardcoding %{_lib}/security
|
||||
- Define macro _pam_moduledir if not set to fix builds for Leap and SLE
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 21 09:52:55 UTC 2022 - Marcus Meissner <meissner@suse.com>
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%{!?_pam_moduledir: %define _pam_moduledir /%{_lib}/security}
|
||||
Name: oath-toolkit
|
||||
Version: 2.6.7
|
||||
Release: 0
|
||||
@ -132,7 +133,7 @@ This subpackage contains the headers for this library.
|
||||
%build
|
||||
autoreconf -fiv
|
||||
%configure \
|
||||
--with-pam-dir=/%{_lib}/security \
|
||||
--with-pam-dir=%{_pam_moduledir} \
|
||||
--with-libgcrypt \
|
||||
--disable-silent-rules \
|
||||
--disable-static
|
||||
@ -166,7 +167,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%files -n pam_oath
|
||||
%doc pam_oath/README
|
||||
%license pam_oath/COPYING
|
||||
/%{_lib}/security/pam_oath.so
|
||||
%{_pam_moduledir}/pam_oath.so
|
||||
|
||||
%files -n liboath0
|
||||
%license liboath/COPYING
|
||||
|
Loading…
Reference in New Issue
Block a user