diff options
Diffstat (limited to 'redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec')
-rw-r--r-- | redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec index 13c720df0..e9fd83ece 100644 --- a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec +++ b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec @@ -192,6 +192,11 @@ if [ -f "%{_libdir}/${LIBPYTHON}" ]; then -e "s|#define LIB_PYTHON \".*\"|#define LIB_PYTHON \"%{_libdir}/${LIBPYTHON}\"|" fi +# Fix FTBFS on RHEL 5 +%if 0%{?rhel} == 5 +%__sed -i "src/pythonize."* -e "s|const char \*object|char \*object|g" +%endif + %build unset QTDIR QTINC QTLIB |