b18c53
Summary: Pattern matching utilities
b18c53
Name: grep
b18c53
Version: 3.1
b18c53
Release: 6%{?dist}
b18c53
License: GPLv3+
b18c53
URL: http://www.gnu.org/software/grep/
b18c53
Group: Applications/Text
b18c53
b18c53
Source: ftp://ftp.gnu.org/pub/gnu/grep/grep-%{version}.tar.xz
b18c53
Source1: colorgrep.sh
b18c53
Source2: colorgrep.csh
b18c53
Source3: GREP_COLORS
b18c53
Source4: grepconf.sh
b18c53
# upstream ticket 39444
b18c53
Patch0: grep-3.31-man-fix-gs.patch
b18c53
# upstream ticket 39445
b18c53
Patch1: grep-3.31-help-align.patch
b18c53
Patch2: grep-3.1-glibc-2.28-fix.patch
b18c53
Requires(post): /sbin/install-info
b18c53
Requires(preun): /sbin/install-info
b18c53
b18c53
BuildRequires: pcre-devel >= 3.9-10, texinfo, gettext
b18c53
BuildRequires: autoconf automake
b18c53
# https://fedorahosted.org/fpc/ticket/174
b18c53
Provides: bundled(gnulib)
b18c53
# for backward compatibility (rhbz#1540485)
b18c53
Provides: /bin/grep
b18c53
Provides: /bin/fgrep
b18c53
Provides: /bin/egrep
b18c53
b18c53
%description
b18c53
The GNU versions of commonly used grep utilities. Grep searches through
b18c53
textual input for lines which contain a match to a specified pattern and then
b18c53
prints the matching lines. GNU's grep utilities include grep, egrep and fgrep.
b18c53
b18c53
GNU grep is needed by many scripts, so it shall be installed on every system.
b18c53
b18c53
%prep
b18c53
%setup -q
b18c53
%patch0 -p1 -b .man-fix-gs
b18c53
%patch1 -p1 -b .help-align
b18c53
%patch2 -p1 -b .glibc-2.28-fix
b18c53
b18c53
%build
b18c53
%global BUILD_FLAGS $RPM_OPT_FLAGS
b18c53
b18c53
# Currently gcc on ppc uses double-double arithmetic for long double and it
b18c53
# does not conform to the IEEE floating-point standard. Thus force
b18c53
# long double to be double and conformant.
b18c53
%ifarch ppc ppc64
b18c53
%global BUILD_FLAGS %{BUILD_FLAGS} -mlong-double-64
b18c53
%endif
b18c53
b18c53
%configure --without-included-regex --disable-silent-rules \
b18c53
  CPPFLAGS="-I%{_includedir}/pcre" CFLAGS="%{BUILD_FLAGS}"
b18c53
make %{?_smp_mflags}
b18c53
b18c53
%install
b18c53
make %{?_smp_mflags} DESTDIR=$RPM_BUILD_ROOT install
b18c53
gzip $RPM_BUILD_ROOT%{_infodir}/grep*
b18c53
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
b18c53
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
b18c53
install -pm 644 %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
b18c53
install -pm 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}
b18c53
install -Dpm 755 %{SOURCE4} $RPM_BUILD_ROOT%{_libexecdir}/grepconf.sh
b18c53
b18c53
%find_lang %name
b18c53
b18c53
%check
b18c53
make check
b18c53
b18c53
%post
b18c53
/sbin/install-info --quiet --info-dir=%{_infodir} %{_infodir}/grep.info.gz || :
b18c53
b18c53
%preun
b18c53
if [ $1 = 0 ]; then
b18c53
  /sbin/install-info --quiet --info-dir=%{_infodir} --delete %{_infodir}/grep.info.gz || :
b18c53
fi
b18c53
b18c53
%files -f %{name}.lang
b18c53
%doc AUTHORS THANKS TODO NEWS README
b18c53
%{!?_licensedir:%global license %%doc}
b18c53
%license COPYING
b18c53
b18c53
%{_bindir}/*
b18c53
%config(noreplace) %{_sysconfdir}/profile.d/colorgrep.*sh
b18c53
%config(noreplace) %{_sysconfdir}/GREP_COLORS
b18c53
%{_infodir}/*.info*.gz
b18c53
%{_mandir}/*/*
b18c53
%{_libexecdir}/grepconf.sh
b18c53
b18c53
%changelog
b18c53
* Thu Aug  9 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 3.1-6
b18c53
- Fixed FTBFS with glibc-2.28
b18c53
  Resolves: rhbz#1611721
