try fix build issues

This commit is contained in:
Mahno 2025-03-10 14:43:28 +08:00
parent 92d8c90bd5
commit 7e223535f6

View File

@ -174,9 +174,9 @@ mkdir -p %{buildroot}%{_sysconfdir}/YaST2
%yast_install %yast_install
%if 0%{?suse_version} < 1550 %if 0%{?suse_version} < 1550
mkdir -p %{buildroot}/sbin #mkdir -p %{buildroot}/sbin
ln -s ../%{_sbindir}/yast %{buildroot}/sbin #ln -s ../%{_sbindir}/yast %{buildroot}/sbin
ln -s ../%{_sbindir}/yast2 %{buildroot}/sbin #ln -s ../%{_sbindir}/yast2 %{buildroot}/sbin
%endif %endif
# symlink the yardoc duplicates, saves over 2MB in installed system # symlink the yardoc duplicates, saves over 2MB in installed system
@ -241,10 +241,10 @@ fi
%doc %{yast_vardir}/hooks/README.md %doc %{yast_vardir}/hooks/README.md
%if 0%{?suse_version} < 1550 %if 0%{?suse_version} < 1550
/sbin/yast* #/sbin/yast*
# this causes repetitive files including # this causes repetitive files including
%endif %endif
# %{_sbindir}/yast* %{_sbindir}/yast*
# wizard # wizard
%dir %{yast_yncludedir}/wizard %dir %{yast_yncludedir}/wizard