diff --git a/chkconfig.spec b/chkconfig.spec index 8f59fb0827c6f885f970e1b960965cbbd1e1b668..00c460adc20e3493ea9786e51fc9d27ef766af2d 100644 --- a/chkconfig.spec +++ b/chkconfig.spec @@ -1,6 +1,7 @@ +%define anolis_release 2 Name: chkconfig Version: 1.20 -Release: 1%{?dist} +Release: %{anolis_release}%{?dist} Summary: A system tool for maintaining the /etc/rc*.d hierarchy License: GPLv2 @@ -57,6 +58,8 @@ mkdir -p $RPM_BUILD_ROOT/etc/chkconfig.d %find_lang %{name} +%generate_compatibility_deps + %files -f %{name}.lang %defattr(-,root,root) %{!?_licensedir:%global license %%doc} @@ -77,15 +80,19 @@ mkdir -p $RPM_BUILD_ROOT/etc/chkconfig.d %{_mandir}/*/ntsysv.8* %files -n alternatives +%dir %{abidir} %license COPYING %dir /etc/alternatives %{_sbindir}/update-alternatives %{_sbindir}/alternatives +%{abidir}/alternatives-option.list %{_mandir}/*/update-alternatives* %{_mandir}/*/alternatives* %dir /var/lib/alternatives - %changelog +* Wed Nov 02 2022 mgb01105731 - 1.20-2 +- optimise spec file + * Thu Mar 10 2022 forrest_ly - 1.20-1 - Init for Anolis OS 23