commit 6f5c9a05b665ae4520035bf2c3b1c68fe09a9ced
Author: Witold Filipczyk <[email protected]>
Date:   Sun Jan 19 13:59:53 2014 +0100

    - set capabilities to allow ALT-F3 and other keystrokes on Linux console
    - post and postun for infview

 setedit.spec | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/setedit.spec b/setedit.spec
index 5abc2ab..e212ed0 100644
--- a/setedit.spec
+++ b/setedit.spec
@@ -112,10 +112,19 @@ rm -rf $RPM_BUILD_ROOT
 
 %post  -p      /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
+-/sbin/setcap 'cap_sys_tty_config+ep' %{_bindir}/setedit
+
 
 %postun        -p      /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
+%post  -n infview -p   /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+-/sbin/setcap 'cap_sys_tty_config+ep' %{_bindir}/infview
+
+%postun        -n infview -p   /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README TODO distrib/linux.faq doc-setedit/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/setedit.git/commitdiff/6f5c9a05b665ae4520035bf2c3b1c68fe09a9ced

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to