> It's always been one per line, but added a note about that to the doc now.

I don't think this is correct neither comprehensible.

Let me use RubyGems requires generator as an example.

If I understand the generators correctly, the generator is called, when the 
files are processed for the (sub)package. The files, which are matched by the 
`__NAME_path` are provided on stdin for the generator.

In case of RubyGems, that should be the only *.gemspec file available in the 
package [[1]].

All the submitted files can be used for processing required by generator. In 
RubyGems, we just need to open the submitted .gemspec file and look in there 
for its dependencies. All the dependencies are later printed into output. The 
output can be multiline and it looks similarly to what would be previously 
written directly in .spec file, although the `Requires: ` is ommited.

This is the processing done for RubyGems [[2]]. This at miminum prints the 
dependency on RubyGems [[3]], which is on subsequent lines followed by all the 
other requrements which the specific package has [[4]].


[1]: https://src.fedoraproject.org/rpms/ruby/blob/master/f/rubygems.attr#_6
[2]: https://src.fedoraproject.org/rpms/ruby/blob/master/f/rubygems.req#_71
[3]: https://src.fedoraproject.org/rpms/ruby/blob/master/f/rubygems.req#_54
[4]: https://src.fedoraproject.org/rpms/ruby/blob/master/f/rubygems.req#_63

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1011#issuecomment-575105060
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to