]> git.pld-linux.org Git - projects/template-specs.git/blobdiff - lib.spec
lib: fortify source example
[projects/template-specs.git] / lib.spec
index 15edd6f2747ae299e0963bba27afec8304fc9341..c8e0b28420fc094d3813bc037091f52c845b58d0 100644 (file)
--- a/lib.spec
+++ b/lib.spec
@@ -34,12 +34,16 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                filterout_ld    -Wl,--as-needed
 # do not commit spec containing this (use for local testing only):
 %define                filterout_c     -Werror=format-security
+%define                filterout_cpp   -D_FORTIFY_SOURCE=.
 %define                filterout_cxx   -Werror=format-security
 
 # Ignore file in __spec_install_post_check_so
 BuildRequires: rpmbuild(macros) >= 1.583
 %define                skip_post_check_so      libunresolved.so.*
 
+# do not commit spec containing this (use for local testing only):
+%define                no_install_post_check_tmpfiles  1
+
 %description
 
 #%description -l pl.UTF-8
This page took 0.032989 seconds and 4 git commands to generate.