From 492dd291e6cbf0dab325d83a0070926e05e9c1eb Mon Sep 17 00:00:00 2001 From: wangce Date: Tue, 14 Sep 2021 18:55:09 +0600 Subject: [PATCH 1/2] amend root file --- generic-release.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/generic-release.spec b/generic-release.spec index 3dbb501..eff844e 100644 --- a/generic-release.spec +++ b/generic-release.spec @@ -5,7 +5,7 @@ %define dist_release_version 8 %define generic_version 20.03 %define generic_patch_level LTS -%define generic_release 42 +%define generic_release 43 %define builtin_release_version 1.0 %define current_arch %{_arch} @@ -126,11 +126,11 @@ install -m 0644 %{SOURCE3} %{buildroot}%{_prefix}/lib/systemd/system-preset/ # set root's bash profile mkdir -p %{buildroot}/root -install -p -m 644 %{SOURCE0} %{buildroot}/root/.bashrc -install -p -m 644 %{SOURCE1} %{buildroot}/root/.bash_profile -install -p -m 644 %{SOURCE2} %{buildroot}/root/.bash_logout -install -p -m 644 %{SOURCE3} %{buildroot}/root/.tcshrc -install -p -m 644 %{SOURCE4} %{buildroot}/root/.cshrc +install -p -m 644 %{SOURCE4} %{buildroot}/root/.bashrc +install -p -m 644 %{SOURCE5} %{buildroot}/root/.bash_profile +install -p -m 644 %{SOURCE6} %{buildroot}/root/.bash_logout +install -p -m 644 %{SOURCE7} %{buildroot}/root/.tcshrc +install -p -m 644 %{SOURCE8} %{buildroot}/root/.cshrc %posttrans -n %{product_family}-rootfiles if [ $1 -eq 0 ] ; then @@ -169,6 +169,9 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) /root/.cshrc %changelog +* Tue Sep 14 2021 wangce - 1.0-42 +- amend root files + * Thu Aug 26 2021 wangxiaorou - 1.0-42 - fix system-info.sh syntax error -- Gitee From 6d91799bf60ffb77eb553cbd44184e718cae157d Mon Sep 17 00:00:00 2001 From: wangce Date: Wed, 15 Sep 2021 07:03:05 +0600 Subject: [PATCH 2/2] amend root file --- generic-release.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic-release.spec b/generic-release.spec index eff844e..462c88c 100644 --- a/generic-release.spec +++ b/generic-release.spec @@ -169,7 +169,7 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) /root/.cshrc %changelog -* Tue Sep 14 2021 wangce - 1.0-42 +* Tue Sep 14 2021 wangce - 1.0-43 - amend root files * Thu Aug 26 2021 wangxiaorou - 1.0-42 -- Gitee