rpms/tpb/FC-6 tpb.spec,1.14,1.15

Kevin Fenzi (kevin) fedora-extras-commits at redhat.com
Sun Dec 10 00:20:31 UTC 2006


Author: kevin

Update of /cvs/extras/rpms/tpb/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29117

Modified Files:
	tpb.spec 
Log Message:
Add fix for multiple displays (bug #205719)
Build on x86_64, since there are now x86_64 thinkpads. (bug #218993)



Index: tpb.spec
===================================================================
RCS file: /cvs/extras/rpms/tpb/FC-6/tpb.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- tpb.spec	28 Aug 2006 04:39:40 -0000	1.14
+++ tpb.spec	10 Dec 2006 00:20:01 -0000	1.15
@@ -1,6 +1,6 @@
 Name:           tpb
 Version:        0.6.4
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        ThinkPad button support utility
 
 Group:          System Environment/Base
@@ -11,7 +11,7 @@
 Patch0:         %{name}-defaultconfig.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-ExclusiveArch:	%{ix86}
+ExclusiveArch:  %{ix86} x86_64
 BuildRequires:  xosd-devel >= 2.0.0
 BuildRequires:  libX11-devel
 BuildRequires:  libXt-devel
@@ -37,7 +37,9 @@
 # Start tpb at X startup:
 cat <<EOF > %{name}.xinit
 #!/bin/sh
-%{_bindir}/tpb -d
+if echo "\$DISPLAY" | grep "^:" > /dev/null; then
+        %{_bindir}/tpb -d
+fi
 EOF
 
 # For the initial MAKEDEV at post-install time, and possibly later:
@@ -99,6 +101,10 @@
 
 
 %changelog
+* Sat Dec  9 2006 Kevin Fenzi <kevin at tummy.com> - 0.6.4-6
+- Add fix for multiple displays (bug #205719)
+- Build on x86_64, since there are now x86_64 thinkpads. (bug #218993)
+
 * Sun Aug 27 2006 Kevin Fenzi <kevin at tummy.com> - 0.6.4-5
 - Rebuild for fc6
 




More information about the fedora-extras-commits mailing list