try fix build issues

This commit is contained in:
Mahno 2025-02-23 20:28:43 +08:00
parent 3621cf14c4
commit 9a5edfa9fd

View File

@ -25,9 +25,14 @@ gem build ../%{mod_full_name}.gemspec
%install %install
%gem_install %gem_install
mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
%files %files
%dir %{gem_instdir} %dir %{gem_instdir}
%{gem_libdir} %{gem_libdir}
%{_datadir}/gems/doc/%{mod_full_name}/
%{_datadir}/gems/gems/%{mod_full_name}/
%exclude %{gem_cache} %exclude %{gem_cache}
%{gem_spec} %{gem_spec}
%changelog %changelog