summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-08-24 12:58:17 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-08-24 12:58:17 +0200
commitb37979af4377217fab5410f31f2a81b2b7e08910 (patch)
tree33b51bbfafc13bb3b4dcd9ca13a5246bf6a9621e /redhat/dependencies
parentf2446554876bf0565d8f9061a3f63f3290fa5fc4 (diff)
downloadtde-packaging-b37979af4377217fab5410f31f2a81b2b7e08910.tar.gz
tde-packaging-b37979af4377217fab5410f31f2a81b2b7e08910.zip
RPM Packaging: update for opensuse 13.1
Diffstat (limited to 'redhat/dependencies')
-rw-r--r--redhat/dependencies/libcarddav/libcarddav-3.5.13.2.spec8
1 files changed, 6 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 532354e33..3aaa84439 100644
--- a/redhat/dependencies/libcarddav/libcarddav-3.5.13.2.spec
+++ b/redhat/dependencies/libcarddav/libcarddav-3.5.13.2.spec
@@ -79,8 +79,6 @@ autoreconf --force --install --symlink
%build
-unset QTDIR; . /etc/profile.d/qt3.sh
-
# CFLAGS required if CURL is installed on /opt/trinity, e.g. RHEL 5
export CFLAGS="-I%{tde_includedir} -L%{tde_libdir} ${RPM_OPT_FLAGS}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
@@ -96,13 +94,19 @@ fi
\
--disable-dependency-tracking
+# FIXME: bad libtool ??
+%if 0%{?rhel} == 5
+%__make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool
+%else
%__make %{?_smp_mflags}
+%endif
%install
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} LIBTOOL=$(which libtool)
+# Unwanted files
%__rm -f %{buildroot}%{tde_libdir}/libcarddav.a