]> git.pld-linux.org Git - packages/grep.git/commitdiff
- using %{_target} macro
authorArtur Frysiak <artur@frysiak.net>
Tue, 4 May 1999 20:08:06 +0000 (20:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added -D_GNU_SOURCE to CFLAGS

Changed files:
    grep.spec -> 1.10

grep.spec

index 48e658bb0280038a5cba46f11d3c0654a36efeba..67d3337f38069599e336f820bdcaabed86146adf 100644 (file)
--- a/grep.spec
+++ b/grep.spec
@@ -4,7 +4,7 @@ Summary(pl):    GNU grep
 Summary(tr):   Dosyalarda katar arama aracý
 Name:          grep
 Version:       2.3
-Release:       3
+Release:       4
 Copyright:     GPL
 Group:         Utilities/Text
 Group(pl):     Narzêdzia/Tekst
@@ -41,8 +41,8 @@ s
 %patch0 -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure \
+CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" LDFLAGS="-s" \
+./configure %{_target} \
        --prefix=/usr \
        --exec-prefix=/
 make 
This page took 0.116743 seconds and 4 git commands to generate.