From: Junfeng Dong Date: Wed, 18 Dec 2013 06:41:01 +0000 (+0800) Subject: Fix macro expansion in the spec file. X-Git-Tag: accepted/tizen/generic/20140312.102024 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Fgcd.git;a=commitdiff_plain;h=refs%2Ftags%2Faccepted%2Ftizen%2Fgeneric%2F20140312.102024 Fix macro expansion in the spec file. Bug-Tizen: PTREL-545. Change-Id: I191aa4c7c380eba1d4fd7234756f9dbe5c47be8d Signed-off-by: Junfeng Dong --- diff --git a/packaging/gcd.spec b/packaging/gcd.spec index 7d2cebe..ad5fbd2 100644 --- a/packaging/gcd.spec +++ b/packaging/gcd.spec @@ -1,4 +1,4 @@ -%define gcc_version %(LANG=C gcc --version | head -1 | sed 's/.* (.*) \([0-9]\.[0-9]\).*$/\1/') +%define gcc_version %(LANG=C gcc --version | head -1 | sed 's/.* (.*) \\([0-9]\\.[0-9]\\).*$/\\1/') Name: gcd Summary: GCD(Grand Central Dispatch) library @@ -115,5 +115,3 @@ find %{?buildroot:%{buildroot}} -regex ".*\\.la$" | xargs rm -f -- /usr/share/man/man2/kqueue.2.gz /usr/share/man/man2/kevent.2.gz /usr/share/man/man3/dispatch* - -%changelog