From bb4988f97ade7ae216ff797a96eed5ea668e9763 Mon Sep 17 00:00:00 2001 From: Peter Osterlund Date: Sun, 4 Jun 2006 01:24:05 +0200 Subject: Fix the .spec file to make it work on FC5. --- synaptics.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/synaptics.spec b/synaptics.spec index 0ed857c..9a9be1f 100644 --- a/synaptics.spec +++ b/synaptics.spec @@ -1,3 +1,5 @@ +%define moduledir %(pkg-config xorg-server --variable=moduledir || echo /usr/X11R6) + Summary: The Synaptics touchpad X driver Name: synaptics Version: 0.14.4 @@ -6,7 +8,6 @@ License: GPL Group: User Interface/X Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root -BuildPreReq: XFree86-devel %description This is a driver for the Synaptics TouchPad for XOrg/XFree86 4.x. A Synaptics @@ -48,7 +49,7 @@ make DESTDIR=$RPM_BUILD_ROOT install %files %defattr(-,root,root) /usr/local -/usr/X11R6 +%{moduledir} %doc COMPATIBILITY FILES INSTALL INSTALL.DE INSTALL.FR LICENSE README README.alps TODO %doc trouble-shooting.txt -- cgit v1.2.3