Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade: rubygem-flexmock version to 3.0.1 #11538

Open
wants to merge 2 commits into
base: 3.0-dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"rubygem-flexmock-2.3.6.tar.gz": "f52c6858a761ed035080a767c5ac91b65852092eacd1455425ad4c35897178fc"
"rubygem-flexmock-3.0.1.tar.gz": "6a151b5ddd1d7b88976c54ae6dc268511265c0a576e239368f869072f23a9e56"
}
}
}
91 changes: 79 additions & 12 deletions SPECS-EXTENDED/rubygem-flexmock/rubygem-flexmock.spec
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
Vendor: Microsoft Corporation
Distribution: Azure Linux
%global gem_name flexmock

Summary: Mock object library for ruby
Name: rubygem-%{gem_name}
Version: 2.3.6
Release: 8%{?dist}
Version: 3.0.1
Release: 2%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Azure Linux
URL: https://github.com/doudou/flexmock
Source0: https://github.com/doudou/%{gem_name}/archive/refs/tags/v%{version}.tar.gz#/rubygem-%{gem_name}-%{version}.tar.gz
Source0: https://github.com/doudou/%{gem_name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz

Requires: ruby(release)
BuildRequires: ruby(release)
BuildRequires: git
BuildRequires: rubygems-devel
BuildRequires: rubygem(minitest) >= 5
BuildRequires: rubygem(rspec) >= 3
BuildRequires: git
Requires: ruby(rubygems)
Provides: rubygem(%{gem_name}) = %{version}-%{release}
BuildArch: noarch
Expand Down Expand Up @@ -45,15 +45,37 @@ cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/
pushd %{buildroot}%{gem_instdir}
rm -rf \
.autotest .gitignore .togglerc .travis.yml .yardopts \
.github \
Gemfile \
Rakefile \
flexmock.blurb \
flexmock.gemspec \
install.rb
install.rb \
test/ \
%{nil}
popd

rm -f %{buildroot}%{gem_cache}

%check
cp -a flexmock/test .%{gem_instdir}
pushd .%{gem_instdir}

export RUBYOPT=-W:deprecated
export RUBYLIB=$(pwd)/lib:$(pwd):$(pwd)/test
ruby \
-e 'Dir.glob("test/*_test.rb").each {|f| require f}'

# Note: exclude failing tests for now
rspec test/rspec_integration/ \
--exclude-pattern 'test/rspec_integration/spy_example_spec.rb' \
%{nil}
popd


%files
%dir %{gem_instdir}
%license %{gem_instdir}/LICENSE.txt
%doc %{gem_instdir}/[A-Z]*

%{gem_libdir}
Expand All @@ -67,12 +89,57 @@ popd
%{gem_docdir}/

%changelog
* Mon Nov 28 2022 Muhammad Falak <[email protected]> - 2.3.6-8
- Switch to building tar.gz instead of .gem
- License verified
* Thu Dec 19 2024 Akhila Guruju <[email protected]> - 3.0.1-2
- Initial Azure Linux import from Fedora 41 (license: MIT).
- License verified.

* Wed Sep 11 2024 Mamoru TASAKA <[email protected]> - 3.0.1-1
- 3.0.1

* Tue Sep 03 2024 Mamoru TASAKA <[email protected]> - 3.0.0-1
- 3.0.0

* Fri Jul 19 2024 Fedora Release Engineering <[email protected]> - 2.3.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild

* Fri Jan 26 2024 Fedora Release Engineering <[email protected]> - 2.3.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

* Mon Jan 22 2024 Fedora Release Engineering <[email protected]> - 2.3.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

* Mon Aug 14 2023 Mamoru TASAKA <[email protected]> - 2.3.8-1
- 2.3.8

* Tue Aug 08 2023 Mamoru TASAKA <[email protected]> - 2.3.6-15
- Handle MiniTest 5.19+

* Fri Jul 21 2023 Fedora Release Engineering <[email protected]> - 2.3.6-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

* Fri Jan 20 2023 Fedora Release Engineering <[email protected]> - 2.3.6-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

* Sat Jul 23 2022 Fedora Release Engineering <[email protected]> - 2.3.6-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

* Fri Jan 21 2022 Fedora Release Engineering <[email protected]> - 2.3.6-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

* Fri Jul 23 2021 Fedora Release Engineering <[email protected]> - 2.3.6-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

* Wed Jan 27 2021 Fedora Release Engineering <[email protected]> - 2.3.6-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

* Sun Jan 24 2021 Mamoru TASAKA <[email protected]> - 2.3.6-8
- Patch to support ruby 3.0
- Use binding.source_location for test
- Properly accept argument and keywords
- Relax error message on test a bit

* Fri Oct 15 2021 Pawel Winogrodzki <[email protected]> - 2.3.6-7
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
* Wed Jul 29 2020 Fedora Release Engineering <[email protected]> - 2.3.6-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Thu Jan 30 2020 Fedora Release Engineering <[email protected]> - 2.3.6-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Expand Down
4 changes: 2 additions & 2 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -26294,8 +26294,8 @@
"type": "other",
"other": {
"name": "rubygem-flexmock",
"version": "2.3.6",
"downloadUrl": "https://github.com/doudou/flexmock/archive/refs/tags/v2.3.6.tar.gz"
"version": "3.0.1",
"downloadUrl": "https://github.com/doudou/flexmock/archive/refs/tags/v3.0.1.tar.gz"
}
}
},
Expand Down