Simplified macros check related to hardening
This commit is contained in:
parent
ba574e01a2
commit
48dcc21e3f
@ -1,14 +1,14 @@
|
|||||||
# hardened build if not overrided
|
# hardened build if not overrided
|
||||||
%{!?_hardened_build:%global _hardened_build 1}
|
%{!?_hardened_build:%global _hardened_build 1}
|
||||||
|
|
||||||
%if %{?_hardened_build:%{_hardened_build}}%{!?_hardened_build:0}
|
%if %{?_hardened_build}%{!?_hardened_build:0}
|
||||||
%global harden -pie -Wl,-z,relro,-z,now
|
%global harden -pie -Wl,-z,relro,-z,now
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Summary: ACPI Event Daemon
|
Summary: ACPI Event Daemon
|
||||||
Name: acpid
|
Name: acpid
|
||||||
Version: 2.0.25
|
Version: 2.0.25
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source: http://downloads.sourceforge.net/acpid2/%{name}-%{version}.tar.xz
|
Source: http://downloads.sourceforge.net/acpid2/%{name}-%{version}.tar.xz
|
||||||
@ -135,6 +135,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 2 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.25-2
|
||||||
|
- Simplified macros check related to hardening
|
||||||
|
|
||||||
* Mon Aug 17 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.25-1
|
* Mon Aug 17 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.25-1
|
||||||
- New version
|
- New version
|
||||||
Resolves: rhbz#1253985
|
Resolves: rhbz#1253985
|
||||||
|
Loading…
Reference in New Issue
Block a user