From a5916ea69d949a142e8a8db6559ca9c44bf0e7dd Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:45:25 +0100 Subject: [PATCH] update to 1.2.1 [release 1.2.1-1mamba;Tue Apr 20 2021] --- setup.spec | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/setup.spec b/setup.spec index 04448e4..cb471e0 100644 --- a/setup.spec +++ b/setup.spec @@ -1,7 +1,7 @@ %define daemon_id 6 Name: setup -Version: 1.2.0 -Release: 2mamba +Version: 1.2.1 +Release: 1mamba Summary: A set of system configuration and setup files Group: System/Configuration Vendor: openmamba @@ -68,6 +68,12 @@ if [ $1 -ge 1 ]; then fi : +%posttrans +if [ ! -e /etc/resolv.conf -a -e /etc/resolv.conf.rpmsave ]; then + mv /etc/resolv.conf{.rpmsave,} +fi +: + %files %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/bashrc @@ -87,7 +93,6 @@ fi %config(noreplace) %{_sysconfdir}/passwd %config(noreplace) %{_sysconfdir}/printcap %config %{_sysconfdir}/profile -%config(noreplace) %{_sysconfdir}/resolv.conf %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/shells %attr(0600,root,root) %config(missingok,noreplace) %{_sysconfdir}/securetty %dir %{_sysconfdir}/profile.d @@ -96,6 +101,9 @@ fi %doc AUTHORS ChangeLog %changelog +* Tue Apr 20 2021 Silvan Calarco 1.2.1-1mamba +- update to 1.2.1 + * Mon Mar 08 2021 Silvan Calarco 1.2.0-2mamba - still require /bin/hostname instead of /usr/bin/hostname