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}