diff options
author | François Andriot <albator78@libertysurf.fr> | 2015-08-05 20:25:18 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2015-08-05 20:25:18 +0200 |
commit | 562049cd694f6dd0927b9880227fc4f6da008839 (patch) | |
tree | e939e442f1fb29ff29811ebc02f672ecf62a47c1 /redhat/main/tdeutils/tdeutils-14.0.0.spec | |
parent | 6253ed4f8177cb33fef709fb7e215ff94e6300c1 (diff) | |
download | tde-packaging-562049cd694f6dd0927b9880227fc4f6da008839.tar.gz tde-packaging-562049cd694f6dd0927b9880227fc4f6da008839.zip |
RPM Packaging: massive update
Diffstat (limited to 'redhat/main/tdeutils/tdeutils-14.0.0.spec')
-rw-r--r-- | redhat/main/tdeutils/tdeutils-14.0.0.spec | 11 |
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 |