Explicitly turn on hardening, if required

This commit is contained in:
Björn Esser 2017-04-11 18:47:35 +02:00
parent 6f6e74812b
commit e9f703a035

View File

@ -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 <besser82@fedoraproject.org> - 1.6-3
- Explicitly turn on hardening, if required
* Tue Apr 11 2017 Björn Esser <besser82@fedoraproject.org> - 1.6-2
- Fix missing trailing semicolon in desktop-file