Bug 1389061 - Cannot rebuild src.rpm without python support
Summary: Cannot rebuild src.rpm without python support
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: unbound
Version: 24
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Paul Wouters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-26 18:22 UTC by Ilya Evseev
Modified: 2017-04-26 19:42 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-26 19:42:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Fixes rebuilding without python support, adds RHEL/CentOS 7 compatibility. (2.54 KB, patch)
2016-10-26 18:22 UTC, Ilya Evseev
no flags Details | Diff

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)


Note You need to log in before you can comment on or make changes to this bug.