- Add .git to PRUNENAMES Resolves: #473227

- Avoid a rpmlint warning
This commit is contained in:
Miloslav Trmac 2008-11-28 11:37:24 +00:00
parent e059173a13
commit eee1b3a512
2 changed files with 9 additions and 3 deletions

View File

@ -1,7 +1,7 @@
Summary: An utility for finding files by name Summary: An utility for finding files by name
Name: mlocate Name: mlocate
Version: 0.21.1 Version: 0.21.1
Release: 1 Release: 2
License: GPLv2 License: GPLv2
URL: https://fedorahosted.org/mlocate/ URL: https://fedorahosted.org/mlocate/
Group: Applications/System Group: Applications/System
@ -10,7 +10,8 @@ Source0: %{name}-%{version}.tar.bz2
Source1: updatedb.conf Source1: updatedb.conf
Source2: mlocate.cron Source2: mlocate.cron
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires(pre,triggerpostun): shadow-utils Requires(pre): shadow-utils
Requires(triggerpostun): shadow-utils
Requires(post): grep, sed Requires(post): grep, sed
Obsoletes: slocate <= 2.7-30 Obsoletes: slocate <= 2.7-30
Provides: slocate Provides: slocate
@ -68,6 +69,11 @@ fi
%ghost /var/lib/mlocate/mlocate.db %ghost /var/lib/mlocate/mlocate.db
%changelog %changelog
* Fri Nov 28 2008 Miloslav Trmač <mitr@redhat.com> - 0.21.1-2
- Add .git to PRUNENAMES
Resolves: #473227
- Avoid a rpmlint warning
* Tue Oct 28 2008 Miloslav Trmač <mitr@redhat.com> - 0.21.1-1 * Tue Oct 28 2008 Miloslav Trmač <mitr@redhat.com> - 0.21.1-1
- Update to mlocate-0.21 - Update to mlocate-0.21
Resolves: #461208 Resolves: #461208

View File

@ -1,4 +1,4 @@
PRUNE_BIND_MOUNTS = "yes" PRUNE_BIND_MOUNTS = "yes"
PRUNEFS = "auto afs gfs gfs2 iso9660 sfs udf" PRUNEFS = "auto afs gfs gfs2 iso9660 sfs udf"
PRUNENAMES = ".hg .svn" PRUNENAMES = ".git .hg .svn"
PRUNEPATHS = "/afs /media /net /sfs /tmp /udev /var/spool/cups /var/spool/squid /var/tmp" PRUNEPATHS = "/afs /media /net /sfs /tmp /udev /var/spool/cups /var/spool/squid /var/tmp"