try fix build issue
This commit is contained in:
parent
049c54ec04
commit
423987bd7c
@ -10,7 +10,7 @@ BuildRequires: ruby(release) rubygems-devel
|
|||||||
# BuildRequires: rubygem-gem2rpm
|
# BuildRequires: rubygem-gem2rpm
|
||||||
BuildRequires: rubygems-devel rubygem(rspec) >= 3 rubygem(did_you_mean)
|
BuildRequires: rubygems-devel rubygem(rspec) >= 3 rubygem(did_you_mean)
|
||||||
Url: https://github.com/openSUSE/abstract_method
|
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
|
Summary: Tiny library enabling you to define abstract methods in Ruby classes
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Ruby
|
Group: Development/Languages/Ruby
|
||||||
@ -18,10 +18,12 @@ Group: Development/Languages/Ruby
|
|||||||
%description
|
%description
|
||||||
Abstract Method is a tiny library enabling you to define abstract methods in
|
Abstract Method is a tiny library enabling you to define abstract methods in
|
||||||
Ruby classes and modules.
|
Ruby classes and modules.
|
||||||
|
# maybe we have to follow other packages' routine
|
||||||
%prep
|
%prep
|
||||||
|
%auto setup -n %{mod_full_name} -p1
|
||||||
|
gem unpack %{SOURCE0}
|
||||||
%build
|
%build
|
||||||
|
gem build ../%{mod_full_name}.gemspec
|
||||||
%gem_install
|
%gem_install
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{gem_dir}
|
mkdir -p %{buildroot}%{gem_dir}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user