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>
|
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
|
Name: oath-toolkit
|
||||||
Version: 2.6.7
|
Version: 2.6.7
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -132,7 +133,7 @@ This subpackage contains the headers for this library.
|
|||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
%configure \
|
%configure \
|
||||||
--with-pam-dir=/%{_lib}/security \
|
--with-pam-dir=%{_pam_moduledir} \
|
||||||
--with-libgcrypt \
|
--with-libgcrypt \
|
||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
--disable-static
|
--disable-static
|
||||||
@ -166,7 +167,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%files -n pam_oath
|
%files -n pam_oath
|
||||||
%doc pam_oath/README
|
%doc pam_oath/README
|
||||||
%license pam_oath/COPYING
|
%license pam_oath/COPYING
|
||||||
/%{_lib}/security/pam_oath.so
|
%{_pam_moduledir}/pam_oath.so
|
||||||
|
|
||||||
%files -n liboath0
|
%files -n liboath0
|
||||||
%license liboath/COPYING
|
%license liboath/COPYING
|
||||||
|
Loading…
Reference in New Issue
Block a user