add ownership of /run/{motd,motd.d} and /usr/lib/{motd,motd.d}

This commit is contained in:
Ondřej Vašík 2018-12-14 15:57:48 +01:00
parent 1807a3ca2a
commit 8a02009d2f
3 changed files with 14 additions and 2 deletions

1
.gitignore vendored
View File

@ -73,3 +73,4 @@ setup-2.8.25.tar.bz2
/setup-2.12.2.tar.bz2
/setup-2.12.3.tar.bz2
/setup-2.12.5.tar.bz2
/setup-2.12.6.tar.bz2

View File

@ -1,6 +1,6 @@
Summary: A set of system configuration and setup files
Name: setup
Version: 2.12.5
Version: 2.12.6
Release: 1%{?dist}
License: Public Domain
Group: System Environment/Base
@ -45,6 +45,10 @@ touch %{buildroot}/etc/fstab
mkdir -p %{buildroot}/etc/profile.d
echo "#Add any required envvar overrides to this file, it is sourced from /etc/profile" >%{buildroot}/etc/profile.d/sh.local
echo "#Add any required envvar overrides to this file, is sourced from /etc/csh.login" >%{buildroot}/etc/profile.d/csh.local
mkdir -p %{buildroot}/run/motd.d
touch %{buildroot}/run/motd
mkdir -p %{buildroot}/usr/lib/motd.d
touch %{buildroot}/usr/lib/motd
# remove unpackaged files from the buildroot
rm -f %{buildroot}/etc/Makefile
@ -84,6 +88,10 @@ end
%config(noreplace) /etc/hosts.deny
%verify(not md5 size mtime) %config(noreplace) /etc/motd
%dir /etc/motd.d
%verify(not md5 size mtime) %config(noreplace) /run/motd
%dir /run/motd.d
%verify(not md5 size mtime) %config(noreplace) /usr/lib/motd
%dir /usr/lib/motd.d
%config(noreplace) /etc/printcap
%verify(not md5 size mtime) %config(noreplace) /etc/inputrc
%config(noreplace) /etc/bashrc
@ -102,6 +110,9 @@ end
%ghost %verify(not md5 size mtime) %config(noreplace,missingok) /etc/fstab
%changelog
* Thu Dec 13 2018 Robert Fairley <rfairley@redhat.com> - 2.12.6-1
- add ownership of /run/{motd,motd.d} and /usr/lib/{motd,motd.d}
* Wed Dec 12 2018 Ondrej Vasik <ovasik@redhat.com> - 2.12.5-1
- use full path for non-builtins in profile and lang.sh (#1648589)

View File

@ -1 +1 @@
SHA512 (setup-2.12.5.tar.bz2) = 98e47af14c51a50127436ea53be5d931917ff9ac0001025c2159104bd49bdb936eb680912d96abd76d6be6bb6c8cdb3019a824b48f33ba93185b04b1b1fc5aa2
SHA512 (setup-2.12.6.tar.bz2) = 926e65f7c790353ab6276b15e2878efb6375c63ff8f4c066b8ce9fb852d9afb152b83231ca655f56ae9cb63ef8f0555fa5e00764204b36e5f53426c0ea7dad2a