Package init
This commit is contained in:
parent
9608e31ef1
commit
03408fc4c9
BIN
multi_test-0.1.2.gem
Normal file
BIN
multi_test-0.1.2.gem
Normal file
Binary file not shown.
68
rubygem-multi_test.spec
Normal file
68
rubygem-multi_test.spec
Normal file
@ -0,0 +1,68 @@
|
||||
%global gem_name multi_test
|
||||
Name: rubygem-multi_test
|
||||
Version: 0.1.2
|
||||
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}/
|
||||
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
popd
|
||||
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
%exclude %{gem_instdir}/.travis.yml
|
||||
%license %{gem_instdir}/LICENSE
|
||||
%{gem_libdir}
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
|
||||
%files doc
|
||||
%doc %{gem_docdir}
|
||||
%doc %{gem_instdir}/History.md
|
||||
%doc %{gem_instdir}/README.md
|
||||
%{gem_instdir}/Makefile
|
||||
%{gem_instdir}/Rakefile
|
||||
%exclude %{gem_instdir}/multi_test.gemspec
|
||||
%{gem_instdir}/test
|
||||
|
||||
%changelog
|
||||
* Mon July 27 2020 yaokai <yaokai13@huawei.com> - 0.1.2-1
|
||||
- Package init
|
||||
5
rubygem-multi_test.yaml
Normal file
5
rubygem-multi_test.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
git_url: https://github.com/cucumber/multi_test
|
||||
version_control: github
|
||||
src_repo: cucumber/multi_test
|
||||
tag_prefix: "^v"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user