still for fc4 - the fix this morning was not enough
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Sat, 8 Dec 2007 12:58:22 +0000 (12:58 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Sat, 8 Dec 2007 12:58:22 +0000 (12:58 +0000)
PLCAPI.spec

index 371db93..8ada335 100644 (file)
@@ -72,6 +72,11 @@ rm -f doc/PLCAPI.html
 
 %install
 rm -rf $RPM_BUILD_ROOT
+if [ "%{distrorelease}" -le 4 ] ; then
+    modules="psycopg2 pycurl"
+else
+    modules=""
+fi
 %{__make} %{?_smp_mflags} install DESTDIR="$RPM_BUILD_ROOT" datadir="%{_datadir}" bindir="%{_bindir}" modules="$modules"
 #someone out there skips doc installation - we DO want this installed
 for doc in PLCAPI.html PLCAPI.pdf ; do