Created attachment 1214381 [details] Fixes rebuilding without python support, adds RHEL/CentOS 7 compatibility. Description of problem: Unbound package cannot be bebuilded from src.rpm without Python support because unbound.spec contains several bugs. Version-Release number of selected component (if applicable): Tested on 1.5.10-1.fc24 How reproducible: Just try to rebuild src.rpm with --define "with_python 0" switch. Steps to Reproduce: 1. wget http://mirror.yandex.ru/fedora/linux/updates/24/SRPMS/u/unbound-1.5.10-1.fc24.src.rpm 2. yum install flex openssl-devel libevent-devel expat-devel pkgconfig python2-devel swig python3-devel systemd 3. rpmbuild --rebuild --define "with_python 0" unbound-1.5.10-1.fc24.src.rpm Actual results: rpmbuild failed. Expected results: rpmbuild succeed. Additional info: My patch adds also RHEL/CentOS 7.x compatibility (python3-devel => python34-devel)