I'm not sure if this is the actual problem but it seems to show the same error:
https://github.com/swig/swig/issues/221
Error from build log:
cd /home/build/rpmbuild/libopenshot/BUILD/libopenshot-0.0.4/src/bindings/python && /usr/lib64/ccache/swig -python -outdir /home/build/rpmbuild/libopenshot/BUILD/libopenshot-0.0.4/src/bindings/python -c++ -I/usr/include/ImageMagick-6 -I/usr/include/ffmpeg -I/usr/include/libopenshot-audio -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtMultimedia -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtMultimediaWidgets -I/home/build/rpmbuild/libopenshot/BUILD/libopenshot-0.0.4/src/../thirdparty/jsoncpp/include -I/usr/include/python3.4m -I/home/build/rpmbuild/libopenshot/BUILD/libopenshot-0.0.4/src/bindings/python -o /home/build/rpmbuild/libopenshot/BUILD/libopenshot-0.0.4/src/bindings/python/openshotPYTHON_wrap.cxx /home/build/rpmbuild/libopenshot/BUILD/libopenshot-0.0.4/src/bindings/python/openshot.i
/home/build/rpmbuild/libopenshot/BUILD/libopenshot-0.0.4/src/bindings/python/openshot.i:7: Error: Unknown SWIG preprocessor directive: Copyright (if this is a block of target language code, delimit it with %{ and %})
/home/build/rpmbuild/libopenshot/BUILD/libopenshot-0.0.4/src/bindings/python/openshot.i:9: Error: Unknown SWIG preprocessor directive: OpenShot (if this is a block of target language code, delimit it with %{ and %})
/home/build/rpmbuild/libopenshot/BUILD/libopenshot-0.0.4/src/bindings/python/openshot.i:10: Error: Unknown SWIG preprocessor directive: delivering (if this is a block of target language code, delimit it with %{ and %})
/home/build/rpmbuild/libopenshot/BUILD/libopenshot-0.0.4/src/bindings/python/openshot.i:11: Error: Unknown SWIG preprocessor directive: world (if this is a block of target language code, delimit it with %{ and %})
/home/build/rpmbuild/libopenshot/BUILD/libopenshot-0.0.4/src/bindings/python/openshot.i:13: Error: Unknown SWIG preprocessor directive: OpenShot (if this is a block of target language code, delimit it with %{ and %})
/home/build/rpmbuild/libopenshot/BUILD/libopenshot-0.0.4/src/bindings/python/openshot.i:14: Error: Unknown SWIG preprocessor directive: and (if this is a block of target language code, delimit it with %{ and %})
/home/build/rpmbuild/libopenshot/BUILD/libopenshot-0.0.4/src/bindings/python/openshot.i:15: Error: Unknown SWIG preprocessor directive: as (if this is a block of target language code, delimit it with %{ and %})
/home/build/rpmbuild/libopenshot/BUILD/libopenshot-0.0.4/src/bindings/python/openshot.i:16: Error: Unknown SWIG preprocessor directive: License (if this is a block of target language code, delimit it with %{ and %})
/home/build/rpmbuild/libopenshot/BUILD/libopenshot-0.0.4/src/bindings/python/openshot.i:18: Error: Unknown SWIG preprocessor directive: OpenShot (if this is a block of target language code, delimit it with %{ and %})
/home/build/rpmbuild/libopenshot/BUILD/libopenshot-0.0.4/src/bindings/python/openshot.i:19: Error: Unknown SWIG preprocessor directive: useful (if this is a block of target language code, delimit it with %{ and %})
/home/build/rpmbuild/libopenshot/BUILD/libopenshot-0.0.4/src/bindings/python/openshot.i:20: Error: Unknown SWIG preprocessor directive: MERCHANTABILITY (if this is a block of target language code, delimit it with %{ and %})
/home/build/rpmbuild/libopenshot/BUILD/libopenshot-0.0.4/src/bindings/python/openshot.i:21: Error: Unknown SWIG preprocessor directive: GNU (if this is a block of target language code, delimit it with %{ and %})
/home/build/rpmbuild/libopenshot/BUILD/libopenshot-0.0.4/src/bindings/python/openshot.i:23: Error: Unknown SWIG preprocessor directive: You (if this is a block of target language code, delimit it with %{ and %})
/home/build/rpmbuild/libopenshot/BUILD/libopenshot-0.0.4/src/bindings/python/openshot.i:24: Error: Unknown SWIG preprocessor directive: along (if this is a block of target language code, delimit it with %{ and %})
src/bindings/python/CMakeFiles/_openshot.dir/build.make:56: recipe for target 'src/bindings/python/openshotPYTHON_wrap.cxx' failed
make[2]: *** [src/bindings/python/openshotPYTHON_wrap.cxx] Error 1
Remove the comments on the top of the file
libopenshot/ src/bindings/ python/ openshot. i bzr/src/ libopenshot/ src/bindings/ ruby/openshot. i
libopenshot-