Move find to /bin

This commit is contained in:
vcrhonek 2008-04-14 11:12:36 +00:00
parent 85557700c2
commit 5864214a02

View File

@ -1,7 +1,7 @@
Summary: The GNU versions of find utilities (find and xargs)
Name: findutils
Version: 4.2.33
Release: 2%{?dist}
Release: 3%{?dist}
Epoch: 1
License: GPLv3+
Group: Applications/File
@ -55,6 +55,13 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
%find_lang %{name}
# move find to /bin/find
mkdir -p $RPM_BUILD_ROOT/bin
mv $RPM_BUILD_ROOT{%_bindir,/bin}/find
# create /usr/bin/find -> /bin/find symlink
ln -sf ../../bin/find $RPM_BUILD_ROOT/usr/bin
%post
/sbin/install-info %{_infodir}/find.info.gz %{_infodir}/dir || :
@ -69,6 +76,7 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README THANKS TODO
/bin/find
%{_bindir}/find
%{_bindir}/xargs
%{_mandir}/man1/find.1*
@ -76,6 +84,10 @@ rm -rf $RPM_BUILD_ROOT
%{_infodir}/find.info*
%changelog
* Mon Apr 14 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 1:1.2.33-3
- Move find to /bin
Resolves: #438183
* Fri Mar 28 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 1:4.2.33-2
- Fix xargs ARG_MAX assert
Resolves: #439168