Compare commits

...

4 Commits
rawhide ... f35

Author SHA1 Message Date
Zbigniew Jędrzejewski-Szmek b4970025e7 Ignore caches and ephemeral file system types
... (rhbz#2033216, rhbz#2097889)

(cherry picked from commit b569c0c9bc)
2022-08-17 13:48:13 +02:00
Zbigniew Jędrzejewski-Szmek a7943117aa Version 1.1.16
(cherry picked from commit 526f0cad0d)
2022-08-17 13:48:08 +02:00
Zbigniew Jędrzejewski-Szmek 7f9e06cfd6 Add virtual Provides:locate to make upgrades easier (rhbz#2052433) 2022-02-19 09:12:09 +01:00
Zbigniew Jędrzejewski-Szmek 08d9edf321 Version 1.1.15 2022-02-19 09:12:09 +01:00
3 changed files with 14 additions and 5 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
/plocate-1.1.11.tar.gz
/plocate-1.1.12.tar.gz
/plocate-1.1.13.tar.gz
/plocate-1.1.15.tar.gz
/plocate-1.1.16.tar.gz

View File

@ -1,5 +1,5 @@
Name: plocate
Version: 1.1.13
Version: 1.1.16
Release: %autorelease
Summary: Much faster locate
@ -20,6 +20,7 @@ BuildRequires: libatomic
# have been ironed out. Thus, we only allow one or the other to be
# installed.
Conflicts: mlocate
Provides: locate
%description
plocate is a locate(1) based on posting lists, giving much faster
@ -38,14 +39,20 @@ cat >locate.1 <<EOF
.so man1/plocate.1
EOF
cat >updatedb.conf <<EOF
# https://bugzilla.redhat.com/show_bug.cgi?id=2033216
PRUNEFS = "tracefs gvfsd-fuse pstore cgroup cgroup2 devtmpfs 9p afs anon_inodefs auto autofs bdev binfmt_misc cifs coda configfs debugfs devpts ecryptfs exofs fuse fuse.sshfs fusectl gfs gfs2 gpfs hugetlbfs inotifyfs iso9660 jffs2 lustre mqueue ncpfs nfs nfs4 nfsd pipefs proc ramfs rootfs rpc_pipefs securityfs selinuxfs sfs sockfs sysfs tmpfs ubifs usbfs"
# https://bugzilla.redhat.com/show_bug.cgi?id=2097889
PRUNEPATHS = "/dev /sys /proc /run /var/cache"
EOF
%install
%meson_install
install -p -D -m 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/plocate.conf
ln -s plocate %{buildroot}%{_bindir}/locate
install -p -D -m 0644 -t %{buildroot}%{_mandir}/man1/ locate.1
mkdir %{buildroot}%{_sysconfdir}/
touch %{buildroot}%{_sysconfdir}/updatedb.conf
install -p -D -m 0644 -t %{buildroot}%{_sysconfdir}/ updatedb.conf
# A state file to carry information from %%post to %%posttrans. See
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_saving_state_between_scriptlets.
@ -94,7 +101,7 @@ fi
%_mandir/man8/plocate-build.8*
%_mandir/man8/updatedb.8*
%_sysusersdir/plocate.conf
%ghost %{_sysconfdir}/updatedb.conf
%config(noreplace) %{_sysconfdir}/updatedb.conf
%dir %{_sharedstatedir}/plocate
%{_sharedstatedir}/plocate/CACHEDIR.TAG
%ghost %attr(0640,-,plocate) %verify(not md5 mtime) %{_sharedstatedir}/plocate/plocate.db

View File

@ -1 +1 @@
SHA512 (plocate-1.1.13.tar.gz) = a7c761e4da169716686f438846587e4bdb6df4de039cd7b4fed455e5f52b8aa235714f0c1059787f65f1553a07929802d0ecda0b26111d4f0f811af96a48cb7d
SHA512 (plocate-1.1.16.tar.gz) = 01dfc3ba434e6164f3e582fb102bd7ec0167a8f93e4cf9c3e72af804a8eda9b69b04fec20ee34fc19549d810b97076342f3a83b46705d0311ada6004d05da26c