|
|
|
@ -4,18 +4,15 @@
|
|
|
|
|
Summary: Simply adds a declarative test method syntax to test/unit
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
|
Version: 0.0.5
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://github.com/svenfuchs/test_declarative
|
|
|
|
|
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
|
Requires: ruby(release)
|
|
|
|
|
Requires: ruby(rubygems)
|
|
|
|
|
BuildRequires: ruby(release)
|
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
|
BuildRequires: rubygem(minitest)
|
|
|
|
|
BuildRequires: rubygem(minitest) < 5
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Provides: rubygem(%{gem_name}) = %{version}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Simply adds a declarative test method syntax to test/unit.
|
|
|
|
@ -44,7 +41,7 @@ cp -a .%{gem_dir}/* \
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
|
testrb test
|
|
|
|
|
ruby -e 'Dir.glob "./test/**/test_*.rb", &method(:require)'
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
@ -61,6 +58,9 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jun 19 2014 Vít Ondruch <vondruch@redhat.com> - 0.0.5-7
|
|
|
|
|
- Fix FTBFS in Rawhide (rhbz#1107256).
|
|
|
|
|
|
|
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.5-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|