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