[slock/f20] Use %attr to set setuid properly
Petr Šabata
psabata at fedoraproject.org
Thu Oct 17 03:20:07 UTC 2013
commit 8886b5df55ce3ea62d5963ab5e442ab5ad92c9e0
Author: Petr Šabata <contyk at redhat.com>
Date: Thu Oct 17 12:20:04 2013 +0900
Use %attr to set setuid properly
slock.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/slock.spec b/slock.spec
index b8a1da5..1cc47b6 100644
--- a/slock.spec
+++ b/slock.spec
@@ -2,7 +2,7 @@
Name: slock
Version: 1.1
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Simple X display locker
Group: User Interface/X
License: MIT
@@ -31,11 +31,14 @@ make install PREFIX=%{buildroot}/usr
%files
%doc README LICENSE
-%{_bindir}/%{name}
+%attr(4755, root, root) %{_bindir}/%{name}
# There is no freedesktop.org .desktop file because slock is basically a helper
# binary for light windowmanagers, and it shouldn't appear in applications menu
%changelog
+* Thu Oct 17 2013 Petr Šabata <contyk at redhat.com> - 1.1-5
+- Use %%attr to set setuid properly
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list