|
|
@ -1,8 +1,11 @@
|
|
|
|
%global gem_name pry
|
|
|
|
%global gem_name pry
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Enable bootstrap until dependencies are in epel9
|
|
|
|
|
|
|
|
%global bootstrap 0
|
|
|
|
|
|
|
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Version: 0.13.1
|
|
|
|
Version: 0.13.1
|
|
|
|
Release: 7%{?dist}
|
|
|
|
Release: 7%{?dist}.1
|
|
|
|
Summary: An IRB alternative and runtime developer console
|
|
|
|
Summary: An IRB alternative and runtime developer console
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: http://pryrepl.org
|
|
|
|
URL: http://pryrepl.org
|
|
|
@ -16,11 +19,14 @@ Patch0: pry-0.13.1-Fix-broken-spec.patch
|
|
|
|
BuildRequires: ruby(release)
|
|
|
|
BuildRequires: ruby(release)
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
BuildRequires: ruby
|
|
|
|
BuildRequires: ruby
|
|
|
|
|
|
|
|
# These are for tests, disable until dependencies are in epel9
|
|
|
|
|
|
|
|
%if %{bootstrap}
|
|
|
|
BuildRequires: rubygem(bundler)
|
|
|
|
BuildRequires: rubygem(bundler)
|
|
|
|
BuildRequires: rubygem(coderay) => 1.1.0
|
|
|
|
BuildRequires: rubygem(coderay) => 1.1.0
|
|
|
|
BuildRequires: rubygem(irb)
|
|
|
|
BuildRequires: rubygem(irb)
|
|
|
|
BuildRequires: rubygem(method_source) => 0.8.1
|
|
|
|
BuildRequires: rubygem(method_source) => 0.8.1
|
|
|
|
BuildRequires: rubygem(rspec)
|
|
|
|
BuildRequires: rubygem(rspec)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
# editor specs fail if no editor is available (soft requirement)
|
|
|
|
# editor specs fail if no editor is available (soft requirement)
|
|
|
|
BuildRequires: vi
|
|
|
|
BuildRequires: vi
|
|
|
|
# https://github.com/pry/pry/pull/1498
|
|
|
|
# https://github.com/pry/pry/pull/1498
|
|
|
@ -70,6 +76,8 @@ cp -a .%{_bindir}/* \
|
|
|
|
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
|
|
|
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
|
|
|
|
# Disable tests until dependencies are in epel9
|
|
|
|
|
|
|
|
%if %{bootstrap}
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
ln -s %{_builddir}/spec spec
|
|
|
|
ln -s %{_builddir}/spec spec
|
|
|
|
|
|
|
|
|
|
|
@ -83,6 +91,7 @@ sed -i '/pry\/foo/ s/pry/pry-%{version}/' spec/cli_spec.rb
|
|
|
|
# The bundler is required just to make /spec/integration/bundler_spec.rb pass.
|
|
|
|
# The bundler is required just to make /spec/integration/bundler_spec.rb pass.
|
|
|
|
RUBYOPT=-rbundler rspec -rspec_helper spec
|
|
|
|
RUBYOPT=-rbundler rspec -rspec_helper spec
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%dir %{gem_instdir}
|
|
|
|
%dir %{gem_instdir}
|
|
|
@ -99,6 +108,9 @@ popd
|
|
|
|
%doc %{gem_instdir}/README.md
|
|
|
|
%doc %{gem_instdir}/README.md
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Jun 06 2022 Troy Dawson <tdawson@redhat.com> - 0.13.1-7.1
|
|
|
|
|
|
|
|
- Disable test dependencies and tests, until they are in epel9
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-7
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|