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
or
Provides: awestruct
Then these would work:
yum install asciidoctor
yum install awestruct
Then I would be a happy packager :)
-Dan
[1]
http://pkgs.fedoraproject.org/cgit/maven-resources-plugin.git/tree/maven-...
On Thu, Mar 28, 2013 at 3:55 PM, Ken Dreyer <ktdreyer(a)ktdreyer.com> wrote:
On Thu, Mar 28, 2013 at 3:11 PM, Dan Allen
<dan.j.allen(a)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
ruby-sig(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/ruby-sig
--
Dan Allen
Principal Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597
http://google.com/profiles/dan.j.allen
http://mojavelinux.com
http://mojavelinux.com/seaminaction