try fix build issues

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

View File

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