%_datadir %{_prefix}/share
%_sysconfdir %{_prefix}/etc
%_sharedstatedir /var/lib
%_datadir %{_prefix}/share
%_sysconfdir %{_prefix}/etc
%_sharedstatedir /var/lib
%{__spec_install_post_strip}\
%{__spec_install_post_chrpath}\
%{__spec_install_post_compress_modules}\
%{__spec_install_post_check_so}\
%{__spec_install_post_strip}\
%{__spec_install_post_chrpath}\
%{__spec_install_post_compress_modules}\
%{__spec_install_post_check_so}\
%{__spec_install_post_compress_docs}\
%{__spec_install_post_py_hardlink}\
%{__spec_install_post_perl_clean}\
%{__spec_install_post_compress_docs}\
%{__spec_install_post_py_hardlink}\
%{__spec_install_post_perl_clean}\
#---------------------------------------------------------------------
# Overwrite RPM macros with PLD specific one here.
#---------------------------------------------------------------------
# Overwrite RPM macros with PLD specific one here.
# Do not generate executable() dependencies for scriptlets,
# as it may give false positives, for example:
# [ ! -x /bin/prog ] || /bin/prog
# Do not generate executable() dependencies for scriptlets,
# as it may give false positives, for example:
# [ ! -x /bin/prog ] || /bin/prog
#-----------------------------------------------------------------
# CFLAGS and LDFLAGS used to build
#-----------------------------------------------------------------
# CFLAGS and LDFLAGS used to build
# cf http://wiki.mandriva.com/en/Development/Packaging/Problems#format_not_a_string_literal_and_no_format_arguments
%Werror_cflags -Wformat -Werror=format-security
# cf http://wiki.mandriva.com/en/Development/Packaging/Problems#format_not_a_string_literal_and_no_format_arguments
%Werror_cflags -Wformat -Werror=format-security
%__common_cflags -O2 -fwrapv -pipe %{Werror_cflags} %{debuginfocflags} %{?_fortify_cflags} %{!?nospecflags:%{?specflags}}
%__common_cflags_with_ssp %{__common_cflags} %{?_ssp_cflags}
%__common_cflags -O2 -fwrapv -pipe %{Werror_cflags} %{debuginfocflags} %{?_fortify_cflags} %{!?nospecflags:%{?specflags}}
%__common_cflags_with_ssp %{__common_cflags} %{?_ssp_cflags}