From e9f703a035ddbb0482c16f8b2136e5fdffcf21e0 Mon Sep 17 00:00:00 2001 From: Björn Esser Date: Apr 11 2017 16:47:35 +0000 Subject: Explicitly turn on hardening, if required --- 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