From 53b39d56633ecf3253f1a761f209d779a7a01aac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Sat, 25 Apr 2020 09:19:22 +0200 Subject: [PATCH] Explicitly force linking with '-Wl,-z,defs' --- libxcrypt.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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