import setup-2.12.2-6.el8
This commit is contained in:
parent
552c2ec89c
commit
85ea89e11f
|
@ -1,7 +1,7 @@
|
||||||
Summary: A set of system configuration and setup files
|
Summary: A set of system configuration and setup files
|
||||||
Name: setup
|
Name: setup
|
||||||
Version: 2.12.2
|
Version: 2.12.2
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
License: Public Domain
|
License: Public Domain
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: https://pagure.io/setup/
|
URL: https://pagure.io/setup/
|
||||||
|
@ -70,6 +70,13 @@ rm -f %{buildroot}/etc/shadowconvert.sh
|
||||||
rm -f %{buildroot}/etc/setup.spec
|
rm -f %{buildroot}/etc/setup.spec
|
||||||
rm -rf %{buildroot}/etc/contrib
|
rm -rf %{buildroot}/etc/contrib
|
||||||
|
|
||||||
|
# make setup a protected package
|
||||||
|
install -p -d -m 755 %{buildroot}/etc/dnf/protected.d/
|
||||||
|
touch %{name}.conf
|
||||||
|
echo setup > %{name}.conf
|
||||||
|
install -p -c -m 0644 %{name}.conf %{buildroot}/etc/dnf/protected.d/
|
||||||
|
rm -f %{name}.conf
|
||||||
|
|
||||||
#throw away useless and dangerous update stuff until rpm will be able to
|
#throw away useless and dangerous update stuff until rpm will be able to
|
||||||
#handle it ( http://rpm.org/ticket/6 )
|
#handle it ( http://rpm.org/ticket/6 )
|
||||||
%post -p <lua>
|
%post -p <lua>
|
||||||
|
@ -113,8 +120,12 @@ end
|
||||||
%config(noreplace) %verify(not md5 size mtime) /etc/shells
|
%config(noreplace) %verify(not md5 size mtime) /etc/shells
|
||||||
%ghost %attr(0644,root,root) %verify(not md5 size mtime) /var/log/lastlog
|
%ghost %attr(0644,root,root) %verify(not md5 size mtime) /var/log/lastlog
|
||||||
%ghost %verify(not md5 size mtime) %config(noreplace,missingok) /etc/fstab
|
%ghost %verify(not md5 size mtime) %config(noreplace,missingok) /etc/fstab
|
||||||
|
/etc/dnf/protected.d/%{name}.conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 15 2020 Pavel Zhukov <pzhukov@redhat.com> - 2.12.2-6
|
||||||
|
- make setup protected package (#1755997)
|
||||||
|
|
||||||
* Wed Oct 30 2019 Martin Osvald <mosvald@redhat.com> - 2.12.2-5
|
* Wed Oct 30 2019 Martin Osvald <mosvald@redhat.com> - 2.12.2-5
|
||||||
- rebuilt to fix version
|
- rebuilt to fix version
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue