Accepting request 48968 from home:jsmeix:branches:Base:System

OBS-URL: https://build.opensuse.org/request/show/48968
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=7
This commit is contained in:
Dirk Mueller 2010-09-23 14:42:19 +00:00 committed by Git OBS Bridge
parent 5e7a038201
commit 1fd6c0c375
4 changed files with 39 additions and 18 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d319e79d5b1b3f9331da1db281949f7bc02e385abbf984764f2bb26783005c78
size 1021770

3
grep-2.7.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:25061240265afa4ccf9383d11ddb5d3ccff12a2810f227286f7e566d506f239e
size 1166732

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Thu Sep 23 12:47:04 CEST 2010 - jsmeix@suse.de
- Version upgrade to grep-2.7 with new behavior:
grep now diagnoses (and fails with exit status 2) commonly
mistyped regular expression like [:space:], [:digit:], etc.
Before, those were silently interpreted as [ac:eps]
and [dgit:] respectively. This new behavior is disabled
when the POSIXLY_CORRECT environment variable is set.
Regular expressions including back references are now
significantly faster in multi-byte locales.
Regular expressions including "." can now be significantly
faster in UTF-8 locales (though not in other multi-byte locales).
Several other minor bugs were fixed.
For details see the NEWS file.
- Adapted RPM description text to match the "Introduction to grep"
at http://www.gnu.org/software/grep/ and removed the outdated
Authors section, see the AUTHORS file for the right authors.
- Enhanced RPM spec file so that it builds and can be provided
even for older openSUSE and SLES versions.
-------------------------------------------------------------------
Thu Jul 22 15:45:31 CEST 2010 - jsmeix@suse.de

View File

@ -1,5 +1,5 @@
#
# spec file for package grep (Version 2.6.3)
# spec file for package grep (Version 2.7)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -19,39 +19,39 @@
Name: grep
BuildRequires: pcre-devel
%if 0%{?suse_version} < 1120
BuildRequires: pcre
%endif
Url: http://www.gnu.org/software/grep/
License: GPLv3
Group: Productivity/Text/Utilities
Provides: base:/usr/bin/grep
AutoReqProv: on
PreReq: %{install_info_prereq}
Version: 2.6.3
Version: 2.7
Release: 1
Summary: Print lines matching a pattern
Source: grep-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
GNU grep, the "fastest grep in the west" (hopefully).
`grep' searches for lines matching a pattern.
Authors:
--------
Alain Magloire <alainm@rcsm.ece.mcgill.ca>
Aharon Robbins <arnold@gnu.org>
David J MacKenzie <djm@catapult.va.pubnix.com>
Karl Berry <karl@cs.umb.edu>
Ulrich Drepper <drepper@cygnus.com>
The grep command searches one or more input files
for lines containing a match to a specified pattern.
By default, grep prints the matching lines.
%prep
%setup -q
%if 0%{?suse_version} < 1120
echo "ac_cv_search_pcre_compile=\${ac_cv_search_pcre_compile=%{_libdir}/libpcre.a}" >config.cache
%endif
%build
%if 0%{?suse_version} < 1120
%configure -C --bindir=/bin --without-included-rege
%else
AUTOPOINT=true autoreconf --force --install
%configure --bindir=/bin --without-included-regex
%endif
%{__make} %{?_smp_mflags}
%check