!84 spec文件有问题

From: @wangce1988
Reviewed-by: @overweight
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2021-09-15 02:48:29 +00:00 committed by Gitee
commit a29d4bc4e4

View File

@ -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 <wangce@uniontech.com> - 1.0-43
- amend root files
* Thu Aug 26 2021 wangxiaorou <wangxiaorou@uniontech.com> - 1.0-42
- fix system-info.sh syntax error