Remove unneeded conditionals for new MiniTest support
This commit is contained in:
parent
6a9936b01e
commit
7c847c593e
@ -3,7 +3,7 @@
|
|||||||
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
|
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
|
||||||
%global fullver %{majorver}%{?preminorver}
|
%global fullver %{majorver}%{?preminorver}
|
||||||
|
|
||||||
%global baserelease 3
|
%global baserelease 4
|
||||||
|
|
||||||
%global gem_name rspec-expectations
|
%global gem_name rspec-expectations
|
||||||
|
|
||||||
@ -58,9 +58,7 @@ This package contains documentation for %{name}.
|
|||||||
gem specification %{SOURCE0} -l --ruby > %{gem_name}.gemspec
|
gem specification %{SOURCE0} -l --ruby > %{gem_name}.gemspec
|
||||||
|
|
||||||
# MiniTest 5.19+
|
# MiniTest 5.19+
|
||||||
%if 0%{?fedora} >= 39
|
|
||||||
grep -rl MiniTest spec/ | xargs sed -i 's|MiniTest::|Minitest::|'
|
grep -rl MiniTest spec/ | xargs sed -i 's|MiniTest::|Minitest::|'
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
gem build %{gem_name}.gemspec
|
gem build %{gem_name}.gemspec
|
||||||
@ -114,6 +112,9 @@ cucumber \
|
|||||||
%{gem_docdir}
|
%{gem_docdir}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Aug 06 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.12.3-4
|
||||||
|
- Remove unneeded conditionals for new MiniTest support
|
||||||
|
|
||||||
* Fri Aug 4 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.12.3-3
|
* Fri Aug 4 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.12.3-3
|
||||||
- Support MiniTest 5.19+
|
- Support MiniTest 5.19+
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user