Updating link to change in openSUSE:Factory/grep revision 19.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=53f4dea82ac8e2b55f22fc9a92d6109d
This commit is contained in:
committed by
Git OBS Bridge
parent
1edc3f9f46
commit
4dd29ab60e
30
grep.spec
30
grep.spec
@@ -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
|
||||
|
Reference in New Issue
Block a user