From 83aff22e89dcfba6703bed75a72584917153c4e3 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 1 Mar 2022 05:57:00 -0500 Subject: [PATCH] import tog-pegasus-2.14.1-64.el9 --- SPECS/tog-pegasus.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/SPECS/tog-pegasus.spec b/SPECS/tog-pegasus.spec index 2012271..356957f 100644 --- a/SPECS/tog-pegasus.spec +++ b/SPECS/tog-pegasus.spec @@ -8,7 +8,7 @@ Name: tog-pegasus Version: %{major_ver}.1 -Release: 63%{?dist} +Release: 64%{?dist} Epoch: 2 Summary: OpenPegasus WBEM Services for Linux @@ -281,7 +281,7 @@ export PATH=$PEGASUS_HOME/bin:$PATH export PEGASUS_EXTRA_C_FLAGS="$RPM_OPT_FLAGS -fPIC -g -Wall -Wno-unused -fno-strict-aliasing" export PEGASUS_EXTRA_CXX_FLAGS="$PEGASUS_EXTRA_C_FLAGS -std=c++14" -export PEGASUS_EXTRA_LINK_FLAGS="$RPM_OPT_FLAGS" +export PEGASUS_EXTRA_LINK_FLAGS="$RPM_OPT_FLAGS -Wl,-z,now" export PEGASUS_EXTRA_PROGRAM_LINK_FLAGS="-g -pie -Wl,-z,relro,-z,now,-z,nodlopen,-z,noexecstack" export SYS_INCLUDES=-I/usr/kerberos/include @@ -493,7 +493,7 @@ fi :; %preun -%systemd_preun stop tog-pegasus.service +%systemd_preun tog-pegasus.service if [ $1 -eq 0 ]; then # Package removal, not upgrade rm -rf /var/run/tog-pegasus @@ -561,6 +561,12 @@ fi %changelog +* Tue Feb 01 2022 Vitezslav Crhonek - 2.14.1-64 +- Fix build flags + Resolves: #2044895 +- Fix preun systemd macro call + Resolves: #2048002 + * Tue Aug 10 2021 Mohan Boddu - 2:2.14.1-63 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688