!2 update to 4.12.1

From: @lyn1001 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2022-05-17 10:09:29 +00:00 committed by Gitee
commit 7fd402af30
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 7 additions and 12 deletions

Binary file not shown.

BIN
ZenTest-4.12.1.gem Normal file

Binary file not shown.

View File

@ -1,6 +1,6 @@
%global gem_name ZenTest %global gem_name ZenTest
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 4.11.2 Version: 4.12.1
Release: 1 Release: 1
Summary: Automated test scaffolding for Ruby Summary: Automated test scaffolding for Ruby
License: MIT License: MIT
@ -37,14 +37,8 @@ cp -a .%{_bindir}/* \
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
find %{buildroot}%{gem_instdir}/bin -type f | \ find %{buildroot}%{gem_instdir}/bin -type f | \
xargs -n 1 sed -i -e 's"^#!/usr/bin/env ruby"#!/usr/bin/ruby"' xargs -n 1 sed -i -e 's"^#!/usr/bin/env ruby"#!/usr/bin/ruby"'
find %{buildroot}%{gem_instdir}/bin -type f | \
xargs -n 1 sed -i -e 's"^#!/usr/local/bin/ruby"#!/usr/bin/ruby"'
find %{buildroot}%{gem_instdir}/test -type f | \ find %{buildroot}%{gem_instdir}/test -type f | \
xargs -n 1 sed -i -e '/^#!\/usr\/.*\/ruby.*/d' xargs -n 1 sed -i -e '/^#!\/usr\/.*\/ruby.*/d'
find %{buildroot}%{gem_instdir} -type f | \
xargs chmod 0644
find %{buildroot}%{gem_instdir}/bin -type f | \
xargs chmod 0755
%check %check
pushd .%{gem_instdir} pushd .%{gem_instdir}
@ -53,14 +47,11 @@ popd
%files %files
%dir %{gem_instdir} %dir %{gem_instdir}
%{_bindir}/autotest
%{_bindir}/multigem %{_bindir}/multigem
%{_bindir}/multiruby %{_bindir}/multiruby
%{_bindir}/multiruby_setup
%{_bindir}/unit_diff %{_bindir}/unit_diff
%{_bindir}/zentest %{_bindir}/zentest
%exclude %{gem_instdir}/.* %exclude %{gem_instdir}/.*
%doc %{gem_instdir}/Manifest.txt
%doc %{gem_instdir}/README.txt %doc %{gem_instdir}/README.txt
%{gem_instdir}/bin %{gem_instdir}/bin
%{gem_libdir} %{gem_libdir}
@ -70,12 +61,16 @@ popd
%files doc %files doc
%doc %{gem_docdir} %doc %{gem_docdir}
%doc %{gem_instdir}/History.txt %doc %{gem_instdir}/History.txt
%doc %{gem_instdir}/Rakefile %{gem_instdir}/Rakefile
%doc %{gem_instdir}/Manifest.txt
%doc %{gem_instdir}/articles %doc %{gem_instdir}/articles
%doc %{gem_instdir}/example*.rb %doc %{gem_instdir}/example*.rb
%doc %{gem_instdir}/example.txt %doc %{gem_instdir}/example.txt
%doc %{gem_instdir}/test %{gem_instdir}/test
%changelog %changelog
* Tue May 17 2022 liyanan <liyanan32@h-partners.com> - 4.12.1-1
- update to 4.12.1
* Fri Aug 7 2020 yanan li <liyanan032@huawei.com> - 4.11.2-1 * Fri Aug 7 2020 yanan li <liyanan032@huawei.com> - 4.11.2-1
- Package init - Package init