summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/dependencies/libcaldav/libcaldav-14.0.0.spec')
-rw-r--r--redhat/dependencies/libcaldav/libcaldav-14.0.0.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec b/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec
index fbe3bf8d2..839955a60 100644
--- a/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec
+++ b/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec
@@ -78,7 +78,7 @@ Provides: libcaldav-devel = %{version}-%{release}
%build
# CFLAGS required if CURL is installed on /opt/trinity, e.g. RHEL 5
-export CFLAGS="-I%{tde_includedir} -L%{tde_libdir} ${CFLAGS}"
+export CFLAGS="-I%{tde_includedir} -L%{tde_libdir} ${RPM_OPT_FLAGS}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
if [ -d /usr/evolution28 ]; then
@@ -89,7 +89,9 @@ fi
--docdir=%{tde_docdir}/libcaldav \
--includedir=%{tde_includedir} \
--libdir=%{tde_libdir} \
-
+ \
+ --disable-dependency-tracking
+
%__make %{?_smp_mflags}
%install
@@ -98,6 +100,7 @@ fi
%__rm -f %{buildroot}%{tde_libdir}/*.a
+
%clean
%__rm -rf %{buildroot}