cvsdist f8334f3
Summary: The GNU versions of find utilities (find and xargs).
cvsdist f8334f3
Name: findutils
5e78a02
Version: 4.2.27
df01996
Release: 4
cvsdist f8334f3
Epoch: 1
cvsdist 343fad1
License: GPL
cvsdist f8334f3
Group: Applications/File
75c031d
URL: http://www.gnu.org/software/findutils/
be816a7
Source0: ftp://ftp.gnu.org/gnu/findutils/%{name}-%{version}.tar.gz
1005619
Patch1: findutils-no-locate.patch
248647c
Patch2: findutils-selinux.patch
df01996
Patch3: findutils-4.2.27-linkcount.patch
cvsdist 6e53ef2
cvsdist f8334f3
Prereq: /sbin/install-info
cvsdist f8334f3
Buildroot: %{_tmppath}/%{name}-%{version}-root
cvsdist 6e53ef2
BuildRequires: libtool, automake, autoconf
8051932
BuildRequires: dejagnu, gettext-devel, texinfo
553a83c
BuildRequires: libselinux-devel
cvsdist f8334f3
cvsdist f8334f3
%description
cvsdist f8334f3
The findutils package contains programs which will help you locate
cvsdist f8334f3
files on your system.  The find utility searches through a hierarchy
cvsdist f8334f3
of directories looking for files which match a certain set of criteria
cvsdist f8334f3
(such as a filename pattern).  The xargs utility builds and executes
cvsdist f8334f3
command lines from standard input arguments (usually lists of file
cvsdist f8334f3
names generated by the find command).
cvsdist f8334f3
cvsdist f8334f3
You should install findutils because it includes tools that are very
cvsdist f8334f3
useful for finding things on your system.
cvsdist f8334f3
cvsdist f8334f3
%prep
cvsdist f8334f3
%setup -q
1005619
%patch1 -p1 -b .no-locate
248647c
%patch2 -p1 -b .selinux
df01996
%patch3 -p1 -b .linkcount
8d0aab4
8d0aab4
autoreconf
cvsdist a6f2a36
cvsdist f8334f3
%build
cvsdist f8334f3
%define	optflags $RPM_OPT_FLAGS -D_GNU_SOURCE
cvsdist f8334f3
%configure
cvsdist f8334f3
%undefine optflags
cvsdist f8334f3
cvsdist f8334f3
make
cvsdist bd75b3d
make check
cvsdist f8334f3
cvsdist f8334f3
%install
cvsdist f8334f3
rm -rf %{buildroot}
75c031d
make install DESTDIR=$RPM_BUILD_ROOT
cvsdist 7ca0931
53e5332
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
53e5332
cvsdist 7ca0931
%find_lang %{name}
cvsdist f8334f3
cvsdist f8334f3
%post
cvsdist f8334f3
/sbin/install-info %{_infodir}/find.info.gz %{_infodir}/dir
cvsdist f8334f3
cvsdist f8334f3
%preun
cvsdist f8334f3
if [ $1 = 0 ]; then
cvsdist f8334f3
    /sbin/install-info --delete %{_infodir}/find.info.gz %{_infodir}/dir
