Conflict requirement needs to generate dependency.
If there is only conflict requirement, this still menas that there is dependency on that package and appropriate requirement must be generated (rhbz#1561487)
This commit is contained in:
parent
793a1c3612
commit
f571c557e2
@ -1073,6 +1073,9 @@ make check TESTS="-v $DISABLE_TESTS"
|
|||||||
%{gem_dir}/specifications/xmlrpc-%{xmlrpc_version}.gemspec
|
%{gem_dir}/specifications/xmlrpc-%{xmlrpc_version}.gemspec
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 10 2018 Vít Ondruch <vondruch@redhat.com> - 2.5.1-92
|
||||||
|
- Conflict requirement needs to generate dependency.
|
||||||
|
|
||||||
* Thu Mar 29 2018 Pavel Valena <pvalena@redhat.com> - 2.5.1-92
|
* Thu Mar 29 2018 Pavel Valena <pvalena@redhat.com> - 2.5.1-92
|
||||||
- Update to Ruby 2.5.1.
|
- Update to Ruby 2.5.1.
|
||||||
|
|
||||||
|
@ -11,7 +11,13 @@ module RubyGemsReq
|
|||||||
when '~>'
|
when '~>'
|
||||||
expand_pessimistic_requirement(r)
|
expand_pessimistic_requirement(r)
|
||||||
when '!='
|
when '!='
|
||||||
[]
|
# If there is only the conflict requirement, we still need to depend
|
||||||
|
# on the specified gem.
|
||||||
|
if requirements.size == 1
|
||||||
|
Gem::Requirement.default.requirements
|
||||||
|
else
|
||||||
|
[]
|
||||||
|
end
|
||||||
else
|
else
|
||||||
[r]
|
[r]
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user