summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdeutils/tdeutils-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/main/tdeutils/tdeutils-14.0.0.spec')
-rw-r--r--redhat/main/tdeutils/tdeutils-14.0.0.spec11
1 files changed, 11 insertions, 0 deletions
diff --git a/redhat/main/tdeutils/tdeutils-14.0.0.spec b/redhat/main/tdeutils/tdeutils-14.0.0.spec
index e75b1b94c..32ab5e171 100644
--- a/redhat/main/tdeutils/tdeutils-14.0.0.spec
+++ b/redhat/main/tdeutils/tdeutils-14.0.0.spec
@@ -135,6 +135,9 @@ BuildRequires: pcre-devel
%define build_klaptopdaemon 1
%endif
+# ACL support
+BuildRequires: libacl-devel
+
# XSCREENSAVER support
%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
%define with_xscreensaver 1
@@ -1057,6 +1060,14 @@ This package contains the development files for tdeutils.
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+%if 0%{?rhel} == 5
+# Reverts some older Python stuff
+%__sed -i "superkaramba/src/"*".cpp" \
+ -e "s|PyBytes_CheckExact|PyString_CheckExact|g" \
+ -e "s|PyBytes_AsString|PyString_AsString|g" \
+ -e "s|PyBytes_FromString|PyString_FromString|g" \
+%endif
+
%build
unset QTDIR QTINC QTLIB