b18c53
b18c53
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-5
b18c53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b18c53
b18c53
* Fri Feb  2 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 3.1-4
b18c53
- Moved binaries to /usr/bin
b18c53
  Resolves: rhbz#1540485
b18c53
b18c53
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-3
b18c53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
b18c53
b18c53
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-2
b18c53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b18c53
b18c53
* Mon Jul  3 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 3.1-1
b18c53
- New version
b18c53
  Related: rhbz#1421129
b18c53
- Updated patches
b18c53
b18c53
* Fri Feb 10 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0-1
b18c53
- New version
b18c53
  Resolves: rhbz#1421129
b18c53
b18c53
* Wed Feb  8 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 2.28-1
b18c53
- New version
b18c53
  Resolves: rhbz#1419921
b18c53
- De-fuzzified patches
b18c53
b18c53
* Wed Dec  7 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 2.27-1
b18c53
- New version
b18c53
  Resolves: rhbz#1402379
b18c53
- De-fuzzified patches
b18c53
b18c53
* Wed Oct  5 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 2.26-2
b18c53
- Re-enabled 'make check', glibc seems fixed
b18c53
b18c53
* Mon Oct  3 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 2.26-1
b18c53
- New version
b18c53
  Resolves: rhbz#1381203
b18c53
- Disabled 'make check' due to glibc bug rhbz#1381582
b18c53
b18c53
* Fri Apr 22 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 2.25-1
b18c53
- New version
b18c53
  Resolves: rhbz#1329627
b18c53
- De-fuzzified patches
b18c53
b18c53
* Fri Mar 11 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 2.24-1
b18c53
- New version
b18c53
  Resolves: rhbz#1316890
b18c53
b18c53
* Fri Feb  5 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 2.23-1
b18c53
- New version
b18c53
  Resolves: rhbz#1305035
b18c53
- Dropped disable-performance-related-tests, better-encoding-errors-handling,
b18c53
  Pc-consistent-results, and test-pcre-count-fix patches (all upstreamed)
b18c53
- De-fuzzified man-fx-gs, and help-align patches
b18c53
b18c53
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.22-7
b18c53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b18c53
b18c53
* Tue Jan 12 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 2.22-6
b18c53
- Fixed pcre-count test on secondary architectures
b18c53
  (byt test-pcre-count-fix patch)
b18c53
  Resolves: rhbz#1296842
b18c53
b18c53
* Wed Jan  6 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 2.22-5
b18c53
- Used latest upstream patch for bug 1269014 to fix regression,
b18c53
  fixed order of patches
b18c53
  Resolves: rhbz#1269014
b18c53
b18c53
* Tue Jan  5 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 2.22-4
b18c53
- Improved encoding errors handling (by better-encoding-errors-handling patch)
b18c53
  Resolves: rhbz#1219141
b18c53
- kwset-abuse test no longer needs to be explicitly set executable
b18c53
b18c53
* Tue Dec  1 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.22-3
b18c53
- Fixed grep to be consistent in 'grep -Pc' and 'grep -P | wc -l'
b18c53
  Resolves: rhbz#1269014
b18c53
b18c53
* Thu Nov  5 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.22-2
b18c53
- Disabled performance related tests
b18c53
  (by disable-performance-related-tests patch), patch backported from upstream
b18c53
- Dropped disable-long-pattern-perf-test patch (not needed, covered by
b18c53
  previous patch)
b18c53
  Resolves: rhbz#1278428
b18c53
b18c53
* Mon Nov  2 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.22-1
b18c53
- New version
b18c53
  Resolves: rhbz#1277113
b18c53
- Dropped buf-overrun-fix, recurse-behaviour-change-doc, gnulib
b18c53
  patches (all upstreamed)
b18c53
- Minor spec cleanup to be consistent with whitespaces
b18c53
b18c53
* Sun Aug  2 2015 Peter Robinson <pbrobinson@fedoraproject.org> 2.21-7
b18c53
- Minor spec cleanups and modifications
b18c53
- Drop Changelog, details in NEWS
b18c53
- Add gnulib patch to fix FTBFS with perl 5.22
b18c53
b18c53
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.21-6
b18c53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b18c53
b18c53
* Tue Apr  7 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.21-5
b18c53
- Documented change in behaviour of recurse option
b18c53
  Resolves: rhbz#1178305
