SHA256
6
0
forked from pool/grep

Accepting request 109178 from home:tabraham1:branches:Base:System

update to 2.11

OBS-URL: https://build.opensuse.org/request/show/109178
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=22
This commit is contained in:
Stephan Kulow
2012-03-14 10:21:46 +00:00
committed by Git OBS Bridge
parent 878ebfbf59
commit 675c8879e8
5 changed files with 80 additions and 38 deletions

View File

@@ -15,6 +15,8 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: grep
BuildRequires: automake
BuildRequires: pcre-devel
@@ -24,14 +26,13 @@ BuildRequires: pcre
Url: http://www.gnu.org/software/grep/
Provides: base:/usr/bin/grep
PreReq: %{install_info_prereq}
Version: 2.9
Version: 2.11
Release: 0
Summary: Print lines matching a pattern
License: GPL-3.0+
Group: Productivity/Text/Utilities
Source: grep-%{version}.tar.bz2
Patch0: fix-testsuite.diff
Patch1: grep-ppc-fix.patch
Patch0: grep-ppc-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -44,11 +45,10 @@ By default, grep prints the matching lines.
%if 0%{?suse_version} < 1120
echo "ac_cv_search_pcre_compile=\${ac_cv_search_pcre_compile=%{_libdir}/libpcre.a}" >config.cache
%endif
%patch0
# If you platform Long Double and Double to not match as expected
%ifarch ppc ppc64
%patch1 -p1
%patch0 -p1
%endif
%build