rpms/fbterm/devel fbterm.spec,1.6,1.7 import.log,1.5,1.6

Ding-Yi Chen dchen at fedoraproject.org
Tue Jan 6 02:19:30 UTC 2009


Author: dchen

Update of /cvs/pkgs/rpms/fbterm/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3982/devel

Modified Files:
	fbterm.spec import.log 
Log Message:
SUID fbterm for EL5


Index: fbterm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fbterm/devel/fbterm.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- fbterm.spec	5 Jan 2009 01:43:12 -0000	1.6
+++ fbterm.spec	6 Jan 2009 02:18:59 -0000	1.7
@@ -1,6 +1,6 @@
 Name:       fbterm
 Version:    1.3
-Release:    0%{?dist}
+Release:    1%{?dist}
 License:    GPLv2+
 Group:      Applications/System
 URL:        http://code.google.com/p/fbterm/
@@ -37,7 +37,7 @@
 %prep
 %setup -q
 #%patch0 -p0 -b .kernel-header
-%patch1 -p0 -b .signalfd
+%patch1 -p0 -b .setcap
 
 %build
 %configure --disable-static --disable-rpath
@@ -52,17 +52,27 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%if 0%{?fedora} >= 9
 %post
 setcap 'cap_sys_tty_config+ep' %{_bindir}/%{name}
+%endif
+
 
 %files 
 %defattr(-,root,root,-)
 %doc AUTHORS ChangeLog COPYING README
+%if 0%{?fedora} >= 9
 %{_bindir}/%{name}
+%else
+%attr(4755,root,root) %{_bindir}/%{name}
+%endif
 %{_mandir}/man1/%{name}.1.gz
 
 
 %changelog
+* Tue Jan 06 2009 Ding-Yi Chen <dchen at redhat dot com> - 1.3-1
+- SUID fbterm for el5, as it does not have libcap.
+
 * Mon Jan 05 2009 Ding-Yi Chen <dchen at redhat dot com> - 1.3-0
 - Upstream update:
   1. added command line arguments to change option values 


Index: import.log
===================================================================
RCS file: /cvs/pkgs/rpms/fbterm/devel/import.log,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- import.log	5 Jan 2009 01:43:12 -0000	1.5
+++ import.log	6 Jan 2009 02:18:59 -0000	1.6
@@ -3,3 +3,4 @@
 fbterm-1_2-1_fc9:HEAD:fbterm-1.2-1.fc9.src.rpm:1227251011
 fbterm-1_2-2_fc10:HEAD:fbterm-1.2-2.fc10.src.rpm:1228959810
 fbterm-1_3-0_fc10:HEAD:fbterm-1.3-0.fc10.src.rpm:1231119727
+fbterm-1_3-1_fc10:HEAD:fbterm-1.3-1.fc10.src.rpm:1231208300




More information about the scm-commits mailing list