Wah wah wah...I spent 45 minutes doing something that I should have done in 15 minutes using a script. 

Here's what needs to be done now:

1.  Clean my machine from all Ruby and re-install just the RPMs without the system update
2.  Build the Buildr rpm...missed that one
3.  Run RPM lint on each rpm.
4.  Go through the Ruby RPM standards and compare to SPEC files generated by gem2rpm.  Make any cleanup there.
5.  Submit to Fedora for Rawhide

6. At the same time, we need a hack for buildr to only use packages out of /usr/share/java...or we need some other hack to create a maven like repo out of those same files.  Since we don't use poms, I suspect the first option would be cleaner.

7. Create a spec file for candlepin that uses the buildr from the RPM.





On 03/31/2010 09:57 PM, Jesus M. Rodriguez wrote:
Sigh Ok, I was working on this but I'll stop now. Good job. I think Dmitri wanted to work on this too.

jesus

On Wed, Mar 31, 2010 at 9:21 PM, Adam Young <ayoung@redhat.com> wrote:
OK, gem2rpm kicks it, and hard.  I've done the following for each of the gems on the list below

(loosly speacking)

gem fetch $GEM into ~/rpmbuild/SOURCES
gem2rpm $GEM-<version>.gem -o rubygem-$gem.spec
rpmbuild rubygem-$gem.spec

I've uploaded everything to

http://admiyo.fedorapeople.org/buildr/


These need scrubbing...heck, I haven't even installed them yet.  But this is a start.  Wish Java was this simple...




On 03/31/2010 08:44 PM, Adam Young wrote:
Just doing the preliminary spike into getting buildr and candlepin to build as rpms.

Here's what I have so far:

We need to add the following gems as RPMs

  Antwrap (= 0.7.0, runtime)
echoe (>= 0, development)
fakefs (>= 0.2.1, development)
heckle (>= 1.4.3, development)
json_pure (>= 1.1.7, runtime)
  net-sftp (= 2.0.2, runtime)
  net-ssh (= 2.0.15, runtime)
prawn
prawn-format
  rjb (= 1.1.9, runtime)
rr
  rubyzip (= 0.9.1, runtime)
shoulda
spork
  xml-simple (= 1.0.12, runtime)
webmock



To generate this list, I ran 

 gem dependency buildr | cut -f1 -d\( | xargs  gem dependency | grep -v Gem | sort -u |  cut -f1 -d\(


and then kept adding on to the end

 | xargs gem dependency | grep -v Gem |  cut -f1 -d\( | sort -u | xargs  gem dependency | grep -v Gem | sort -u |  cut -f1 -d\(

Until I go no new gems.

I haven't Built a tree out of them yet.

I've attached an spreadsheet so you can see the list of dependencies that are filled as well.
_______________________________________________ candlepin mailing list candlepin@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/candlepin


_______________________________________________
candlepin mailing list
candlepin@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/candlepin


_______________________________________________ candlepin mailing list candlepin@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/candlepin