summaryrefslogtreecommitdiffstats
path: root/redhat/tdepim/tdepim-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/tdepim/tdepim-14.0.0.spec')
-rw-r--r--redhat/tdepim/tdepim-14.0.0.spec7
1 files changed, 7 insertions, 0 deletions
diff --git a/redhat/tdepim/tdepim-14.0.0.spec b/redhat/tdepim/tdepim-14.0.0.spec
index ceeb55886..bdd4c9c65 100644
--- a/redhat/tdepim/tdepim-14.0.0.spec
+++ b/redhat/tdepim/tdepim-14.0.0.spec
@@ -712,6 +712,8 @@ Requires: libcaldav
Requires: libcarddav
Obsoletes: tdepim-tderesources-devel < %{version}-%{release}
+Obsoletes: trinity-tdepim-kresources-devel < %{version}-%{release}
+Provides: trinity-tdepim-kresources-devel = %{version}-%{release}
%description tderesources-devel
%{summary}
@@ -2210,6 +2212,11 @@ unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+# Specific path for RHEL4
+if [ -d "/usr/X11R6" ]; then
+ export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build