From 562049cd694f6dd0927b9880227fc4f6da008839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Wed, 5 Aug 2015 20:25:18 +0200 Subject: RPM Packaging: massive update --- redhat/main/tdeutils/tdeutils-14.0.0.spec | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'redhat/main/tdeutils') 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 -- cgit v1.2.1