diff --git a/findutils.spec b/findutils.spec index 2cd5c28..ccf130f 100644 --- a/findutils.spec +++ b/findutils.spec @@ -1,7 +1,7 @@ Summary: The GNU versions of find utilities (find and xargs) Name: findutils Version: 4.5.10 -Release: 1%{?dist} +Release: 1.0.usrmove.1%{?dist} Epoch: 1 License: GPLv3+ Group: Applications/File @@ -25,6 +25,9 @@ Patch4: findutils-4.5.7-warnings.patch Requires(post): /sbin/install-info Requires(preun): /sbin/install-info +#Conflicts: filesystem < 3 +Provides: /bin/find + Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: automake BuildRequires: dejagnu @@ -74,13 +77,6 @@ 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 if [ -f %{_infodir}/find.info.gz ]; then /sbin/install-info %{_infodir}/find.info.gz %{_infodir}/dir || : @@ -99,7 +95,6 @@ rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS COPYING NEWS README THANKS TODO ChangeLog -/bin/find %{_bindir}/find %{_bindir}/oldfind %{_bindir}/xargs