From: Thierry Parmentelat Date: Sat, 8 Dec 2007 12:58:22 +0000 (+0000) Subject: still for fc4 - the fix this morning was not enough X-Git-Tag: PLCAPI-4.2-0~11 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=90d19396f866135c1c485847d5422f3c0cb85131;p=plcapi.git still for fc4 - the fix this morning was not enough --- diff --git a/PLCAPI.spec b/PLCAPI.spec index 371db93..8ada335 100644 --- a/PLCAPI.spec +++ b/PLCAPI.spec @@ -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