init package
This commit is contained in:
parent
577aef7206
commit
e383ed651a
BIN
cucumber-tag_expressions-1.1.1.gem
Normal file
BIN
cucumber-tag_expressions-1.1.1.gem
Normal file
Binary file not shown.
58
rubygem-cucumber-tag_expressions.spec
Normal file
58
rubygem-cucumber-tag_expressions.spec
Normal file
@ -0,0 +1,58 @@
|
||||
%global gem_name cucumber-tag_expressions
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 1.1.1
|
||||
Release: 1
|
||||
Summary: Cucumber tag expressions for ruby
|
||||
License: MIT
|
||||
URL: https://cucumber.io/docs/cucumber/api/#tag-expressions
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
BuildRequires: ruby(release) rubygems-devel ruby rubygem-rspec-core rubygem-rspec-expectations
|
||||
BuildArch: noarch
|
||||
%description
|
||||
Cucumber tag expressions for ruby.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{gem_name}-%{version}
|
||||
|
||||
%build
|
||||
gem build ../%{gem_name}-%{version}.gemspec
|
||||
%gem_install
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{gem_dir}
|
||||
cp -a .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
cp -a .%{_bindir}/* \
|
||||
%{buildroot}%{_bindir}/
|
||||
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
||||
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
rspec spec
|
||||
popd
|
||||
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
%{_bindir}/cucumber-tag-expressions
|
||||
%license %{gem_instdir}/LICENSE
|
||||
%{gem_instdir}/bin
|
||||
%{gem_libdir}
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
|
||||
%files doc
|
||||
%doc %{gem_docdir}
|
||||
%doc %{gem_instdir}/README.md
|
||||
%{gem_instdir}/spec
|
||||
|
||||
%changelog
|
||||
* Thu Aug 20 2020 fanjiachen <fanjiachen3@huawei.com> - 1.1.1-1
|
||||
- package init
|
||||
4
rubygem-cucumber-tag_expressions.yaml
Normal file
4
rubygem-cucumber-tag_expressions.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: cucumber/tag-expressions-ruby
|
||||
tag_prefix: "v"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user