From 49382f7304865351dc62518a1a26437c3ca8d370 Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Thu, 3 Nov 2022 14:34:59 +0800 Subject: [PATCH] optimise spec file --- anaconda.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/anaconda.spec b/anaconda.spec index 2af9227..e7b4448 100644 --- a/anaconda.spec +++ b/anaconda.spec @@ -1,4 +1,4 @@ -%define anolis_release 7 +%define anolis_release 8 Summary: Graphical system installer Name: anaconda Version: 37.5 @@ -328,9 +328,11 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{buildroot}%{_d rm -f %{buildroot}/%{_libexecdir}/webui-desktop %endif +%generate_compatibility_deps # main package and install-env-deps are metapackages %files +%dir %{abidir} %files install-env-deps @@ -361,6 +363,7 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{buildroot}%{_d %dir %{_datadir}/anaconda/post-scripts %exclude %{_prefix}/libexec/anaconda/dd_* %{python3_sitearch}/pyanaconda +%{abidir}/_isys.dump %exclude %{python3_sitearch}/pyanaconda/rescue.py* %exclude %{python3_sitearch}/pyanaconda/__pycache__/rescue.* %exclude %{python3_sitearch}/pyanaconda/ui/gui/* @@ -376,6 +379,7 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{buildroot}%{_d %files live %{_bindir}/liveinst %{_sbindir}/liveinst +%{abidir}/liveinst-option.list %config(noreplace) %{_sysconfdir}/pam.d/* %config(noreplace) %{_sysconfdir}/security/console.apps/* %{_libexecdir}/liveinst-setup.sh @@ -413,6 +417,7 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{buildroot}%{_d %files widgets %{_libdir}/libAnacondaWidgets.so.* +%{abidir}/libAnacondaWidgets.dump %{_libdir}/girepository*/AnacondaWidgets*typelib %{python3_sitearch}/gi/overrides/* @@ -429,6 +434,9 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{buildroot}%{_d %{_prefix}/libexec/anaconda/dd_* %changelog +* Thu Nov 03 2022 mgb01105731 - 37.5-8 +- optimise spec file + * Mon Oct 24 2022 taifu.gc - 37.5-7 - Modify default timezone -- Gitee