diff options
author | Peter Osterlund <petero2@telia.com> | 2006-06-04 01:24:05 +0200 |
---|---|---|
committer | Peter Osterlund <petero2@telia.com> | 2006-06-04 01:24:05 +0200 |
commit | bb4988f97ade7ae216ff797a96eed5ea668e9763 (patch) | |
tree | 8cdf4c9c1200612e2d85f6c61c0346af2ea5147f /synaptics.spec | |
parent | 1df966894abf9ee616f30ee64df7184fc5eaa2ef (diff) |
Fix the .spec file to make it work on FC5.
Diffstat (limited to 'synaptics.spec')
-rw-r--r-- | synaptics.spec | 5 |
1 files 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 |