Fix typo in CFLAGS_OPT_WERROR variable name.

OBS-URL: https://build.opensuse.org/package/show/server:mail/exim?expand=0&rev=119
This commit is contained in:
Lars Müller 2012-03-17 20:16:14 +00:00 committed by Git OBS Bridge
parent bedf5a3bc8
commit f6dea5e9e9

View File

@ -16,7 +16,6 @@
#
Name: exim
BuildRequires: db-devel
BuildRequires: openldap2-devel
@ -127,7 +126,7 @@ fPIE="-fPIE"
pie="-pie"
%endif
%if %{?suse_version:%suse_version}%{?!suse_version:99999} > 1100
CFALGS_OPT_WERROR="-Werror=format-security -Werror=missing-format-attribute"
CFLAGS_OPT_WERROR="-Werror=format-security -Werror=missing-format-attribute"
%endif
cat <<-EOF > Local/Makefile
# see src/EDITME for comments.
@ -235,7 +234,7 @@ cat <<-EOF > Local/Makefile
# SPOOL_MODE=0640
SUPPORT_MOVE_FROZEN_MESSAGES=yes
HAVE_IPV6=YES
CFLAGS=$RPM_OPT_FLAGS -Wall $CFALGS_OPT_WERROR -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLDAP_DEPRECATED $fPIE
CFLAGS=$RPM_OPT_FLAGS -Wall $CFLAGS_OPT_WERROR -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLDAP_DEPRECATED $fPIE
EXTRALIBS=-ldl -L/usr/X11R6/%{_lib} $pie
EOF
touch Local/eximon.conf