This commit is contained in:
Mamoru TASAKA 2023-03-14 16:06:16 +09:00
parent a21d562ba0
commit 782f500451
2 changed files with 12 additions and 4 deletions

View File

@ -1,9 +1,9 @@
%global majorver 3.12.3 %global majorver 3.12.4
#%%global preminorver .rc6 #%%global preminorver .rc6
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
%global fullver %{majorver}%{?preminorver} %global fullver %{majorver}%{?preminorver}
%global baserelease 2 %global baserelease 1
%global gem_name rspec-mocks %global gem_name rspec-mocks
@ -16,6 +16,7 @@ Name: rubygem-%{gem_name}
Version: %{majorver} Version: %{majorver}
Release: %{?preminorver:0.}%{baserelease}%{?preminorver:%{rpmminorver}}%{?dist} Release: %{?preminorver:0.}%{baserelease}%{?preminorver:%{rpmminorver}}%{?dist}
# SPDX confirmed
License: MIT License: MIT
URL: http://github.com/rspec/rspec-mocks URL: http://github.com/rspec/rspec-mocks
Source0: https://rubygems.org/gems/%{gem_name}-%{fullver}.gem Source0: https://rubygems.org/gems/%{gem_name}-%{fullver}.gem
@ -92,6 +93,10 @@ rm -f %{buildroot}%{gem_instdir}/{.document,.yardopts}
exit 0 exit 0
%endif %endif
# Don't call bundler
sed -i spec/integration/rails_support_spec.rb \
-e 's|bundle exec rspec|rspec|'
# library_wide_checks.rb needs UTF-8 # library_wide_checks.rb needs UTF-8
LANG=C.UTF-8 LANG=C.UTF-8
export RUBYLIB=$(pwd)/lib export RUBYLIB=$(pwd)/lib
@ -120,6 +125,9 @@ cucumber
%{gem_docdir} %{gem_docdir}
%changelog %changelog
* Tue Mar 14 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.12.4-1
- 3.12.4
* Thu Mar 09 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 3.12.3-2 * Thu Mar 09 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 3.12.3-2
- Disable unwanted dependencies in RHEL builds - Disable unwanted dependencies in RHEL builds

View File

@ -1,2 +1,2 @@
SHA512 (rspec-mocks-3.12.3.gem) = a4a02d11f41448d9518b736f9d73641c259b6e2872c8b13208db3d1c9b488735e60f6087dfc53b42ed973e87a2c4befe77b8c348a124dd39fe2ed759a09189ee SHA512 (rspec-mocks-3.12.4.gem) = 0662dff9279bf16fcc3c63801b72db4702f2a3bcf8884cb07006a8a45016bdf746cf656d03433ac83d26dc53bf36f5cf02e578199c481b84a3b88235c9747300
SHA512 (rubygem-rspec-mocks-3.12.3-full.tar.gz) = 7b18c321c9562d7a642bb37a8bb724f86ef6f51c56b6c634ec01056285919467818bff58a7cf986b9c33d26cf0dc99aaff67f65a758975dfcc40751bc7f0d642 SHA512 (rubygem-rspec-mocks-3.12.4-full.tar.gz) = 125a3a0028632af8a5c8d2f46fa8bab8e41c95ddf6ec5d25ccda326ce769bf5e4cf792899758e946b064c9c91f80aad163cb8cc29bcd07a6846dd7f635b8ccc8