From 423987bd7cfa804dea6985aa589834f7dbbbba1b Mon Sep 17 00:00:00 2001 From: Mahno Date: Sun, 23 Feb 2025 19:39:36 +0800 Subject: [PATCH] try fix build issue --- rubygem-abstract_method.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/rubygem-abstract_method.spec b/rubygem-abstract_method.spec index 0cafae0..1c03b7e 100644 --- a/rubygem-abstract_method.spec +++ b/rubygem-abstract_method.spec @@ -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}