 |
Posted By: David Lutterkort
Date: 2006-12-12 20:35
Summary: ruby-rpm 1.2.1 released
Project: Ruby RPM bindings
This is the initial release from ruby-rpm's new home ; it consolidates all the patches that have been floating around over the years. |
|
Forums |
Admin Start New Thread
By: David Lutterkort
RE: Gem Support [ reply ] 2007-03-21 20:52
|
Hi,
sorry I didn't see your messages any earlier - for some reason they aren't forwarded by email.
I'll try and incorporate gem support into the Rakefile; I agree that the current install.rb based build is kinda ugly.
To make sure I see messages in the future, it's best if you send them to the mailing list.
thanks though,
David
|
By: S. Potter
RE: Gem Support [ reply ] 2007-01-18 18:24
|
|
I apologize, I guess I didn't cd out of the installation directory with the rpmmodule.so when testing the Gem install in irb, so I thought the GemSpec above took care of including the native library, but I was wrong. When I get time to figure this out I will post a worthy GemSpec here again for your project.
|
By: S. Potter
Gem Support [ reply ] 2007-01-18 17:44
|
Please add Gem Support for future releases of ruby-rpm, because proprietary scripts to install Ruby libraries is unmaintainable for system administrators. I wrote a simple GemSpec (see below), which you are welcome to use in your open source project:
---file: ruby-rpm.gemspec----
Gem::Specification.new do |s|
s.name = 'ruby-rpm'
s.version = '1.2.1'
s.platform = Gem::Platform::RUBY
s.summary = "Ruby RPM Binding"
s.files = Dir.glob("{doc,lib,spec,tests}/**/*")
s.files << "README"
s.files << "COPYING"
s.require_path = 'lib'
s.autorequire = 'ruby-rpm'
s.has_rdoc = true
s.test_suite_file = 'tests/runner.rb'
s.rubyforge_project = 'ruby-rpm'
s.extensions = ['ext/rpm/extconf.rb']
end
|
|
 |