summaryrefslogtreecommitdiffstats
path: root/redhat/tdevelop/tdevelop-3.5.13.2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/tdevelop/tdevelop-3.5.13.2.spec')
-rw-r--r--redhat/tdevelop/tdevelop-3.5.13.2.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/redhat/tdevelop/tdevelop-3.5.13.2.spec b/redhat/tdevelop/tdevelop-3.5.13.2.spec
index 305fb8c0d..d212a5ce4 100644
--- a/redhat/tdevelop/tdevelop-3.5.13.2.spec
+++ b/redhat/tdevelop/tdevelop-3.5.13.2.spec
@@ -85,8 +85,10 @@ BuildRequires: openldap2-devel
BuildRequires: openldap-devel
%endif
-#ACL support
+# LIBACL support
+%if 0%{?suse_version} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: libacl-devel
+%endif
Obsoletes: trinity-tdevelop < %{version}-%{release}
Provides: trinity-tdevelop = %{version}-%{release}
@@ -589,7 +591,7 @@ export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
# Specific path for RHEL4
if [ -d /usr/X11R6 ]; then
- export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+ export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
fi
# c references