build with RPM_OPT_FLAGS <ville.skytta@iki.fi> (#1005535)

2.1.26-12
This commit is contained in:
Petr Lautrbach 2013-09-09 11:19:31 +02:00
parent 06b1147f23
commit 765fab4a6f

View File

@ -8,7 +8,7 @@
Summary: The Cyrus SASL library Summary: The Cyrus SASL library
Name: cyrus-sasl Name: cyrus-sasl
Version: 2.1.26 Version: 2.1.26
Release: 11%{?dist} Release: 12%{?dist}
License: BSD with advertising License: BSD with advertising
Group: System Environment/Libraries Group: System Environment/Libraries
# Source0 originally comes from ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/; # 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 LDFLAGS="$LIB_DIR $LDFLAGS"; export LDFLAGS
fi fi
CFLAGS="$CFLAGS $CPPFLAGS -fPIE"; export CFLAGS CFLAGS="$RPM_OPT_FLAGS $CFLAGS $CPPFLAGS -fPIE"; export CFLAGS
LDFLAGS="$LDFLAGS -pie -Wl,-z,now"; export LDFLAGS LDFLAGS="$LDFLAGS -pie -Wl,-z,now"; export LDFLAGS
echo "$CFLAGS" echo "$CFLAGS"
@ -413,6 +413,9 @@ getent passwd %{username} >/dev/null || useradd -r -g %{username} -d %{homedir}
%{_sbindir}/sasl2-shared-mechlist %{_sbindir}/sasl2-shared-mechlist
%changelog %changelog
* Mon Sep 09 2013 Petr Lautrbach <plautrba@redhat.com> 2.1.26-12
- build with RPM_OPT_FLAGS <ville.skytta@iki.fi> (#1005535)
* Tue Sep 03 2013 Petr Lautrbach <plautrba@redhat.com> 2.1.26-11 * Tue Sep 03 2013 Petr Lautrbach <plautrba@redhat.com> 2.1.26-11
- fix hardening for /usr/sbin/saslauthd - fix hardening for /usr/sbin/saslauthd
- add testsaslauthd.8 man page to the package - add testsaslauthd.8 man page to the package