|
|
|
@ -2,8 +2,8 @@
|
|
|
|
|
%global gem_name minitest-stub-const
|
|
|
|
|
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
|
Version: 0.1
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 0.5
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Stub constants for the duration of a block in MiniTest
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
License: MIT
|
|
|
|
@ -51,20 +51,25 @@ cp -a .%{gem_dir}/* \
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
|
ruby -rminitest/autorun -rstringio test/test_stub_const.rb
|
|
|
|
|
ruby test/test_stub_const.rb
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%dir %{gem_instdir}
|
|
|
|
|
%license %{gem_instdir}/LICENSE
|
|
|
|
|
%{gem_libdir}
|
|
|
|
|
%exclude %{gem_cache}
|
|
|
|
|
%{gem_spec}
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
%doc %{gem_docdir}
|
|
|
|
|
%doc %{gem_instdir}/README.md
|
|
|
|
|
%{gem_instdir}/test
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Oct 01 2015 Vít Ondruch <vondruch@redhat.com> - 0.5-1
|
|
|
|
|
- Update to minitest-stub-const 0.5.
|
|
|
|
|
|
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|