This has been very long sitting on my TODO list and today was the day. Therefore I published this tool:
https://github.com/fedora-ruby/ferut/blob/main/ruby-devel-srpm.rb
If you have not heard about "ferut", that is because I have created also the whole repository ;) It includes one additional tool:
https://github.com/fedora-ruby/ferut/blob/main/ruby-patches.sh
This serves as a tool to rebase patches included in Ruby to apply cleanly. I might publish there additional tools should I have some. Please note that there tools are "designed" to solely fulfill my needs. Therefore although I appreciate all feedback, I won't make any promises about accepting PRs or what not.
Vít
Dne 19. 11. 14 v 10:54 Vít Ondruch napsal(a):
Dne 19.11.2014 v 00:39 Ken Dreyer napsal(a):
On Tue, Nov 18, 2014 at 10:08 AM, Vít Ondruch vondruch@redhat.com wrote:
BTW I made a little script which can prepare an upstream tarball and update the ruby.spec a bit, not sure where to put it yet and what will be the future, so this is it at its temporary location:
https://gist.github.com/voxik/8fa0593faec15225ecb0
Any feedback is appreciated.
Very nice!
I generally just check this sort of thing into dist-git, alongside the .spec file, and include it as a "SourceX:" so it will ship as part of the SRPM. Perhaps name it "generate-ruby-tarball-and-update-spec.rb" or something.
Well, add this into dist-git is quite good idea. Not sure about the SRPM though ...
Vít
ruby-sig mailing list ruby-sig@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/ruby-sig