Add so_ver macro to avoid accidental soname bumps

Signed-off-by: Björn Esser <besser82@fedoraproject.org>
This commit is contained in:
Björn Esser 2021-09-13 10:36:26 +02:00
parent b5205aee6b
commit 7c7dec2bc1
No known key found for this signature in database
GPG Key ID: F52E98007594C21D

View File

@ -1,3 +1,4 @@
%global so_ver 0
%global pam_redhat_version 1.1.4
Summary: An extensible library which provides authentication for applications
@ -251,9 +252,9 @@ done
%{!?_licensedir:%global license %%doc}
%license Copyright
%license gpl-2.0.txt
%{_pam_libdir}/libpam.so.*
%{_pam_libdir}/libpamc.so.*
%{_pam_libdir}/libpam_misc.so.*
%{_pam_libdir}/libpam.so.%{so_ver}*
%{_pam_libdir}/libpamc.so.%{so_ver}*
%{_pam_libdir}/libpam_misc.so.%{so_ver}*
%{_sbindir}/pam_console_apply
%{_sbindir}/pam_namespace_helper
%{_sbindir}/faillock
@ -387,6 +388,7 @@ exit 0
* Sat Sep 04 2021 Björn Esser <besser82@fedoraproject.org> - 1.5.2-1
- Rebase to release 1.5.2
Resolves: #2001208
- Add so_ver macro to avoid accidental soname bumps
* Thu Jul 22 2021 Iker Pedrosa <ipedrosa@redhat.com> - 1.5.1-9
- Add macros file to allow other packages to stop hardcoding directory names