From 81eea299f5770064c76b1b1ff7d04f2f9ba1b2ce Mon Sep 17 00:00:00 2001 From: VictorRodriguez Date: Wed, 8 May 2019 13:53:10 -0500 Subject: [PATCH] Fix fm-rest-api.spec missing buildreq Without python-devel as build req in the spec if it is build in a mock transparent build system ussing the CENGN repos: http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/latest_build/ outputs/RPMS/std/ inputs/RPMS/ And upstream centos: http://mirror.centos.org/centos/7/os/x86_64/ The specfile is incomplete in build req and fails with: + %py2_build_wheel /var/tmp/rpm-tmp.XE1zff: line 32: fg: no job control This patch fix the issue in the specfile Closes-Bug: 1828284 Change-Id: I2842d3dd3761d6827e7d1f9563ec92ebe02e10a5 Signed-off-by: VictorRodriguez --- fm-rest-api/centos/fm-rest-api.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fm-rest-api/centos/fm-rest-api.spec b/fm-rest-api/centos/fm-rest-api.spec index 5de140e8..30044c72 100644 --- a/fm-rest-api/centos/fm-rest-api.spec +++ b/fm-rest-api/centos/fm-rest-api.spec @@ -8,7 +8,7 @@ Packager: Wind River URL: unknown Source0: %{name}-%{version}.tar.gz - +BuildRequires: python-devel BuildRequires: python-setuptools BuildRequires: python2-pip BuildRequires: python2-wheel