From 6a1f6624394014b6f38def9653f90c48e1eba2d6 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Fri, 13 Apr 2012 10:49:30 +0200 Subject: [PATCH] build with -fPIE --- clamav.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/clamav.spec b/clamav.spec index c2cc053..db20827 100644 --- a/clamav.spec +++ b/clamav.spec @@ -11,6 +11,8 @@ %bcond_without bytecode ## +%global _hardened_build 1 + %ifnarch s390 s390x %global have_ocaml 1 %else @@ -53,7 +55,7 @@ test "$1" = "0" || /bin/systemctl try-restart %2 >/dev/null 2>&1 || :\ Summary: End-user tools for the Clam Antivirus scanner Name: clamav Version: 0.97.4 -Release: %release_func 1800 +Release: %release_func 1801 License: %{?with_unrar:proprietary}%{!?with_unrar:GPLv2} Group: Applications/File URL: http://www.clamav.net @@ -865,6 +867,9 @@ test "$1" != "0" || /sbin/initctl -q stop clamav-milter || : %changelog +* Fri Apr 13 2012 Enrico Scholz - 0.97.4-1801 +- build with -fPIE + * Fri Mar 16 2012 Enrico Scholz - 0.97.4-1800 - updated to 0.97.4