From 90d19396f866135c1c485847d5422f3c0cb85131 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sat, 8 Dec 2007 12:58:22 +0000 Subject: [PATCH] still for fc4 - the fix this morning was not enough --- PLCAPI.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/PLCAPI.spec b/PLCAPI.spec index 371db93d..8ada3353 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 -- 2.47.0