Update to latest version and remove unneded %exclude
This commit is contained in:
parent
aba5696344
commit
4b0e9bb739
23
patch1.patch
23
patch1.patch
|
@ -1,23 +0,0 @@
|
|||
From: Steinar H. Gunderson <steinar+git@gunderson.no>
|
||||
Date: Wed, 7 Apr 2021 20:04:49 +0000 (+0200)
|
||||
Subject: Fix a typo in try_complete_pread().
|
||||
X-Git-Url: https://git.sesse.net/?p=plocate;a=commitdiff_plain;h=5306f44831f52aadc17ef229a8e577147c68137b
|
||||
|
||||
Fix a typo in try_complete_pread().
|
||||
|
||||
Pointed out by Taj Khattra.
|
||||
---
|
||||
|
||||
diff --git a/complete_pread.cpp b/complete_pread.cpp
|
||||
index e805cf6..3b36945 100644
|
||||
--- a/complete_pread.cpp
|
||||
+++ b/complete_pread.cpp
|
||||
@@ -15,7 +15,7 @@ bool try_complete_pread(int fd, void *ptr, size_t len, off_t offset)
|
||||
}
|
||||
ptr = reinterpret_cast<char *>(ptr) + ret;
|
||||
len -= ret;
|
||||
- offset -= ret;
|
||||
+ offset += ret;
|
||||
}
|
||||
return true;
|
||||
}
|
|
@ -1,13 +1,12 @@
|
|||
Name: plocate
|
||||
Version: 1.1.7
|
||||
Version: 1.1.8
|
||||
Release: 1%{?dist}
|
||||
Summary: Much faster locate
|
||||
|
||||
License: GPLv2+
|
||||
URL: https://plocate.sesse.net/
|
||||
Source0: https://git.sesse.net/?p=plocate;a=snapshot;h=%{version};sf=tgz#/plocate-%{version}.tar.gz
|
||||
%global shortcommit 877be5c
|
||||
Patch1: https://git.sesse.net/?p=plocate;a=commitdiff_plain;h=5306f44831f52aadc17ef229a8e577147c68137b#/patch1.patch
|
||||
%global shortcommit c3da113
|
||||
Source1: plocate.sysusers
|
||||
|
||||
BuildRequires: meson
|
||||
|
@ -89,9 +88,11 @@ fi
|
|||
%_sysusersdir/plocate.conf
|
||||
%dir %{_sharedstatedir}/plocate
|
||||
%{_sharedstatedir}/plocate/CACHEDIR.TAG
|
||||
%exclude /usr/lib/debug
|
||||
|
||||
%changelog
|
||||
* Mon Jun 21 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.1.8-1
|
||||
- Update to latest version
|
||||
|
||||
* Wed May 12 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.1.7-1
|
||||
- Resolve comments from initial review
|
||||
- Start the service and timer in %%posttrans
|
||||
|
|
Loading…
Reference in New Issue