cvsdist f8334f3
fi
cvsdist f8334f3
cvsdist f8334f3
%clean
cvsdist f8334f3
rm -rf %{buildroot}
cvsdist f8334f3
cvsdist 7ca0931
%files -f %{name}.lang
cvsdist f8334f3
%defattr(-,root,root)
75c031d
%doc AUTHORS COPYING NEWS README THANKS TODO
cvsdist f8334f3
%{_bindir}/find
cvsdist f8334f3
%{_bindir}/xargs
cvsdist f8334f3
%{_mandir}/man1/find.1*
cvsdist f8334f3
%{_mandir}/man1/xargs.1*
cvsdist f8334f3
%{_infodir}/find.info*
cvsdist f8334f3
cvsdist f8334f3
%changelog
df01996
* Sun Feb 19 2006 Miloslav Trmac <mitr@redhat.com> - 1:4.2.27-4
df01996
- Report the correct directory when hard link count is inconsistent (#182001)
df01996
ee4e493
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1:4.2.27-3.2
ee4e493
- bump again for double-long bug on ppc(64)
ee4e493
ffbd789
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1:4.2.27-3.1
ffbd789
- rebuilt for new gcc4.1 snapshot and glibc changes
ffbd789
27ce8a5
* Mon Jan 30 2006 Miloslav Trmac <mitr@redhat.com> - 1:4.2.27-3
27ce8a5
- Updated SELinux patch, --context is no longer valid (use -context)
27ce8a5
75c031d
* Thu Jan 12 2006 Miloslav Trmac <mitr@redhat.com> - 1:4.2.27-2
75c031d
- Don't use uninitialized memory in -printf %%Z (#174485)
75c031d
- Ship more documentation files
75c031d
- Clean up the spec file a bit
75c031d
fb1403d
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
fb1403d
- rebuilt
fb1403d
5e78a02
* Wed Dec  7 2005 Tim Waugh <twaugh@redhat.com> 1:4.2.27-1
5e78a02
- 4.2.27.
5e78a02
- No longer need arg_max patch.
5e78a02
da769d8
* Mon Nov 21 2005 Tim Waugh <twaugh@redhat.com> 1:4.2.26-1
14e624b
- One further arg_max fix for PPC.
0c5e182
- Applied arg_max patch from upstream to fix test suite failures.
da769d8
- 4.2.26 (fixes bug #173817).
da769d8
1a1e058
* Tue Oct 11 2005 Dan Walsh <dwalsh@redhat.com> 1:4.2.25-3
1a1e058
- Fix selinux patch
1a1e058
9ca4d61
* Mon Sep  5 2005 Tim Waugh <twaugh@redhat.com> 1:4.2.25-2
b7ce659
- 4.2.25.
b7ce659
248647c
* Mon Jun 20 2005 Tim Waugh <twaugh@redhat.com> 1:4.2.23-1
248647c
- 4.2.23.
248647c
24ec15e
* Thu Mar 17 2005 Tim Waugh <twaugh@redhat.com> 1:4.2.20-1
24ec15e
- 4.2.20.
24ec15e
459833a
* Mon Mar 14 2005 Tim Waugh <twaugh@redhat.com> 1:4.2.18-3
459833a
- Applied patch from Robert Scheck to fix compilation with GCC 4 (bug #151031).
459833a
2b09118
* Wed Mar  2 2005 Tim Waugh <twaugh@redhat.com> 1:4.2.18-2
2b09118
- Rebuild for new GCC.
2b09118
be816a7
* Mon Feb 21 2005 Tim Waugh <twaugh@redhat.com> 1:4.2.18-1
be816a7
- 4.2.18.
be816a7
da48862
* Mon Feb 14 2005 Tim Waugh <twaugh@redhat.com> 1:4.2.15-2
da48862
- Added nofollow patch from upstream.
da48862
8d0aab4
* Mon Jan 31 2005 Tim Waugh <twaugh@redhat.com> 1:4.2.15-1
8d0aab4
- 4.2.15.  Lots of patches removed due to upstream merge.
8d0aab4
4f49fff
* Tue Jan 4 2005 Dan Walsh <dwalsh@redhat.com> 1:4.1.20-8
4f49fff
- Change --context to use fnmatch instead of strcmp
4f49fff
d0901b9
* Tue Dec  7 2004 Tim Waugh <twaugh@redhat.com>
d0901b9
- Removed "G" and "M" size qualifiers from man page, since support for
d0901b9
  those is not in the stable branch (bug #141987).
d0901b9
afb0cb0
* Tue Oct 19 2004 Tim Waugh <twaugh@redhat.com> 1:4.1.20-7
afb0cb0
- Better xargs ARG_SIZE handling (bug #135129).
afb0cb0
5dea2c2
* Fri Oct 15 2004 Tim Waugh <twaugh@redhat.com>
5dea2c2
- Fixed d_type patch for underquoted m4 macro.
5dea2c2
3ac7283
* Fri Oct  8 2004 Tim Waugh <twaugh@redhat.com>
3ac7283
- Use upstream patch for find -size man page fix.
3ac7283
553a83c
* Wed Oct  6 2004 Tim Waugh <twaugh@redhat.com> 1:4.1.20-6
553a83c
- Fixed bug #126352.
553a83c
8051932
* Tue Oct  5 2004 Tim Waugh <twaugh@redhat.com> 1:4.1.20-5
8051932
- Build requires gettext-devel, texinfo (bug #134692).
8051932
bc13fca
* Thu Sep 30 2004 Tim Waugh <twaugh@redhat.com> 1:4.1.20-4
bc13fca
- Set re->translate before re_compile_pattern (bug #134190).
bc13fca
cvsdist 6e53ef2
* Sun Aug  1 2004 Alan Cox <alan@redhat.com> 1:4.1.20-3
cvsdist 6e53ef2
- Fix build with current auto* tools (Steve Grubb)
cvsdist 6e53ef2
cvsdist 2292967
* Tue Jul  6 2004 Tim Waugh <twaugh@redhat.com> 1:4.1.20-2
cvsdist 2292967
- Fix -iregex (bug #127297).
cvsdist 2292967
cvsdist 2292967
* Fri Jun 25 2004 Tim Waugh <twaugh@redhat.com> 1:4.1.20-1
cvsdist d34d182
- Clarify find man page (bug #126098).
cvsdist d34d182
- Apply changes by Robert Scheck <redhat@linuxnetz.de> (bug #126352):
cvsdist d34d182
  - Upgrade to 4.1.20 and some specfile cleanup
cvsdist d34d182
cvsdist 356b0df
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 356b0df
- rebuilt
cvsdist 356b0df
cvsdist bf8f009
* Thu May 20 2004 Tim Waugh <twaugh@redhat.com> 4.1.7-26
cvsdist bf8f009
- Fixed build requirements (bug #123746).
cvsdist bf8f009
cvsdist bd75b3d
* Sun Mar 14 2004 Tim Waugh <twaugh@redhat.com> 4.1.7-25
cvsdist bd75b3d
- Apply Jakub Jelinek's patch for xargs -E/-I/-L options.
cvsdist bd75b3d
cvsdist bd75b3d
* Thu Mar 11 2004 Tim Waugh <twaugh@redhat.com> 4.1.7-24
cvsdist bd75b3d
- Apply selinux patch last so that it can be turned off (bug #118025).
cvsdist bd75b3d
cvsdist bd75b3d
* Tue Mar  9 2004 Tim Waugh <twaugh@redhat.com>
cvsdist bd75b3d
- Jakub Jelinek's d_type patch improvement.
cvsdist bd75b3d
cvsdist bd75b3d
* Sun Mar  7 2004 Tim Waugh <twaugh@redhat.com> 4.1.7-23
cvsdist bd75b3d
- Run 'make check'.
cvsdist bd75b3d
- Apply Ulrich Drepper's improvement on the d_type patch.
cvsdist bd75b3d
cvsdist bd75b3d
* Fri Mar  5 2004 Tim Waugh <twaugh@redhat.com> 4.1.7-22
cvsdist bd75b3d
- Apply Jakub Jelinek's d_type patch for improved efficiency with
cvsdist bd75b3d
  many common expressions.
cvsdist bd75b3d
cvsdist bd75b3d
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist bd75b3d
- rebuilt
cvsdist bd75b3d
cvsdist e7a4da2
* Tue Jan 27 2004 Dan Walsh <dwalsh@redhat.com> 4.1.7-20
cvsdist e7a4da2
- fix call to is_selinux_enabled
cvsdist e7a4da2
cvsdist e7a4da2
* Thu Oct 30 2003 Dan Walsh <dwalsh@redhat.com> 4.1.7-19
cvsdist e7a4da2
- Turn off SELinux
cvsdist e7a4da2
cvsdist e7a4da2
* Thu Oct 30 2003 Dan Walsh <dwalsh@redhat.com> 4.1.7-18.sel
cvsdist e7a4da2
- Turn on selinux
cvsdist e7a4da2
cvsdist 313a052
* Sat Oct 25 2003 Tim Waugh <twaugh@redhat.com> 4.1.7-17
cvsdist 313a052
- Rebuilt.
cvsdist 313a052
cvsdist 313a052
* Fri Oct 10 2003 Dan Walsh <dwalsh@redhat.com> 4.1.7-16
cvsdist 313a052
- Turn off selinux
cvsdist 313a052
cvsdist 313a052
* Fri Oct 10 2003 Dan Walsh <dwalsh@redhat.com> 4.1.7-15.sel
cvsdist 313a052
- Turn on selinux
cvsdist 313a052
cvsdist 313a052
* Fri Sep 5 2003 Dan Walsh <dwalsh@redhat.com> 4.1.7-15
cvsdist 313a052
- Turn off selinux
cvsdist 313a052
cvsdist 313a052
* Thu Aug 28 2003 Dan Walsh <dwalsh@redhat.com> 4.1.7-14.sel
cvsdist 313a052
- Turn on selinux
cvsdist 313a052
cvsdist 313a052
* Fri Jul 18 2003 Dan Walsh <dwalsh@redhat.com> 4.1.7-13
cvsdist 313a052
- Add SELinux patch
cvsdist 313a052
cvsdist 313a052
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 313a052
- rebuilt
cvsdist 313a052
cvsdist 313a052
* Wed Apr 23 2003 Elliot Lee <sopwith@redhat.com> 4.1.7-11
cvsdist 313a052
- Remove config.{sub,guess} to make ppc64 work
cvsdist 313a052
cvsdist 313a052
* Mon Mar 17 2003 Tim Waugh <twaugh@redhat.com> 4.1.7-10
cvsdist 313a052
- Make 'xargs -i -n1' behave as expected (bug #86191).
cvsdist 313a052
cvsdist 313a052
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 4.1.7-9
cvsdist 7ca0931
- rebuilt
cvsdist 7ca0931
cvsdist 7ca0931
* Tue Oct 22 2002 Tim Waugh <twaugh@redhat.com> 4.1.7-8
cvsdist 7ca0931
- Ship translations.
cvsdist 7ca0931
- Don't install files not packaged.
cvsdist 7ca0931
cvsdist 1e44adb
* Wed Jul  3 2002 Tim Waugh <twaugh@redhat.com> 4.1.7-7
cvsdist 1e44adb
- Fix usage message (bug #67828).
cvsdist 1e44adb
cvsdist 1e44adb
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 4.1.7-6
cvsdist 8a9484b
- automated rebuild
cvsdist 8a9484b
cvsdist 1e44adb
* Thu May 23 2002 Tim Powers <timp@redhat.com> 4.1.7-5
cvsdist 8a9484b
- automated rebuild
cvsdist 8a9484b
cvsdist 343fad1
* Tue Feb 26 2002 Tim Waugh <twaugh@redhat.co,> 4.1.7-4
cvsdist 343fad1
- Rebuild in new environment.
cvsdist 343fad1
cvsdist 343fad1
* Tue Feb 12 2002 Tim Waugh <twaugh@redhat.com> 4.1.7-3
cvsdist 343fad1
- s/Copyright/License/.
cvsdist 343fad1
- Fix documentation (bug #53857).
cvsdist 343fad1
cvsdist 343fad1
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist 343fad1
- automated rebuild
cvsdist 343fad1
cvsdist d75bef5
* Sun Jun 03 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist d75bef5
- update to 4.1.7, no additional patch needed anymore
cvsdist d75bef5
cvsdist a6f2a36
* Thu Feb  8 2001 Preston Brown <pbrown@redhat.com>
cvsdist a6f2a36
- remove extraneous linking to librt/libpthreads.
cvsdist a6f2a36
cvsdist a6f2a36
* Tue Oct 17 2000 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist a6f2a36
- update to 4.1.6
cvsdist a6f2a36
cvsdist f8334f3
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist f8334f3
- automatic rebuild
cvsdist f8334f3
cvsdist f8334f3
* Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
cvsdist f8334f3
- revert to 4.1.5 ( :) ) on the advice of HJ Lu
cvsdist f8334f3
- patch to fix finding w/ -perm flag
cvsdist f8334f3
cvsdist f8334f3
* Tue Jun 27 2000 Preston Brown <pbrown@redhat.com>
cvsdist f8334f3
- revert to 4.1.4
cvsdist f8334f3
- reapply numblks patch
cvsdist f8334f3
- generate new nolocate patch, we don't ship it.
cvsdist f8334f3
cvsdist f8334f3
* Mon Jun 12 2000 Preston Brown <pbrown@redhat.com>
cvsdist f8334f3
- 4.1.5, FHS paths
cvsdist f8334f3
- remove mktemp,getshort patches (don't ship locate)
cvsdist f8334f3
- alpha, numblks patch no longer needed
cvsdist f8334f3
cvsdist f8334f3
* Mon Apr  3 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist f8334f3
- 4.1.4
cvsdist f8334f3
- remove some obsolete patches, adapt others
cvsdist f8334f3
- fix build on alpha
cvsdist f8334f3
cvsdist f8334f3
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
cvsdist f8334f3
- fix summary
cvsdist f8334f3
- ma  pages are compressed
cvsdist f8334f3
cvsdist f8334f3
* Wed Jan 12 2000 Preston Brown <pbrown@redhat.com>
cvsdist f8334f3
- new description.
cvsdist f8334f3
cvsdist f8334f3
* Fri Aug 27 1999 Preston Brown <pbrown@redhat.com>
cvsdist f8334f3
- fixed block count bug (# 2141)
cvsdist f8334f3
cvsdist f8334f3
* Mon Mar 29 1999 Preston Brown <pbrown@redhat.com>
cvsdist f8334f3
- patch to fix xargs out of bounds overflow (bug # 1279)
cvsdist f8334f3
cvsdist f8334f3
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist f8334f3
- auto rebuild in the new build environment (release 30)
cvsdist f8334f3
cvsdist f8334f3
* Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
cvsdist f8334f3
- strip binaries.
cvsdist f8334f3
cvsdist f8334f3
* Mon Feb  8 1999 Jeff Johnson <jbj@redhat.com>
cvsdist f8334f3
- remove further updatedb remnants (#1072).
cvsdist f8334f3
cvsdist f8334f3
* Thu Dec 03 1998 Cristian Gafton <gafton@redhat.com>
cvsdist f8334f3
- added patch for glibc21
cvsdist f8334f3
cvsdist f8334f3
* Mon Nov 16 1998 Erik Troan <ewt@redhat.com>
cvsdist f8334f3
- removed locate stuff (as we now ship slocate)
cvsdist f8334f3
cvsdist f8334f3
* Wed Jun 10 1998 Erik Troan <ewt@redhat.com>
cvsdist f8334f3
- updated updatedb cron script to not look for $TMPNAME.n (which was
cvsdist f8334f3
  a relic anyway)
cvsdist f8334f3
- added -b parameters to all of the patches
cvsdist f8334f3
cvsdist f8334f3
* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
cvsdist f8334f3
- translations modified for de, fr, tr
cvsdist f8334f3
cvsdist f8334f3
* Mon Mar 09 1998 Michael K. Johnson <johnsonm@redhat.com>
cvsdist f8334f3
- make updatedb.cron use mktemp correctly
cvsdist f8334f3
- make updatedb use mktemp
cvsdist f8334f3
cvsdist f8334f3
* Sun Nov 09 1997 Michael K. Johnson <johnsonm@redhat.com>
cvsdist f8334f3
- nobody should own tmpfile
cvsdist f8334f3
- ignore /net
cvsdist f8334f3
cvsdist f8334f3
* Wed Nov 05 1997 Michael K. Johnson <johnsonm@redhat.com>
cvsdist f8334f3
- made updatedb.cron do a better job of cleaning up after itself.
cvsdist f8334f3
cvsdist f8334f3
* Tue Oct 28 1997 Donald Barnes <djb@redhat.com>
cvsdist f8334f3
- fixed 64 bit-ism in getline.c, patch tacked on to end of glibc one
cvsdist f8334f3
cvsdist f8334f3
* Thu Oct 23 1997 Erik Troan <ewt@redhat.com>
cvsdist f8334f3
- added patch for glibc 2.1
cvsdist f8334f3
cvsdist f8334f3
* Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
cvsdist f8334f3
- added BuildRoot support
cvsdist f8334f3
cvsdist f8334f3
* Tue Oct 14 1997 Michael K. Johnson <johnsonm@redhat.com>
cvsdist f8334f3
- made updatedb.cron work even if "nobody" can't read /root
cvsdist f8334f3
- use mktemp in updatedb.cron
cvsdist f8334f3
cvsdist f8334f3
* Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
cvsdist f8334f3
- added missing info pages
cvsdist f8334f3
- uses install-info
cvsdist f8334f3
cvsdist f8334f3
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
cvsdist f8334f3
- built with glibc
cvsdist f8334f3
cvsdist f8334f3
* Mon Apr 21 1997 Michael K. Johnson <johnsonm@redhat.com>
cvsdist f8334f3
- fixed updatedb.cron