b18c53
b18c53
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 2.21-4
b18c53
- Rebuilt for Fedora 23 Change
b18c53
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
b18c53
b18c53
* Tue Jan 20 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.21-3
b18c53
- Fixed buffer overrun for grep -F
b18c53
  Resolves: rhbz#1183653
b18c53
b18c53
* Tue Dec  9 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.21-2
b18c53
- Disable silent rules to make the build process more verbose
b18c53
b18c53
* Tue Nov 25 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.21-1
b18c53
- New version
b18c53
  Resolves: rhbz#1167657
b18c53
- De-fuzzified patches
b18c53
- Dropped pcre-backported-fixes patch (not needed)
b18c53
b18c53
* Fri Nov 14 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.20-7
b18c53
- Backported more PCRE fixes (by pcre-backported-fixes patch)
b18c53
- Dropped pcre-invalid-utf8-fix patch, handled by pcre-backported-fixes patch
b18c53
b18c53
* Tue Nov 11 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.20-6
b18c53
- Fixed invalid UTF-8 byte sequence error in PCRE mode
b18c53
  (by pcre-invalid-utf8-fix patch)
b18c53
  Resolves: rhbz#1161832
b18c53
b18c53
* Wed Aug 20 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.20-5
b18c53
- Added script to check whether grep is coloured
b18c53
  Resolves: rhbz#1034631
b18c53
b18c53
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.20-4
b18c53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b18c53
b18c53
* Sat Jul 12 2014 Tom Callaway <spot@fedoraproject.org> - 2.20-3
b18c53
- fix license handling .
b18c53
b18c53
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.20-2
b18c53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b18c53
b18c53
* Wed Jun  4 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.20-1
b18c53
- New version
b18c53
  Resolves: rhbz#1104508
b18c53
- De-fuzzified patches
b18c53
b18c53
* Fri May 23 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.19-1
b18c53
- New version
b18c53
  Resolves: rhbz#1100653
b18c53
b18c53
* Wed Feb 26 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.18-1
b18c53
- New version
b18c53
  Resolves: rhbz#1070127
b18c53
- De-fuzzified patches
b18c53
b18c53
* Tue Feb 18 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.17-1
b18c53
- New version
b18c53
  Resolves: rhbz#1066310
b18c53
- De-fuzzified patches
b18c53
b18c53
* Thu Jan  2 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.16-1
b18c53
- New version
b18c53
  Resolves: rhbz#1047813
b18c53
- De-fuzzified patches
b18c53
b18c53
* Tue Nov 26 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.15-2
b18c53
- Removed coloring restriction for interactive shells
b18c53
  Resolves: rhbz#1034631
b18c53
b18c53
* Tue Oct 29 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.15-1
b18c53
- New version
b18c53
  Resolves: rhbz#1023698
b18c53
- Fixed bogus date in the changelog
b18c53
- Dropped gnulib-tests-rm-f patch, rejected upstream and not
b18c53
  needed for Fedora build system
b18c53
- Dropped man-fix-R patch, upstreamed
b18c53
- De-fuzzified other patches
b18c53
b18c53
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.14-5
b18c53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b18c53
b18c53
* Tue Jul  9 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.14-4
b18c53
- Added group-separator, no-group-separator options decription
b18c53
- Aligned output of built-in help
b18c53
- Defuzzified gnulib-tests-rm-f patch
b18c53
b18c53
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.14-3
b18c53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b18c53
b18c53
* Wed Oct  3 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 2.14-2
b18c53
- Fixed -R option placement
b18c53
  Resolves: rhbz#861937
b18c53
b18c53
* Mon Aug 20 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 2.14-1
b18c53
- New version
b18c53
  Resolves: rhbz#849594
b18c53
b18c53
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-2
b18c53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b18c53
b18c53
* Tue Jul 10 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 2.13-1
b18c53
- New version
b18c53
  Resolves: rhbz#837749
b18c53
- Fixed -i option
b18c53
  Resolves: rhbz#828844
b18c53
- Added virtual provide and FPC ticket link for bundled gnulib
b18c53
  Resolves: rhbz#821759
b18c53
b18c53
* Tue Apr 24 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 2.12-1
b18c53
- New version
b18c53
  Resolves: rhbz#815705
