aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2016-02-09 18:14:08 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-02-23 09:46:16 +1100
commit9997117f30cdecec9248c23722da44c734a57e14 (patch)
tree85ea2e1024a2f5a962efdb4bd523a5b4ca022418
parent539720ca9b1543a35411511a4154d3c9e5e4dc84 (diff)
downloadskiboot-9997117f30cdecec9248c23722da44c734a57e14.zip
skiboot-9997117f30cdecec9248c23722da44c734a57e14.tar.gz
skiboot-9997117f30cdecec9248c23722da44c734a57e14.tar.bz2
specfile: Fix build issues
We have "%{?_smp_mflags}" in specfile. This will initiate multiple jobs. In some cases (like opal-prd), we have to first create symbolic link and then start compilation. Because of multiple jobs created by make, we hit below error. ln -sfr ../../ccan ./ccan ln -sfr ../common ./common ln -sfr ../../libflash ./libflash make: *** No rule to make target 'libflash/blocklevel.c', needed by 'libflash-blocklevel.o'. Stop. make: *** Waiting for unfinished jobs.... make: Leaving directory '/root/rpmbuild/BUILD/skiboot-skiboot-5.1.13/external/opal-prd' error: Bad exit status from /var/tmp/rpm-tmp.ZG2RS6 (%build) This patch removes "%{?_smp_mflags}" from specfile. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> CC: Cédric Le Goater <clg@fr.ibm.com> Acked-by: Cedric Le Goater <clg@fr.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--skiboot.spec13
1 files changed, 8 insertions, 5 deletions
diff --git a/skiboot.spec b/skiboot.spec
index bc48695..b1bbcc6 100644
--- a/skiboot.spec
+++ b/skiboot.spec
@@ -1,5 +1,5 @@
Name: opal-prd
-Version: 5.1.12
+Version: 5.1.13
Release: 1%{?dist}
Summary: OPAL Processor Recovery Diagnostics Daemon
@@ -50,10 +50,10 @@ services to the OS (Linux) on IBM Power and OpenPower systems.
%build
SKIBOOT_VERSION=%version CROSS= make V=1 %{?_smp_mflags}
-OPAL_PRD_VERSION=%version make %{?_smp_mflags} V=1 -C external/opal-prd
-GARD_VERSION=%version make V=1 %{?_smp_mflags} -C external/gard
-PFLASH_VERSION=%version make V=1 %{?_smp_mflags} -C external/pflash
-make V=1 %{?_smp_mflags} -C external/xscom-utils
+OPAL_PRD_VERSION=%version make V=1 -C external/opal-prd
+GARD_VERSION=%version make V=1 -C external/gard
+PFLASH_VERSION=%version make V=1 -C external/pflash
+make V=1 -C external/xscom-utils
%install
make -C external/opal-prd install DESTDIR=%{buildroot} prefix=/usr
@@ -111,5 +111,8 @@ fi
%{_datadir}/qemu/
%changelog
+* Tue Feb 09 2016 Vasant Hegde <hegdevasant@linux.vnet.ibm.com> - 5.1.13
+- Update to latest upstream release
+
* Mon Nov 23 2015 Vasant Hegde <hegdevasant@linux.vnet.ibm.com> - 5.1.12
- initial upstream spec file