<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ralph Angenendt wrote:
<blockquote cite="mid:20081117215853.GB1392@br-online.de" type="cite">
  <pre wrap="">Matt Rose wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">requires: ruby >= 1.8.5, ruby-libs >= 1.8.5
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Are you sure about that? I only have

Requires: ruby(abi) = 1.8

in my spec (which is for 1.1.1 though)

  </pre>
</blockquote>
I don't think it actually requires ruby-libs, but the way I figure,
they're going to need the ruby stdlib if they're going to actually
install most gems.  Better to set up the expectation in advance, IMO.<br>
<br>
<blockquote cite="mid:20081117215853.GB1392@br-online.de" type="cite">
  <pre wrap=""></pre>
  <blockquote type="cite">
    <pre wrap="">Source0: %{name}-%{version}.tgz
License: GPL
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I think naming both licenses is correct here:

License: Ruby License/GPL

  </pre>
  <blockquote type="cite">
    <pre wrap="">BuildPreReq: ruby >= 1.8.5, ruby-libs >= 1.8.5
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Hmmm. Why PreReq?

I have BuildRequires: ruby, ruby-irb, ruby-rdoc in my spec.

  </pre>
</blockquote>
Because I forgot the syntax for BuildRequires<br>
<blockquote cite="mid:20081117215853.GB1392@br-online.de" type="cite">
  <pre wrap=""></pre>
  <blockquote type="cite">
    <pre wrap="">%description
Ruby Gems
    </pre>
  </blockquote>
  <pre wrap=""><!---->
RubyGems is the Ruby standard for publishing and managing third party
libraries.

Yours is a tad short :)

  </pre>
  <blockquote type="cite">
    <pre wrap="">cd $RPM_BUILD_ROOT
rm -rf %{buildroot}
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Hmmm. Either or, I think. Not both in one spec file :)
  </pre>
</blockquote>
<br>
good idea.<br>
<blockquote cite="mid:20081117215853.GB1392@br-online.de" type="cite">
  <pre wrap="">
I also have a wad of rubygems which are packaged and should be published
somewhere (like a complete rails 2.1 environment, mod_passenger and other
stuff).

Cheers,

Ralph
  </pre>
</blockquote>
we could put them up on github or I could host a publically available
subver repo for ruby gem rpms, or something.  It would be nice to have
a central repo for exactly this kind of stuff.   I wonder how hard it
would be to do a gem2rpm script, like perl has with cpan2rpm.<br>
<br>
Matt<br>
</body>
</html>