3
0
forked from pool/findutils

- Fix typo in findutils-4.5.10-updatedb_ignore_nfsv4.patch that

lead to nfs4 directories being searched again (bnc#792323).

OBS-URL: https://build.opensuse.org/package/show/Base:System/findutils?expand=0&rev=38
This commit is contained in:
Philipp Thomas 2012-12-05 10:46:57 +00:00 committed by Git OBS Bridge
parent 618f1228d5
commit e474801c83
3 changed files with 17 additions and 10 deletions

View File

@ -7,7 +7,7 @@ Index: locate/updatedb.sh
PATH=/bin:/usr/bin:${BINDIR}; export PATH
-: ${PRUNEFS="nfs NFS proc afs smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs sysfs shfs cifs 9P unknown"}
+: ${PRUNEFS="nfs nfsv4 NFS proc afs smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs sysfs shfs cifs 9P unknown"}
+: ${PRUNEFS="nfs nfs4 NFS proc afs smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs sysfs shfs cifs 9P unknown"}
if test -n "$PRUNEFS"; then
prunefs_exp=`echo $PRUNEFS |sed -e 's/\([^ ][^ ]*\)/-o -fstype \1/g' \

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Dec 5 11:43:21 CET 2012 - pth@suse.de
- Fix typo in findutils-4.5.10-updatedb_ignore_nfsv4.patch that
lead to nfs4 directories being searched again (bnc#792323).
- Enable FTS based search.
- Replace $RPM_BUILD_ROOT by %%buildroot in specfile.
-------------------------------------------------------------------
Thu Nov 15 13:32:47 CET 2012 - pth@suse.de

View File

@ -97,7 +97,6 @@ export DEFAULT_ARG_SIZE="(31u * 1024u)"
--libexecdir=%{_libdir}/find \
--localstatedir=/var/lib \
--without-included-regex \
--without-fts \
--enable-d_type-optimisation
make %{?_smp_mflags}
@ -105,16 +104,16 @@ make %{?_smp_mflags}
make check
%install
make install DESTDIR=$RPM_BUILD_ROOT
install -D -m 644 %{SOURCE1} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.locate
install -D -m 755 %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.daily/suse-updatedb
rm -f $RPM_BUILD_ROOT%{_bindir}/oldfind
rm -f $RPM_BUILD_ROOT%{_bindir}/ftsfind
rm -f $RPM_BUILD_ROOT%{_infodir}/find-maint*
%make_install
install -D -m 644 %{SOURCE1} %{buildroot}/var/adm/fillup-templates/sysconfig.locate
install -D -m 755 %{SOURCE2} %{buildroot}/etc/cron.daily/suse-updatedb
rm -f %{buildroot}%{_bindir}/oldfind
rm -f %{buildroot}%{_bindir}/ftsfind
rm -f %{buildroot}%{_infodir}/find-maint*
%find_lang %{name}
#UsrMerge
mkdir -p $RPM_BUILD_ROOT/bin
ln -sf %{_bindir}/find $RPM_BUILD_ROOT/bin
mkdir -p %{buildroot}/bin
ln -sf %{_bindir}/find %{buildroot}/bin
#UsrMerge
%post locate