summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/libcarddav/libcarddav-3.5.13.2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/dependencies/libcarddav/libcarddav-3.5.13.2.spec')
-rw-r--r--redhat/dependencies/libcarddav/libcarddav-3.5.13.2.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/redhat/dependencies/libcarddav/libcarddav-3.5.13.2.spec b/redhat/dependencies/libcarddav/libcarddav-3.5.13.2.spec
index 3aaa84439..0ee74644a 100644
--- a/redhat/dependencies/libcarddav/libcarddav-3.5.13.2.spec
+++ b/redhat/dependencies/libcarddav/libcarddav-3.5.13.2.spec
@@ -95,7 +95,7 @@ fi
--disable-dependency-tracking
# FIXME: bad libtool ??
-%if 0%{?rhel} == 5
+%if 0%{?rhel} == 4 || 0%{?rhel} == 5
%__make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool
%else
%__make %{?_smp_mflags}
@@ -104,7 +104,7 @@ fi
%install
%__rm -rf %{buildroot}
-%__make install DESTDIR=%{buildroot} LIBTOOL=$(which libtool)
+%__make install DESTDIR=%{buildroot} LIBTOOL=/usr/bin/libtool
# Unwanted files
%__rm -f %{buildroot}%{tde_libdir}/libcarddav.a