Package update

This commit is contained in:
lyn1001 2022-05-17 17:31:05 +08:00
parent f85e254960
commit 361cb5d228
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
Name: rubygem-%{gem_name}
Version: 4.11.2
Version: 4.12.1
Release: 1
Summary: Automated test scaffolding for Ruby
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 -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 | \
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
pushd .%{gem_instdir}
@ -53,14 +47,11 @@ popd
%files
%dir %{gem_instdir}
%{_bindir}/autotest
%{_bindir}/multigem
%{_bindir}/multiruby
%{_bindir}/multiruby_setup
%{_bindir}/unit_diff
%{_bindir}/zentest
%exclude %{gem_instdir}/.*
%doc %{gem_instdir}/Manifest.txt
%doc %{gem_instdir}/README.txt
%{gem_instdir}/bin
%{gem_libdir}
@ -70,12 +61,16 @@ popd
%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/History.txt
%doc %{gem_instdir}/Rakefile
%{gem_instdir}/Rakefile
%doc %{gem_instdir}/Manifest.txt
%doc %{gem_instdir}/articles
%doc %{gem_instdir}/example*.rb
%doc %{gem_instdir}/example.txt
%doc %{gem_instdir}/test
%{gem_instdir}/test
%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
- Package init