I wish to generate a list of Perl modules an rpm provides in the spec file. It's not clear from the manuals how one does this. How does one set a field from a shell command? And how does one specify multiple values from one command? Something like...
Provides: $(some_program_which_figures_out_what_the_package_provides)
What is the correct syntax to run a program to populate the tag, and what should the program return?