diff --git a/.gitignore b/.gitignore index 5b934d6..8354c73 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /aruba-0.6.0.gem /aruba-0.6.2.gem /aruba-0.14.2.gem +/aruba-0.14.3.gem diff --git a/rubygem-aruba.spec b/rubygem-aruba.spec index efc9b68..2edc1ad 100644 --- a/rubygem-aruba.spec +++ b/rubygem-aruba.spec @@ -3,8 +3,8 @@ Summary: CLI Steps for Cucumber, hand-crafted for you in Aruba Name: rubygem-%{gem_name} -Version: 0.14.2 -Release: 3%{?dist} +Version: 0.14.3 +Release: 1%{?dist} Group: Development/Languages # aruba itself is MIT # icons in templates/images are CC-BY @@ -46,9 +46,31 @@ Documentation for %{name} %prep %setup -q -c -T -%gem_install -n %{SOURCE0} + +# Gem repack +TOPDIR=$(pwd) +mkdir tmpunpackdir +pushd tmpunpackdir + +gem unpack %{SOURCE0} +cd %{gem_name}-%{version} + +gem specification -l --ruby %{SOURCE0} > %{gem_name}.gemspec + +# Allow childprocess 0.5.6 +sed -i \ + -e '/add_runtime_dependency.*childprocess/s|~> 0\.8\.0|>= 0.5.6|' \ + %{gem_name}.gemspec + +gem build %{gem_name}.gemspec +mv %{gem_name}-%{version}.gem $TOPDIR + +popd +rm -rf tmpunpackdir %build +%gem_install + %install mkdir -p %{buildroot}%{gem_dir} @@ -96,6 +118,9 @@ popd %{gem_instdir}/templates/ %changelog +* Sun Dec 31 2017 Mamoru TASAKA - 0.14.3-1 +- 0.14.3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.14.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild diff --git a/sources b/sources index 0f9c54c..9e1b2d0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (aruba-0.14.2.gem) = 0a7c78500a75028ea4ac4ad79034248974fa1748ead9a7e49088e66f7d7458e6bf8f98047cc8e675b2bdf4b0fecca867e685cf0faa4a6f6bee764dda165ff060 +SHA512 (aruba-0.14.3.gem) = ed429df6b187fd0299a0980ce4d3f6b26d51e14f5ce01dca633a8fabf9573595548f5b165519cff2008f303657a3cbd999d1099afe776f5803e1d16e9a078e97