Commit Graph

9 Commits

Author SHA1 Message Date
Vít Ondruch
4d2320dc9b Fix typo
Credits goes to @ekohl for noticing this:

https://src.fedoraproject.org/rpms/ruby/pull-request/186#comment-214161
2024-09-04 12:56:13 +02:00
Vít Ondruch
bb1cbacab5 Extract composition of dependecy strings into helper. 2019-01-24 10:38:43 +01:00
Vít Ondruch
d66ece5f5d Properly generate "ruby(rubygems)" versioned dependencies. 2019-01-24 10:38:43 +01:00
Vít Ondruch
f571c557e2 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)
2018-04-10 09:53:37 +02:00
Vít Ondruch
637f46e17d Add conflicts RPM generator.
This leverages RPM Conflicts instead of expanding the version ranges,
which does not work as reliably for this purpose.
2018-02-13 13:50:15 +01:00
Vít Ondruch
75ea12f0a3 Use safe navigation operator.
This operator is available since Ruby 2.3 and we are not going to use
this generator with older Ruby.
2018-02-13 13:50:15 +01:00
Vít Ondruch
b15350c441 Use 'with' operator in RPM dependency generator. 2018-02-13 13:50:15 +01:00
Vít Ondruch
699faa5e25 Fix typo. 2014-04-07 14:47:45 +02:00
Vít Ondruch
724ffdbb53 Add RPM dependency generators for RubyGems. 2014-03-03 17:54:50 +01:00