Bug 1389061

Summary: Cannot rebuild src.rpm without python support
Product: [Fedora] Fedora Reporter: Ilya Evseev <ilya.evseev>
Component: unboundAssignee: Paul Wouters <pwouters>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 24CC: drjohnson1, pj.pandit, psimerda, pwouters, thozza
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-26 19:42:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Fixes rebuilding without python support, adds RHEL/CentOS 7 compatibility. none

Description Ilya Evseev 2016-10-26 18:22:58 UTC
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)