run newaliases in the post to prevent sendmail message about old alias database in the log(#658921)

This commit is contained in:
Ondřej Vašík 2010-12-03 16:37:42 +01:00
parent 6068ba86c9
commit 786d1aabc4
3 changed files with 10 additions and 2 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ setup-2.8.25.tar.bz2
/setup-2.8.26.tar.bz2
/setup-2.8.27.tar.bz2
/setup-2.8.28.tar.bz2
/setup-2.8.29.tar.bz2

View File

@ -1,6 +1,6 @@
Summary: A set of system configuration and setup files
Name: setup
Version: 2.8.28
Version: 2.8.29
Release: 1%{?dist}
License: Public Domain
Group: System Environment/Base
@ -56,6 +56,9 @@ rm -rf %{buildroot}
for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do
os.remove("/etc/"..name..".rpmnew")
end
if posix.access("/usr/bin/newaliases", "x") then
os.execute("/usr/bin/newaliases >/dev/null")
end
%files
%defattr(-,root,root,-)
@ -89,6 +92,10 @@ end
%ghost %verify(not md5 size mtime) %config(noreplace,missingok) /etc/mtab
%changelog
* Fri Dec 03 2010 Ondrej Vasik <ovasik@redhat.com> 2.8.29-1
- run newaliases in the post to prevent sendmail messages
about old alias database in the log(#658921)
* Fri Nov 12 2010 Ondrej Vasik <ovasik@redhat.com> 2.8.28-1
- update services and protocols to latest IANA reservations
- reserve uidgid pair 109:109 for rhevm(#652287)

View File

@ -1 +1 @@
12fe38d08063c3bfafbafed6d523f3e1 setup-2.8.28.tar.bz2
7456c6a3c822ed6d40213772851c8e42 setup-2.8.29.tar.bz2