[dpdk] Fix verbose build and debuginfo missing source issue

Neil Horman nhorman at fedoraproject.org
Mon Jun 9 16:07:41 UTC 2014


commit fe88d522a362388ae16235a73fa32cf85d29955b
Author: Neil Horman <nhorman at tuxdriver.com>
Date:   Mon Jun 9 12:07:22 2014 -0400

    Fix verbose build and debuginfo missing source issue

 dpdk.spec |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/dpdk.spec b/dpdk.spec
index 89c2e6e..455eeec 100644
--- a/dpdk.spec
+++ b/dpdk.spec
@@ -1,4 +1,4 @@
-%global rel 0.6
+%global rel 0.7
 
 # As per packaging guidelines, since dpdk is pre-release, this is the git hash
 # that I used with git archive to build the source tarball and the date on which
@@ -80,12 +80,14 @@ cp %{SOURCE3} ./config/
 %patch0 -p1
 
 %build
-make O=%{target} T=%{target} %{?_smp_mflags} config
-make O=%{target} %{?_smp_mflags}
-make O=%{target} %{?_smp_mflags} doc
+# need to enable debuginfo
+export CPU_CFLAGS=-g
+make V=1 O=%{target} T=%{target} %{?_smp_mflags} config
+make V=1 O=%{target} %{?_smp_mflags}
+make V=1 O=%{target} %{?_smp_mflags} doc
 
 %install
-make           O=%{target}     DESTDIR=%{destdir}
+make V=1   O=%{target}     DESTDIR=%{destdir}
 mkdir -p                               %{buildroot}%{_sbindir}
 mkdir -p                               %{buildroot}%{_libdir}/%{name}-%{version}
 mkdir -p                               %{buildroot}%{_includedir}/%{name}-%{version}
@@ -129,6 +131,9 @@ cp -a            tools                 %{buildroot}%{datadir}
 %exclude %{docdir}/html
 
 %changelog
-* Tue May 13 2014 - Neil Horman <nhorman at tuxdriver.com> - 1.0.7-0.4.20140603git5ebbb1728
+* Mon Jun 09 2014 - Neil Horman <nhorman at tuxdriver.com> - 1.0.7-0.7.20140603git5ebbb1728
+- Added verbose output to build
+
+* Tue May 13 2014 - Neil Horman <nhorman at tuxdriver.com> - 1.0.7-0.6.20140603git5ebbb1728
 - Initial Build
 


More information about the scm-commits mailing list