From 765fab4a6f560d49234b16af295c83efc69f59cc Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Mon, 9 Sep 2013 11:19:31 +0200 Subject: [PATCH] build with RPM_OPT_FLAGS (#1005535) 2.1.26-12 --- cyrus-sasl.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cyrus-sasl.spec b/cyrus-sasl.spec index 8a0473b..882c887 100644 --- a/cyrus-sasl.spec +++ b/cyrus-sasl.spec @@ -8,7 +8,7 @@ Summary: The Cyrus SASL library Name: cyrus-sasl Version: 2.1.26 -Release: 11%{?dist} +Release: 12%{?dist} License: BSD with advertising Group: System Environment/Libraries # Source0 originally comes from ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/; @@ -223,7 +223,7 @@ if test x"$LIB_DIR" != "x-L%{_libdir}"; then LDFLAGS="$LIB_DIR $LDFLAGS"; export LDFLAGS fi -CFLAGS="$CFLAGS $CPPFLAGS -fPIE"; export CFLAGS +CFLAGS="$RPM_OPT_FLAGS $CFLAGS $CPPFLAGS -fPIE"; export CFLAGS LDFLAGS="$LDFLAGS -pie -Wl,-z,now"; export LDFLAGS echo "$CFLAGS" @@ -413,6 +413,9 @@ getent passwd %{username} >/dev/null || useradd -r -g %{username} -d %{homedir} %{_sbindir}/sasl2-shared-mechlist %changelog +* Mon Sep 09 2013 Petr Lautrbach 2.1.26-12 +- build with RPM_OPT_FLAGS (#1005535) + * Tue Sep 03 2013 Petr Lautrbach 2.1.26-11 - fix hardening for /usr/sbin/saslauthd - add testsaslauthd.8 man page to the package