From e9f703a035ddbb0482c16f8b2136e5fdffcf21e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Tue, 11 Apr 2017 18:47:35 +0200 Subject: [PATCH] Explicitly turn on hardening, if required --- thermald.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/thermald.spec b/thermald.spec index 416a5ea..4f3f9b4 100644 --- a/thermald.spec +++ b/thermald.spec @@ -1,9 +1,14 @@ +# Explicitly turn on hardening, if required. +%if (0%{?fedora} && 0%{?fedora} <= 22) || (0%{?rhel} && 0%{?rhel} <= 7) +%global _hardened_build 1 +%endif # (0%%{?fedora} && 0%%{?fedora} <= 22) || (0%%{rhel} && 0%%{?rhel} <= 7) + %global pkgname thermal_daemon Name: thermald Version: 1.6 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Thermal Management daemon License: GPLv2+ @@ -260,6 +265,9 @@ fi %changelog +* Tue Apr 11 2017 Björn Esser - 1.6-3 +- Explicitly turn on hardening, if required + * Tue Apr 11 2017 Björn Esser - 1.6-2 - Fix missing trailing semicolon in desktop-file