[packages/rawkeybind] Don't break things. binary has to be suid root
blues
blues at pld-linux.org
Thu Apr 21 17:45:29 CEST 2016
commit 06bd3349ea3db0d8a4d35f4bead752a27579bf2a
Author: Paweł Gołaszewski <blues at pld-linux.org>
Date: Thu Apr 21 17:43:32 2016 +0200
Don't break things. binary has to be suid root
This reverts commit 4c4da19af319f0f13a3bd1290cf0a14a32f674c3.
rawkeybind.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/rawkeybind.spec b/rawkeybind.spec
index 3d33f69..701e9c9 100644
--- a/rawkeybind.spec
+++ b/rawkeybind.spec
@@ -32,6 +32,7 @@ WARNING: the binary is SUID root!
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
@@ -40,6 +41,6 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rawkeybind.conf
-%attr(755,root,root) %{_bindir}/rawkeybind
-%{_mandir}/man1/rawkeybind.1*
+%attr(4755,root,root) %{_bindir}/%{name}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
+%{_mandir}/man1/*.1*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rawkeybind.git/commitdiff/dab04ddeb7cb2438f48f2002788ba245b6d1ea9e
More information about the pld-cvs-commit
mailing list