代码拉取完成,页面将自动刷新
%global gem_name multi_test
Name: rubygem-multi_test
Version: 1.1.0
Release: 1
Summary: Wafter-thin gem to disable autorun of various testing libraries
License: MIT
URL: http://cukes.info
Source0: https://rubygems.org/gems/multi_test-%{version}.gem
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
BuildRequires: ruby
BuildArch: noarch
%description
multi_test gives a uniform interface onto whatever testing library has been
loaded into a running Ruby process. It can be used to clobber autorun behaviour
from older versions of Test::Unit that automatically hook in when the user
requires them.
%package doc
Summary: Documentation for rubygem-multi_test
Requires: rubygem-multi_test = %{version}-%{release}
BuildArch: noarch
%description doc
Documentation for rubygem-multi_test.
%prep
gem unpack %{SOURCE0}
%setup -q -D -T -n multi_test-%{version}
gem spec %{SOURCE0} -l --ruby > multi_test.gemspec
%build
gem build multi_test.gemspec
%gem_install
%install
mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
rm -rf %{buildroot}%{gem_instdir}/.github
rm -rf %{buildroot}%{gem_instdir}/.whitesource
%check
pushd .%{gem_instdir}
popd
%files
%dir %{gem_instdir}
%exclude %{gem_instdir}/.travis.yml
%license %{gem_instdir}/LICENSE
%doc %{gem_instdir}/CHANGELOG.md
%doc %{gem_instdir}/VERSION
%{gem_libdir}
%exclude %{gem_cache}
%{gem_spec}
%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/README.md
%{gem_instdir}/Makefile
%exclude %{gem_instdir}/multi_test.gemspec
%{gem_instdir}/test-all
%{gem_instdir}/test-gemfile
%changelog
* Thu Jun 30 2022 xu_ping <[email protected]> - 1.1.0-1
- Upgrade 1.1.0
* Mon Jul 27 2020 yaokai <[email protected]> - 0.1.2-1
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。