This commit is contained in:
Mamoru TASAKA 2022-02-10 12:32:36 +09:00
parent 62f2d363e7
commit c0deabd44b
2 changed files with 12 additions and 8 deletions

View File

@ -1,13 +1,13 @@
%global majorver 3.10.2
%global majorver 3.11.0
#%%global preminorver .rc6
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
%global fullver %{majorver}%{?preminorver}
%global fedorarel 2
%global fedorarel 1
%global gem_name rspec-expectations
%global need_bootstrap_set 0
%bcond_without bootstrap
%undefine __brp_mangle_shebangs
@ -25,7 +25,7 @@ Source2: rspec-related-create-full-tarball.sh
#BuildRequires: ruby(release)
BuildRequires: rubygems-devel
%if 0%{?need_bootstrap_set} < 1
%if %{without bootstrap}
BuildRequires: rubygem(rspec)
BuildRequires: rubygem(rake)
# Some features in expectations needs this
@ -66,10 +66,11 @@ cp -a .%{gem_dir}/* \
# cleanups
rm -f %{buildroot}%{gem_instdir}/{.document,.yardopts}
%if 0%{?need_bootstrap_set} < 1
%check
%if %{without bootstrap}
LANG=C.UTF-8
ruby -rrubygems -Ilib/ -S rspec spec/
export RUBYLIB=$(pwd)/lib
rspec spec/
# Skip one failing scenario, needs investigating...
sed -i features/built_in_matchers/include.feature -e '\@skip-on-fedora@d'
@ -97,6 +98,9 @@ cucumber \
%{gem_docdir}
%changelog
* Thu Feb 10 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.11.0-1
- 3.11.0
* Sun Jan 30 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.10.2-2
- BR: rubygem(rake) for check

View File

@ -1,2 +1,2 @@
SHA512 (rspec-expectations-3.10.2.gem) = b01a2fbee344c4094de6e23e78a5533920c05ad60a9a990237d77c4b3376f14e7b3adbc2dea013c539f9ee627ae887e40678a15dee89b4c64c5c8c1c40f826ca
SHA512 (rubygem-rspec-expectations-3.10.2-full.tar.gz) = 06e123bd691fb4627f4ed2c7f1342101a780aefbadc23565a2a62473acf2ad5d79cf4515dd32f20d7a255e37b6c992c30005228eb80605cfc84918e6d6390552
SHA512 (rspec-expectations-3.11.0.gem) = b3797f6b7b591dc78704051749bebbaf34827b72d5f09139bb413bdfb6f96dc0d5ade9111f4cdb7ee07a22affcc057214d8baa7c48ba93c1950a85561a1dbd5e
SHA512 (rubygem-rspec-expectations-3.11.0-full.tar.gz) = 72f34fe54a66cb096ed82c485ef75373e17b9f90a717c5b35c0f0b628898f00c187df27e4f4216fa1a3f9a35628b713de7f3768fe349b2afaaa8491ec4cb4977