try fix build issue

This commit is contained in:
Mahno 2025-02-23 19:39:36 +08:00
parent 049c54ec04
commit 423987bd7c

View File

@ -10,7 +10,7 @@ BuildRequires: ruby(release) rubygems-devel
# BuildRequires: rubygem-gem2rpm
BuildRequires: rubygems-devel rubygem(rspec) >= 3 rubygem(did_you_mean)
Url: https://github.com/openSUSE/abstract_method
Source: http://rubygems.org/gems/%{mod_full_name}.gem
Source0: http://rubygems.org/gems/%{mod_full_name}.gem
Summary: Tiny library enabling you to define abstract methods in Ruby classes
License: MIT
Group: Development/Languages/Ruby
@ -18,10 +18,12 @@ Group: Development/Languages/Ruby
%description
Abstract Method is a tiny library enabling you to define abstract methods in
Ruby classes and modules.
# maybe we have to follow other packages' routine
%prep
%auto setup -n %{mod_full_name} -p1
gem unpack %{SOURCE0}
%build
gem build ../%{mod_full_name}.gemspec
%gem_install
%install
mkdir -p %{buildroot}%{gem_dir}