|
|
|
@ -4,8 +4,8 @@
|
|
|
|
|
|
|
|
|
|
Summary: Retrieve the source code for a method
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
|
Version: 0.7.1
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 0.8
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://banisterfiend.wordpress.com
|
|
|
|
@ -15,7 +15,7 @@ Requires: ruby(rubygems)
|
|
|
|
|
BuildRequires: ruby(abi) = %{rubyabi}
|
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
|
BuildRequires: ruby
|
|
|
|
|
BuildRequires: rubygem(bacon)
|
|
|
|
|
BuildRequires: %{_bindir}/bacon
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Provides: rubygem(%{gem_name}) = %{version}
|
|
|
|
|
|
|
|
|
@ -47,9 +47,7 @@ cp -a .%{gem_dir}/* \
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
|
# The '-I.' should not be needed in ideal case.
|
|
|
|
|
# https://github.com/banister/method_source/issues/12
|
|
|
|
|
bacon -I. test/test.rb
|
|
|
|
|
bacon test/test.rb
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -70,6 +68,9 @@ popd
|
|
|
|
|
%{gem_instdir}/test
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jul 31 2012 Vít Ondruch <vondruch@redhat.com> - 0.8-1
|
|
|
|
|
- Update to method_source 0.8.
|
|
|
|
|
|
|
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|