package aliases or an alternative package name for a Ruby gem

Dan Allen dan.j.allen at gmail.com
Thu Mar 28 23:12:14 UTC 2013


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-resources-plugin.spec#n44

On Thu, Mar 28, 2013 at 3:55 PM, Ken Dreyer <ktdreyer at ktdreyer.com> wrote:

> On Thu, Mar 28, 2013 at 3:11 PM, Dan Allen <dan.j.allen at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/ruby-sig/attachments/20130328/40241e04/attachment.html>


More information about the ruby-sig mailing list