[slim] Harden build - bz#954324

Pavel Alexeev hubbitus at fedoraproject.org
Fri Apr 26 18:09:18 UTC 2013


commit cb74e58d7a535d4386170ea0d26ef0f24c799769
Author: Pavel Alexeev (aka Pahan-Hubbitus) <pahan at hubbitus.info>
Date:   Fri Apr 26 22:08:38 2013 +0400

    Harden build - bz#954324

 slim.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/slim.spec b/slim.spec
index 6e4acad..b0024ae 100644
--- a/slim.spec
+++ b/slim.spec
@@ -1,6 +1,8 @@
+%global _hardened_build 1
+
 Name:           slim
 Version:        1.3.5
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Simple Login Manager
 Group:          User Interface/X
 License:        GPLv2+
@@ -81,7 +83,7 @@ install -p -D %{SOURCE6} %{buildroot}%{_sysconfdir}/tmpfiles.d/slim.conf
 mkdir -p %{buildroot}%{_unitdir}
 install -m 644 %{SOURCE7} %{buildroot}%{_unitdir}/slim.service
 
-#rm garbage from installer 
+#rm garbage from installer
 rm %{buildroot}/usr/usr/lib/systemd/system/slim.service
 
 %post
@@ -112,6 +114,9 @@ rm %{buildroot}/usr/usr/lib/systemd/system/slim.service
 %endif
 
 %changelog
+* Fri Apr 26 2013 Pavel Alexeev <Pahan at Hubbitus.info> - 1.3.5-3
+- Harden build - bz#954324
+
 * Thu Feb 7 2013 Pavel Alexeev <Pahan at Hubbitus.info> - 1.3.5-2
 - Update to 1.3.5.
 - Fix typo in changelog


More information about the scm-commits mailing list