Aha! That's exactly what I was looking for.

I found an example that fits very close to my use case (from the Java packages).

The maven-resources-plugin declares that it provides maven2-plugin-resources [1]. Perhaps the latter is an old name, or something people tend to call it. Either way, this works:

yum install maven2-plugin-resources

That would mean that if I had:

Provides: asciidoctor


Provides: awestruct

Then these would work:

yum install asciidoctor
yum install awestruct

Then I would be a happy packager :)


[1] http://pkgs.fedoraproject.org/cgit/maven-resources-plugin.git/tree/maven-resources-plugin.spec#n44

On Thu, Mar 28, 2013 at 3:55 PM, Ken Dreyer <ktdreyer@ktdreyer.com> wrote:
On Thu, Mar 28, 2013 at 3:11 PM, Dan Allen <dan.j.allen@gmail.com> wrote:
> Is it possible to have
> an alias package in this case like in Debian where it will install
> rubygem-asciidoctor when you request asciidoctor?

I would love to see this for some other utility gems as well, like
"gem2rpm" or "puppet-lint". It would be nice if we allowed a simple
"Provides:" for these cases.

- Ken
ruby-sig mailing list

Dan Allen
Principal Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597