diff --git a/libxcrypt.spec b/libxcrypt.spec index 8dfa17f..d58f346 100644 --- a/libxcrypt.spec +++ b/libxcrypt.spec @@ -155,9 +155,14 @@ fi \ %{nil} +# Fail linking if there are undefined symbols. +# Required for proper ELF symbol versioning support. +%global _ld_strict_symbol_defs 1 + + Name: libxcrypt Version: 4.4.16 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Extended crypt library for descrypt, md5crypt, bcrypt, and others # For explicit license breakdown, see the @@ -499,6 +504,9 @@ done %changelog +* Sat Apr 25 2020 Björn Esser - 4.4.16-3 +- Explicitly force linking with '-Wl,-z,defs' + * Fri Apr 24 2020 Björn Esser - 4.4.16-2 - Move fipscheck hmac checksums to %%{_libdir}/fipscheck