Name: findutils
Url: http://www.gnu.org/software/findutils/
-Version: 4.5.10
+Version: 4.5.14
Release: 0
Summary: The GNU versions of find utilities (find and xargs)
License: GPL-3.0+
-Group: Productivity/File utilities
+Group: Base/Tools
# retrieved from http://alpha.gnu.org/pub/gnu/findutils/findutils-4.5.10.tar.gz
Source: findutils-%{version}.tar.bz2
Source1: sysconfig.locate
+Source1001: findutils.manifest
%description
The findutils package contains programs which will help you locate
useful for finding things on your system.
-%lang_package
%package locate
Summary: Tool for Locating Files (findutils subpackage)
-Group: Productivity/File utilities
+Group: Base/Tools
Provides: findutils:/usr/bin/locate
Requires: findutils = %{version}
%prep
%setup -q
+cp %{SOURCE1001} .
%build
%ifarch %arm armv5tel armv7l armv7el armv5el
--without-included-regex \
--without-fts \
--enable-d_type-optimisation
-make %{?_smp_mflags}
+%{__make} %{?_smp_mflags}
%check
make check
%install
-make install DESTDIR=$RPM_BUILD_ROOT
+%make_install
+
install -D -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/locate
rm -f $RPM_BUILD_ROOT%{_bindir}/oldfind
rm -f $RPM_BUILD_ROOT%{_bindir}/ftsfind
%docs_package
+%lang_package
+
%files
+%manifest %{name}.manifest
%defattr(-,root,root,-)
-%doc COPYING
+%license COPYING
%{_bindir}/find
%{_bindir}/xargs
%files locate
+%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_bindir}/locate
%{_bindir}/updatedb
%{_libdir}/find
-%config(noreplace) %{_sysconfigdir}/sysconfig/locate
+%config(noreplace) %{_sysconfdir}/sysconfig/locate
%changelog