[mdds] fix setting of flags for building tests

David Tardon dtardon at fedoraproject.org
Wed Sep 4 11:05:20 UTC 2013


commit ad030ad3487ffb98d8ed3889255673a1253fdb29
Author: David Tardon <dtardon at redhat.com>
Date:   Wed Sep 4 12:38:11 2013 +0200

    fix setting of flags for building tests

 mdds.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mdds.spec b/mdds.spec
index 89c8cfb..c36584b 100644
--- a/mdds.spec
+++ b/mdds.spec
@@ -36,7 +36,7 @@ Headers for %{name}.
 %prep
 %setup -q -n %{name}_%{version}
 # this is only used in tests
-sed -i -e '/^CPPFLAGS/s/-Wall.*-std/%{optflags} -std/' Makefile.in
+sed -i -e '/^CPPFLAGS_NODEBUG=/s/=.*/="%{optflags}"/' configure
 
 %build
 %configure


More information about the scm-commits mailing list