Compare commits

...

10 Commits
f35 ... rawhide

Author SHA1 Message Date
Fedora Release Engineering 46889dbfba Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 09:55:56 +00:00
Zbigniew Jędrzejewski-Szmek 6cdd6d1ad1 Version 1.1.17
- Bump Obsoletes for cover mlocate in F37 and F38.

Bugfix update. The only change seems to be some exit value fix.
2022-12-27 11:50:24 +01:00
Zbigniew Jędrzejewski-Szmek 7ad4285525 Update default config to use the defaults in Debian
(With some minor adjustments.)
2022-08-17 15:58:40 +02:00
Zbigniew Jędrzejewski-Szmek b569c0c9bc Ignore caches and ephemeral file system types
... (rhbz#2033216, rhbz#2097889)
2022-08-17 13:36:23 +02:00
Zbigniew Jędrzejewski-Szmek 526f0cad0d Version 1.1.16 2022-08-17 13:26:26 +02:00
Fedora Release Engineering c38303ca57 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 15:03:32 +00:00
Zbigniew Jędrzejewski-Szmek 73d3257a13 Add Obsoletes for mlocate versions in F35- (for #2052433) 2022-03-06 22:51:07 +01:00
Zbigniew Jędrzejewski-Szmek 5cba1703e7 Add virtual Provides:locate to make upgrades easier (rhbz#2052433) 2022-02-19 09:11:00 +01:00
Zbigniew Jędrzejewski-Szmek a2472183c5 Version 1.1.15 2022-02-19 09:11:00 +01:00
Fedora Release Engineering bd50c77fad - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 09:06:59 +00:00
3 changed files with 18 additions and 5 deletions

3
.gitignore vendored
View File

@ -1,3 +1,6 @@
/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
/plocate-1.1.17.tar.gz

View File

@ -1,5 +1,5 @@
Name: plocate
Version: 1.1.13
Version: 1.1.17
Release: %autorelease
Summary: Much faster locate
@ -20,6 +20,10 @@ BuildRequires: libatomic
# have been ironed out. Thus, we only allow one or the other to be
# installed.
Conflicts: mlocate
Provides: locate
# https://bugzilla.redhat.com/show_bug.cgi?id=2052433
Obsoletes: mlocate < 0.26-500
%description
plocate is a locate(1) based on posting lists, giving much faster
@ -38,14 +42,20 @@ cat >locate.1 <<EOF
.so man1/plocate.1
EOF
cat >updatedb.conf <<EOF
# https://bugzilla.redhat.com/show_bug.cgi?id=2033216
PRUNEFS = "9p afs autofs binfmt_misc ceph cgroup cgroup2 cifs coda configfs curlftpfs debugfs devfs devpts devtmpfs ecryptfs ftpfs fuse.ceph fuse.cryfs fuse.encfs fuse.glusterfs fuse.gvfsd-fuse fuse.mfs fuse.rclone fuse.rozofs fuse.sshfs fusec fusesmb gfs gfs2 gpfs hugetlbfs iso9660 lustre lustre_lite mfs mqueue ncpfs nfs nfs4 ocfs ocfs2 proc pstore ramfs pstorefs rootfs rpc_pipefs securityfs smbfs sysfs tmpfs tracefs udev udf usbfs"
# https://bugzilla.redhat.com/show_bug.cgi?id=2097889
PRUNEPATHS = "/tmp /media /dev /sys /proc /run /var/cache /var/spool"
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 +104,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.17.tar.gz) = 36fa7ad01b5136ce75aad56d154cac511f2f4952a52ef2f16143e46b65a8b129e9011dbdd66d80a0288ef15291864cef0e51d26181b966a2f67b5e4f9fc42c7d