b18c53
b18c53
* Fri Mar  2 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 2.11-1
b18c53
- New version
b18c53
b18c53
* Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 2.10-3
b18c53
- Rebuild against PCRE 8.30
b18c53
b18c53
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10-2
b18c53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b18c53
b18c53
* Wed Nov 16 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 2.10-1
b18c53
- New version
b18c53
b18c53
* Mon Jul 11 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9-3
b18c53
- Use rm -f in gnulib-tests (gnulib-tests-rm-f patch)
b18c53
  Resolves: rhbz#716330
b18c53
b18c53
* Mon Jul 04 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9-2
b18c53
- Fixed build failure on ppc - long double forced to double on ppc
b18c53
b18c53
* Wed Jun 22 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9-1
b18c53
- New version: grep-2.9
b18c53
- Removed dfa-buffer-overrun-fix patch
b18c53
b18c53
* Mon Jun 20 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 2.8-4
b18c53
- dfa: don't overrun a malloc'd buffer for certain regexps
b18c53
  (patch dfa-buffer-overrun-fix)
b18c53
  Resolves: rhbz#713328
b18c53
b18c53
* Mon May 16 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 2.8-3
b18c53
- Added coloring aliases to csh script as well
b18c53
b18c53
* Mon May 16 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 2.8-2
b18c53
- Added coloring to egrep and fgrep
b18c53
  Resolves: rhbz#697895
b18c53
b18c53
* Mon May 16 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 2.8-1
b18c53
- New version: grep-2.8
b18c53
  Resolves: rhbz#704710
