Bug 1489845

Summary: Add dependency on "git" binary
Product: [Fedora] Fedora Reporter: Vít Ondruch <vondruch>
Component: rubygem-gitAssignee: Jeroen van Meeuwen <vanmeeuwen+fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mastahnke, steve.traylen, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-git-1.3.0-1.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-15 17:42:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vít Ondruch 2017-09-08 13:17:31 UTC
Description of problem:
Since this is wrapper above "git" binary, there should be "Requires: %{_bindir}/git"

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
$ rpm -q git-core rubygem-git
package git-core is not installed
rubygem-git-1.2.5-9.fc21.noarch

$ irb
irb(main):001:0> require 'git'
Git::GitExecuteError: git version   2>&1:sh: git: command not found
	from /usr/share/gems/gems/git-1.2.5/lib/git/lib.rb:700:in `command'
	from /usr/share/gems/gems/git-1.2.5/lib/git/lib.rb:649:in `current_command_version'
	from /usr/share/gems/gems/git-1.2.5/lib/git/lib.rb:659:in `meets_required_version?'
	from /usr/share/gems/gems/git-1.2.5/lib/git.rb:30:in `<top (required)>'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:133:in `require'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:133:in `rescue in require'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:40:in `require'
	from (irb):1
	from /usr/bin/irb:11:in `<main>'



Expected results:
$ rpm -q git-core rubygem-git
git-core-2.14.1-2.fc27.x86_64
rubygem-git-1.2.5-9.fc21.noarch

$ irb
irb(main):001:0> require 'git'
=> true


Additional info:

Comment 1 Fedora Update System 2017-11-03 09:09:14 UTC
rubygem-git-1.3.0-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-473d857cdf

Comment 2 Fedora Update System 2017-11-04 18:03:46 UTC
rubygem-git-1.3.0-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-473d857cdf

Comment 3 Fedora Update System 2017-11-15 17:42:14 UTC
rubygem-git-1.3.0-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.