Drop %%triggerpostun on slocate
- Drop %%triggerpostun on slocate - it is long obsolete, and rpm started rejecting "Requries(triggerpostun)"
This commit is contained in:
parent
d9b3e2af46
commit
3f37cdcb7f
@ -9,7 +9,6 @@ Source0: https://fedorahosted.org/releases/m/l/mlocate/mlocate-%{version}.tar.xz
|
||||
Source1: updatedb.conf
|
||||
Source2: mlocate.cron
|
||||
Requires(pre): shadow-utils
|
||||
Requires(triggerpostun): shadow-utils
|
||||
Requires(post): grep, sed
|
||||
Obsoletes: slocate <= 2.7-30
|
||||
|
||||
@ -51,10 +50,6 @@ if /bin/grep -q '^[^#]*DAILY_UPDATE' %{_sysconfdir}/updatedb.conf; then
|
||||
/bin/sed -i.rpmsave -e '/DAILY_UPDATE/s/^/#/' %{_sysconfdir}/updatedb.conf
|
||||
fi
|
||||
|
||||
%triggerpostun -- slocate <= 2.7-30
|
||||
getent group slocate >/dev/null || groupadd -g 21 -r -f slocate
|
||||
exit 0
|
||||
|
||||
%files -f mlocate.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING NEWS README
|
||||
@ -70,6 +65,8 @@ exit 0
|
||||
* Fri Feb 4 2011 Miloslav Trmač <mitr@redhat.com> - 0.23.1-3
|
||||
- Exclude /mnt by default
|
||||
Resolves: #674635
|
||||
- Drop %%triggerpostun on slocate - it is long obsolete, and rpm started
|
||||
rejecting "Requries(triggerpostun)"
|
||||
|
||||
* Wed Sep 29 2010 jkeating - 0.23.1-2
|
||||
- Rebuilt for gcc bug 634757
|
||||
|
Loading…
Reference in New Issue
Block a user