keep source code consistency

This commit is contained in:
sun_hai_10 2023-07-27 22:12:40 +08:00
parent 746243b85b
commit 0a817985d6

View File

@ -1,7 +1,7 @@
%define _empty_manifest_terminate_build 0
Name: anaconda
Version: 36.16.5
Release: 19
Release: 20
Summary: Graphical system installer
License: GPLv2+ and MIT
URL: http://fedoraproject.org/wiki/Anaconda
@ -183,6 +183,10 @@ runtime on NFS/HTTP/FTP servers or local disks.
%make_install
%delete_la
cp %{SOURCE1} %{SOURCE1}_tmp
cp %{SOURCE2} %{SOURCE2}_tmp
cp %{SOURCE3} %{SOURCE3}_tmp
# install openEuler conf for anaconda
%ifarch x86_64
sed -i "/^additional_arguments =*/ s/$/ crashkernel=512M/" %{SOURCE1}
@ -199,6 +203,9 @@ install -m 0644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/%{name}/profile.d/
install -m 0644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/%{name}/profile.d/
install -m 0644 %{SOURCE3} %{buildroot}/%{_sysconfdir}/%{name}/profile.d/
mv %{SOURCE1}_tmp %{SOURCE1}
mv %{SOURCE2}_tmp %{SOURCE2}
mv %{SOURCE3}_tmp %{SOURCE3}
# Create an empty directory for addons
install -d -m 0755 %{buildroot}%{_datadir}/anaconda/addons
@ -290,6 +297,12 @@ update-desktop-database &> /dev/null || :
%{_prefix}/libexec/anaconda/dd_*
%changelog
* Mon Jul 10 2023 sunhai <sunhai10@huawei.com> - 36.16.5-20
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: keep source code consistency
* Mon Jul 10 2023 sunhai <sunhai10@huawei.com> - 36.16.5-19
- Type:bugfix
- ID:NA