diff --git a/sanlock.spec b/sanlock.spec index 36be06b..ab83a76 100644 --- a/sanlock.spec +++ b/sanlock.spec @@ -1,6 +1,6 @@ Name: sanlock Version: 3.8.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A shared storage lock manager License: GPLv2 and GPLv2+ and LGPLv2+ @@ -31,11 +31,6 @@ The sanlock daemon manages leases for applications on hosts using shared storage %patch0 -p1 %build -# This package mixes PIC/PIE objects which causes errors in LTO mode. -# We could disable PIE, but that would run afoul of security policy in -# RHEL, so for now we just disable LTO. -%define _lto_cflags %{nil} - %set_build_flags # upstream does not require configure # upstream does not support _smp_mflags @@ -185,6 +180,10 @@ common sanlock lockspace. %changelog + +* Sat Aug 08 2020 Nir Soffer - 3.8.1-7 +- Enable LTO + * Sun Aug 02 2020 Nir Soffer - 3.8.1-6 - Removing extra linkeer args, hopefully fix python build