b18c53
- Removed const-range-exp patch (upstreamed)
b18c53
b18c53
* Mon Apr 04 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 2.7-5
b18c53
- colorgrep scripts no longer overwrites COLORS envvar (#693058),
b18c53
  thanks to Ville Skyttä
b18c53
b18c53
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-4
b18c53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b18c53
b18c53
* Fri Oct 01 2010 Jaroslav Škarvada <jskarvad@redhat.com> - 2.7-3
b18c53
- Fixed inconsistency with range expressions, const-range-exp patch (#583011)
b18c53
b18c53
* Wed Sep 29 2010 jkeating - 2.7-2
b18c53
- Rebuilt for gcc bug 634757
b18c53
b18c53
* Tue Sep 21 2010 Jaroslav Škarvada <jskarvad@redhat.com> - 2.7-1
b18c53
- New version: grep-2.7
b18c53
- Removed patches (already in upstream): dfa-optimize-period,
b18c53
  glibc-matcher-fallback, mmap-option-fix, dfa-convert-to-wide-char,
b18c53
  dfa-speedup-digit-xdigit
b18c53
b18c53
* Fri Jun 11 2010 Jaroslav Škarvada <jskarvad@redhat.com> - 2.6.3-4
b18c53
- Colors can be globally disabled via /etc/GREP_COLORS (#602867)
b18c53
- Fixed indentation in spec
b18c53
- Fixed defattr in spec
b18c53
b18c53
* Mon Jun 07 2010 Jaroslav Škarvada <jskarvad@redhat.com> - 2.6.3-3
b18c53
- Added auto-color profile.d scripts (thanks to Ville Skyttä #600832)
b18c53
- Removed description macro from changelog
b18c53
b18c53
* Thu May 06 2010 Jaroslav Škarvada <jskarvad@redhat.com> - 2.6.3-2
b18c53
- Added dfa-optimize-period patch (speedup for . patterns in UTF-8)
b18c53
- Added glibc-matcher-fallback patch (speedup for [a-z] patterns in UTF-8)
b18c53
- Added mmap-option-fix patch
b18c53
- Added dfa-convert-to-wide-char patch (speedup for -m and remove quadratic
b18c53
  complexity when going to glibc)
b18c53
- Added dfa-speedup-digit-xdigit patch (speedup for [[:digit:]] [:xdigit:]])
b18c53
b18c53
* Sun Apr 04 2010 Jaroslav Škarvada <jskarvad@redhat.com> - 2.6.3-1
b18c53
- New version: grep-2.6.3
b18c53
- make check is not silent now
b18c53
b18c53
* Fri Mar 26 2010 Jaroslav Škarvada <jskarvad@redhat.com> - 2.6.1-1
b18c53
- New version: grep-2.6.1
b18c53
- Dropped sigsegv patch (integrated upstream)
b18c53
b18c53
* Tue Mar 23 2010 Jaroslav Škarvada <jskarvad@redhat.com> - 2.6-1
b18c53
- New version: grep-2.6
b18c53
- Added sigsegv patch (after release patch from upstream)
b18c53
- Dropped obsoleted patches: fedora-tests, pcrewrap, case, egf-speedup,
b18c53
  bz460641, utf8, dfa-optional, w
b18c53
b18c53
* Fri Mar 05 2010 Jaroslav Škarvada <jskarvad@redhat.com> - 2.5.4-2
b18c53
- Added w patch to fix -w switch behaviour broken by dfa-optional patch
b18c53
b18c53
* Wed Feb 10 2010 Jaroslav Škarvada <jskarvad@redhat.com> - 2.5.4-1
b18c53
- New version: grep-2.5.4
b18c53
- Fixed typos in description
b18c53
- Updated utf-8 patch
b18c53
- Added dfa-optional patch (#538423)
b18c53
b18c53
* Tue Aug 11 2009 Lubomir Rintel <lkundrak@v3.sk> 2.5.3-6
b18c53
- Silence possible scriptlets errors
b18c53
b18c53
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-5
b18c53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b18c53
b18c53
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-4
b18c53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
b18c53
b18c53
* Tue Jan 27 2009 Stepan Kasal <skasal@redhat.com> 2.5.3-3
b18c53
- remove grep-mem-exhausted.patch (#481765, #198165)
b18c53
b18c53
* Thu Jan  8 2009 Stepan Kasal <skasal@redhat.com> 2.5.3-2
b18c53
- fix bug #460641 (a.k.a. 479152)
b18c53
b18c53
* Thu Nov 20 2008 Lubomir Rintel <lkundrak@v3.sk> 2.5.3-1
b18c53
- Update to latest upstream version
b18c53
- Drop upstreamed patches
b18c53
- Add a couple of regression tests
b18c53
- Temporarily disable tests
b18c53
- Minor cleanup
b18c53
b18c53
* Wed Oct 1 2008 Lubomir Rintel <lkundrak@v3.sk> 2.5.1a-61
b18c53
- Fix pcre-mode (-P) line wrapping (bug #324781)
b18c53
- Match the version with upstream
b18c53
- Recode AUTHORS to utf8
b18c53
b18c53
* Fri Jul 25 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.5.1-60
b18c53
- fix license tag
b18c53
b18c53
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.5.1-59
b18c53
- Autorebuild for GCC 4.3
b18c53
b18c53
* Fri Apr 20 2007 Stepan Kasal <skasal@redhat.com> - 2.5.1-58
b18c53
- Adhere to packaging guidelines.
b18c53
- Resolves: #225857
b18c53
- Use CPPFLAGS= argument to configure to add an -I option.
b18c53
- Do not set LDFLAGS=-s for "make install".
b18c53
b18c53
* Mon Jan 22 2007 Tim Waugh <twaugh@redhat.com> 2.5.1-57
b18c53
- Make preun scriptlet unconditionally succeed (bug #223697).
b18c53
b18c53
* Wed Nov 22 2006 Tim Waugh <twaugh@redhat.com> 2.5.1-56
b18c53
- Fixed count of patterns when the last is an empty string (bug #204255).
b18c53
b18c53
* Wed Nov 22 2006 Tim Waugh <twaugh@redhat.com> 2.5.1-55
b18c53
- Fix 'memory exhausted' errors by limiting in-memory buffer (bug #198165).
b18c53
b18c53
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.5.1-54.1
b18c53
- rebuild
b18c53
b18c53
* Wed May 31 2006 Tim Waugh <twaugh@redhat.com> 2.5.1-54
b18c53
- Applied upstream patch to fix '-D skip' (bug #189580).
b18c53
b18c53
* Mon Feb 20 2006 Tim Waugh <twaugh@redhat.com> 2.5.1-53
b18c53
- Applied Tim Robbins' patch for 'grep -w' (bug #179698).
b18c53
b18c53
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.5.1-52.2
b18c53
- bump again for double-long bug on ppc(64)
b18c53
b18c53
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.5.1-52.1
b18c53
- rebuilt for new gcc4.1 snapshot and glibc changes
b18c53
b18c53
* Fri Feb  3 2006 Tim Waugh <twaugh@redhat.com> 2.5.1-52
b18c53
- Prevent 'grep -P' from segfaulting (bug #171379).
b18c53
b18c53
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
b18c53
- rebuilt
b18c53
b18c53
* Thu Sep 29 2005 Tim Waugh <twaugh@redhat.com> 2.5.1-51
b18c53
- Prevent 'grep -Fw ""' from busy-looping (bug #169524).
b18c53
b18c53
* Tue Jun 28 2005 Tim Waugh <twaugh@redhat.com> 2.5.1-50
b18c53
- Further fixing for bug #161700.
b18c53
b18c53
* Mon Jun 27 2005 Tim Waugh <twaugh@redhat.com> 2.5.1-49
b18c53
- Fix 'grep -Fw' for encodings other than UTF-8 (bug #161700).
b18c53
b18c53
* Wed Apr 13 2005 Tim Waugh <twaugh@redhat.com>
b18c53
- Build requires recent pcre-devel (bug #154626).
b18c53
b18c53
* Wed Mar  2 2005 Tim Waugh <twaugh@redhat.com> 2.5.1-48
b18c53
- Rebuild for new GCC.
b18c53
b18c53
* Fri Jan  7 2005 Tim Waugh <twaugh@redhat.com> 2.5.1-47
b18c53
- Run 'make check'.
b18c53
- Fixed -w handling for EGexecute.  Now 'make check' passes.
b18c53
- Cache MB_CUR_MAX value in egf-speedup patch.
b18c53
- Fixed variable shadowing in egf-speedup patch.
b18c53
- Removed redundant (and incorrect) code in prline.
b18c53
b18c53
* Fri Jan  7 2005 Tim Waugh <twaugh@redhat.com> 2.5.1-46
b18c53
- More -w tests from Jakub Jelinek.
b18c53
- Rebased on 2.5.1a.
b18c53
b18c53
* Fri Dec 31 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-45
b18c53
- More tests (Jakub Jelinek).
b18c53
- Jakub Jelinek's much improved -Fi algorithm.
b18c53
- Removed bogus part of grep-2.5.1-fgrep patch.
b18c53
b18c53
* Tue Dec 21 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-44
b18c53
- Fixed -Fi for multibyte input (bug #143079).
b18c53
b18c53
* Thu Dec 16 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-43
b18c53
- Bypass kwset matching when ignoring case and processing multibyte input
b18c53
  (bug #143079).
b18c53
b18c53
* Tue Dec 14 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-42
b18c53
- Further UTF-8 processing avoided since a '\n' byte is always an
b18c53
  end-of-line character in that encoding.
b18c53
b18c53
* Fri Dec  3 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-41
b18c53
- Fixed a busy loop in the egf-speedup patch (bug #140781).
b18c53
b18c53
* Thu Nov 18 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-40
b18c53
- Fixed a bug in the fgrep patch, exposed by the dfa-optional patch
b18c53
  (bug #138558).
b18c53
b18c53
* Tue Nov 16 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-39
b18c53
- Fixed last patch.
b18c53
b18c53
* Tue Nov 16 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-38
b18c53
- Applied patch from Karsten Hopp to fix background colour problems with
b18c53
  --color output (bug #138913).
b18c53
b18c53
* Wed Nov 10 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-37
b18c53
- Prevent false matches when DFA is disabled (bug #138558).
b18c53
b18c53
* Mon Nov  8 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-36
b18c53
- Automatically disable DFA when processing multibyte input.  GREP_USE_DFA
b18c53
  environment variable overrides.
b18c53
b18c53
* Fri Nov  5 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-35
b18c53
- Fixes to egf-speedup patch: now it does not change any functionality,
b18c53
  as intended.
b18c53
- GREP_NO_DFA now turns off the DFA engine, for performance testing.
b18c53
b18c53
* Thu Nov  4 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-34
b18c53
- More improvements to egf-speedup patch (bug #138076).
b18c53
b18c53
* Thu Nov  4 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-33
b18c53
- Small improvements to egf-speedup patch.
b18c53
b18c53
* Wed Nov  3 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-32
b18c53
- Remove mb-caching hack.
b18c53
- Better multibyte handling in EGexecute() and Fexecute().
b18c53
- Don't need regex.c changes in grep-2.5-i18n.patch.
b18c53
b18c53
* Wed Oct 13 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-31
b18c53
- Make 'grep -F' avoid UTF-8 processing if the pattern contains no
b18c53
  multibyte characters (bug #133932).
b18c53
b18c53
* Mon Oct 11 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-30
b18c53
- Applied patch from Robert Scheck to tidy spec file and add a URL
b18c53
  tag (bug #135185).
b18c53
b18c53
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
b18c53
- rebuilt
b18c53
b18c53
* Fri Jun  4 2004 Tim Waugh <twaugh@redhat.com>
b18c53
- More build requirements (bug #125323).
b18c53
b18c53
* Tue May 18 2004 Jeremy Katz <katzj@redhat.com> 2.5.1-28
b18c53
- rebuild
b18c53
b18c53
* Tue May 18 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-27
b18c53
- Fix dfa multibyte character class matching when -i is used (bug #123363).
b18c53
- Use bracket patch before i18n patch to make it clear that the bug exists
b18c53
  upstream.
b18c53
b18c53
* Thu Feb 26 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-26
b18c53
- Fix fgrep (bug #116909).
b18c53
b18c53
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
b18c53
- rebuilt
b18c53
b18c53
* Mon Jan  5 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-24
b18c53
- Work around glibc bug #112869 (segfault in re_compile_pattern).
b18c53
- Avoid patching Makefile.am, to avoid automake/autoconf weirdness.
b18c53
b18c53
* Wed Dec 10 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-23
b18c53
- Another multibyte efficiency bug-fix (bug #111800).
b18c53
b18c53
* Mon Dec  8 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-22
b18c53
- Fixed [:alpha:]-type character classes (bug #108484).
b18c53
- Fixed -o -i properly (bug #111489).
b18c53
b18c53
* Sat Dec  6 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-21
b18c53
- Fixed 'fgrep -i' (bug #111614).
b18c53
b18c53
* Fri Nov 21 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-20
b18c53
- Another two multibyte efficiency bug-fixes (bug #110524).
b18c53
b18c53
* Thu Nov  6 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-19
b18c53
- Fixed a multibyte efficiency bug.
b18c53
b18c53
* Thu Nov  6 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-18
b18c53
- Turn on multibyte efficiency patch again to shake out bugs.
b18c53
b18c53
* Wed Oct  8 2003 Tim Waugh <twaugh@redhat.com>
b18c53
- Fixed man page bug (bug #106267).
b18c53
b18c53
* Thu Sep 18 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-17
b18c53
- Use symlinks for egrep/fgrep, rather than shell script wrappers.
b18c53
b18c53
* Fri Jun 27 2003 Tim Waugh <twaugh@redhat.com>
b18c53
- Fix debuginfo package.
b18c53
b18c53
* Fri Jun 27 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-16.1
b18c53
- Rebuilt.
b18c53
b18c53
* Fri Jun 27 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-16
b18c53
- Finally give up on making grep go fast. :-(
b18c53
b18c53
* Thu Jun 26 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-15.1
b18c53
- Rebuilt.
b18c53
b18c53
* Thu Jun 26 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-15
b18c53
- Fixed grep -i bug introduced by cache.
b18c53
b18c53
* Mon Jun 23 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-14.1
b18c53
- Rebuilt.
b18c53
b18c53
* Mon Jun 23 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-14
b18c53
- Redo the gofast patch (bug #97785).
b18c53
b18c53
* Thu Jun 12 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-13.1
b18c53
- Rebuilt.
b18c53
b18c53
* Thu Jun 12 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-13
b18c53
- Fixed a bug in the gofast patch (bug #97266).
b18c53
b18c53
* Tue Jun 10 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-12.1
b18c53
- Rebuilt.
b18c53
b18c53
* Tue Jun 10 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-12
b18c53
- Go faster (bug #69900).
b18c53
- Fix man page.
b18c53
b18c53
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
b18c53
- rebuilt
b18c53
b18c53
* Thu May 29 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-10.1
b18c53
- Rebuilt.
b18c53
b18c53
* Thu May 29 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-10
b18c53
- Use system regex again.
b18c53
b18c53
* Thu May 29 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-9
b18c53
- Fixed bug in go-fast patch.
b18c53
b18c53
* Wed May 28 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-8
b18c53
- Go fast (bug #69900).
b18c53
- Run test suite.
b18c53
b18c53
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 2.5.1-7
b18c53
- rebuilt
b18c53
b18c53
* Tue Nov 19 2002 Tim Waugh <twaugh@redhat.com> 2.5.1-6
b18c53
- i18n patch.
b18c53
b18c53
* Mon Oct 21 2002 Tim Waugh <twaugh@redhat.com> 2.5.1-5
b18c53
- Don't install /usr/share/info/dir.
b18c53
- Fix -o -i (bug #72641).
b18c53
b18c53
* Sat Jul 20 2002 Florian La Roche <Florian.LaRoche@redhat.de>
b18c53
- install all info files #69204
b18c53
b18c53
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
b18c53
- automated rebuild
b18c53
b18c53
* Thu May 23 2002 Tim Powers <timp@redhat.com>
b18c53
- automated rebuild
b18c53
b18c53
* Tue Mar 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.5.1-1
b18c53
- 2.5.1
b18c53
b18c53
* Wed Mar 13 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.5-1
b18c53
- 2.5 final
b18c53
b18c53
* Wed Jan 23 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.5-0.g.1
b18c53
- 2.5g
b18c53
b18c53
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
b18c53
- automated rebuild
b18c53
b18c53
* Mon Nov 19 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.5-0.f.4
b18c53
- Update CVS to reduce bloat
b18c53
b18c53
* Thu Nov  8 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.5-0.f.3
b18c53
- Don't fail %%post with --excludedocs
b18c53
b18c53
* Wed Sep 26 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.5-0.f.2
b18c53
- Fix up echo A |grep '[A-Z0-9]' in locales other than C
b18c53
b18c53
* Tue Sep 25 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.5-0.f.1
b18c53
- 2.5f, fixes #53603
b18c53
b18c53
* Wed Jul 18 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.4.2-7
b18c53
- Fix up the i18n patch - it used to break "grep '[]a]'" (#49003)
b18c53
- revert to 2.4.2 (latest official release) for now
b18c53
b18c53
* Mon May 28 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.5e-4
b18c53
- Fix "echo Linux forever |grep -D skip Linux"
b18c53
b18c53
* Mon May 21 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.5e-3
b18c53
- Add new -D, --devices option
b18c53
- Fix a bug with "directories" being uninitialized
b18c53
b18c53
* Sun May 13 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.5e-2
b18c53
- Fix up the --color option to behave like the one from ls (--color=auto)
b18c53
  Sooner or later, some people will alias grep="grep --color" and wonder why
b18c53
  their scripts break.
b18c53
- Update docs accordingly
b18c53
- Get rid of the annoying blinking in grep --color
b18c53
b18c53
* Sun May 13 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.5e-1
b18c53
- 2.5e
b18c53
b18c53
* Tue Feb 27 2001 Trond Eivind Glomsrød <teg@redhat.com>
b18c53
- use %%{_tmppath}
b18c53
- langify
b18c53
b18c53
* Sun Aug 20 2000 Jakub Jelinek <jakub@redhat.com>
b18c53
- i18n character ranges patch from Ulrich Drepper
b18c53
b18c53
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
b18c53
- automatic rebuild
b18c53
b18c53
* Mon Jun 19 2000 Bernhard Rosenkraenzer <bero@redhat.com>
b18c53
- FHSify
b18c53
b18c53
* Tue Mar 21 2000 Florian La Roche <Florian.LaRoche@redhat.com>
b18c53
- update to 2.4.2
b18c53
- fix download URL
b18c53
b18c53
* Thu Feb 03 2000 Bernhard Rosenkraenzer <bero@redhat.com>
b18c53
- gzip info pages (Bug #9035)
b18c53
b18c53
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
b18c53
- fix description
b18c53
b18c53
* Wed Dec 22 1999 Jeff Johnson <jbj@redhat.com>
b18c53
- update to 2.4.
b18c53
b18c53
* Wed Oct 20 1999 Bill Nottingham <notting@redhat.com>
b18c53
- prereq install-info
b18c53
b18c53
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
b18c53
- auto rebuild in the new build environment (release 2)
b18c53
b18c53
* Mon Mar 08 1999 Preston Brown <pbrown@redhat.com>
b18c53
- upgraded to grep 2.3, added install-info %%post/%%preun for info
b18c53
b18c53
* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
b18c53
- Injected new description and group.
b18c53
b18c53
* Sat May 09 1998 Prospector System <bugs@redhat.com>
b18c53
- translations modified for de, fr, tr
b18c53
b18c53
* Fri May 01 1998 Cristian Gafton <gafton@redhat.com>
b18c53
- updated to 2.2
b18c53
b18c53
* Thu Oct 16 1997 Donnie Barnes <djb@redhat.com>
b18c53
- updated from 2.0 to 2.1
b18c53
- spec file cleanups
b18c53
- added BuildRoot
b18c53
b18c53
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
b18c53
- built against glibc