From ec727d4980fa15b34a0ec1b37f8ec7cae957e02d Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 28 Jan 2015 09:49:40 +0200 Subject: [PATCH] Drop now unnecessary debug flags patch. Rpm %optflags always include -g, and as the optflags are getting passed to the build since commit fe6107da05c0db442c7ace1e87b1520f30aded67, this is no longer needed. --- dpdk-debug.patch | 9 --------- dpdk.spec | 3 +-- 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 dpdk-debug.patch diff --git a/dpdk-debug.patch b/dpdk-debug.patch deleted file mode 100644 index 2191d3a..0000000 --- a/dpdk-debug.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -up ./mk/rte.vars.mk.orig ./mk/rte.vars.mk ---- ./mk/rte.vars.mk.orig 2014-06-30 11:24:24.379944369 -0400 -+++ ./mk/rte.vars.mk 2014-06-30 11:24:34.544237841 -0400 -@@ -138,3 +138,5 @@ include $(RTE_SDK)/mk/target/$(RTE_TARGE - else - include $(RTE_SDK)/mk/target/generic/rte.vars.mk - endif -+ -+CFLAGS+=-g diff --git a/dpdk.spec b/dpdk.spec index a72c17d..716757a 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -4,7 +4,6 @@ Release: 6%{?dist} URL: http://dpdk.org Source: http://dpdk.org/browse/dpdk/snapshot/dpdk-%{version}.tar.gz -Patch0: dpdk-debug.patch Patch1: dpdk-config.patch @@ -56,7 +55,6 @@ API programming documentation for the Data Plane Development Kit. %prep %setup -q -%patch0 -p1 -z .debug %patch1 -p1 -z .config %build @@ -139,6 +137,7 @@ find %{buildroot}%{_includedir}/%{name}-%{version} -type f | xargs chmod 0644 %changelog * Wed Jan 27 2015 Panu Matilainen - 1.7.0-6 - Avoid variable expansion in the spec here-documents during build +- Drop now unnecessary debug flags patch * Tue Jan 27 2015 Panu Matilainen - 1.7.0-5 - Avoid unnecessary use of %%global, lazy expansion is normally better