Browse Source

grep: update to 2.14, build with pcre-8.31

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@7001 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 11 years ago
parent
commit
24ff8dd3b0
1 changed files with 14 additions and 5 deletions
  1. 14 5
      g/grep/grep-vl.spec

+ 14 - 5
g/grep/grep-vl.spec

@@ -1,7 +1,7 @@
 Summary: The GNU versions of grep pattern matching utilities.
 Summary(ja): GNU版 grep パターンマッチングユーティリティ
 Name: grep
-Version: 2.7
+Version: 2.14
 Release: 1%{?_dist_release}
 
 License: GPLv3+
@@ -12,12 +12,15 @@ Source: ftp://ftp.gnu.org/pub/gnu/grep/grep-%{version}.tar.xz
 Source1: colorgrep.sh
 Source2: colorgrep.csh
 Source3: GREP_COLORS
-Patch0: grep-2.7-const-range-exp.patch
+Patch1: grep-2.11-gnulib-tests-rm-f.patch
+Patch2: grep-2.14-man-fix-R.patch
 
 Requires(post): install-info
 Requires(preun): install-info
 Buildroot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: pcre-devel, texinfo, gettext, gzip
+BuildRequires: pcre-devel >= 8.31
+BuildRequires: texinfo, gettext, gzip
+BuildRequires: autoconf, automake
 
 %description
 The GNU versions of commonly used grep utilities.  Grep searches
@@ -38,10 +41,12 @@ utility for searching through text.
 
 %prep
 %setup -q
-%patch0 -p1 -b .const-range-exp
+%patch1 -p1 -b .gnulib-tests-rm-f
+%patch2 -p1 -b .man-fix-R
+
 
 %build
-%configure CPPFLAGS="-I%{_includedir}/pcre" \
+%configure \
 	--without-included-regex
 %__make %{?_smp_mflags}
 
@@ -84,6 +89,10 @@ fi
 %{_mandir}/*/*
 
 %changelog
+* Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14-1
+- update to 2.14
+- build with pcre-8.31
+
 * Tue Feb 10 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.7-1
 - new upstream release
 - drop unneeded old patches