Relax rubygem-pry dependency

This commit is contained in:
openeuler-ci-bot 2020-08-20 10:00:19 +08:00 committed by lyn1001
commit 4dbdd2c01a
3 changed files with 61 additions and 0 deletions

BIN
pry-nav-0.3.0.gem Normal file

Binary file not shown.

56
rubygem-pry-nav.spec Normal file
View File

@ -0,0 +1,56 @@
%global gem_name pry-nav
Name: rubygem-%{gem_name}
Version: 0.3.0
Release: 2
Summary: Simple execution navigation for Pry
License: MIT
URL: https://github.com/nixme/pry-nav
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
BuildArch: noarch
BuildRequires: ruby(release) rubygems-devel ruby >= 1.8.7
%description
Turn Pry into a primitive debugger. Adds 'step' and 'next' commands to control
execution.
%package doc
Summary: Documentation for %{name}
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description doc
Documentation for %{name}.
%prep
%setup -q -n %{gem_name}-%{version}
%gemspec_remove_dep -g pry "< 0.13.0"
%build
gem build ../%{gem_name}-%{version}.gemspec
%gem_install
%install
mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/
%files
%license %{gem_instdir}/LICENSE
%dir %{gem_instdir}
%{gem_libdir}
%{gem_spec}
%exclude %{gem_instdir}/.gitignore
%exclude %{gem_instdir}/pry-nav.gemspec
%exclude %{gem_cache}
%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/CHANGELOG.md
%doc %{gem_instdir}/README.md
%{gem_instdir}/Gemfile
%exclude %{gem_instdir}/Rakefile
%changelog
* Fri Mar 4 2022 yanan li <liyanan32@huawei.com> - 0.3.0-2
- Relax rubygem-pry dependency.
* Wed Jul 29 2020 yanan li <liyanan032@huawei.com> - 0.3.0-1
- Package init

5
rubygem-pry-nav.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://github.com/nixme/pry-nav.git
version_control: github
src_repo: nixme/pry-nav
tag_prefix: "^v"
seperator: "."