Description of problem: The rubygem-haml.spec files list VERSION and VERSION_NAME as %doc files. These files are used by the haml library during runtime for various purposes, see lib/haml/version.rb line 30/31. Normally doc files are installed, but in some cases, such as when --excludedocs is used as a flag in a kickstart file, as it normally would when creating a minimal virtual appliance with appliance-creator http://thincrust.net/kickstarts/baseAppliance-f10.ks If these files are not present at runtime haml will throw an exception and fail. eg $ haml /usr/lib/ruby/gems/1.8/gems/haml-2.2.24/bin/../lib/haml/version.rb:30:in `read': No such file or directory - /usr/lib/ruby/gems/1.8/gems/haml-2.2.24/VERSION (Errno::ENOENT) from /usr/lib/ruby/gems/1.8/gems/haml-2.2.24/bin/../lib/haml/version.rb:30:in `version' from /usr/lib/ruby/gems/1.8/gems/haml-2.2.24/bin/../lib/haml.rb:20 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/lib/ruby/gems/1.8/gems/haml-2.2.24/bin/haml:5 from /usr/bin/haml:19:in `load' from /usr/bin/haml:19 Version-Release number of selected component (if applicable): 2.2.24 Steps to Reproduce: 1. yumdownloader rubygem-haml 2. sudo rpm -ivh --excludedocs rubygem-haml-2.2.24-1.fc13.noarch.rpm 3. haml Actual results: The aforementioned error is thrown. Expected results: No error should be thrown. Haml should work as expected. Additional info: Simply removing the %doc designation from VERSION and VERSION_NAME resolves this issue
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
This was fixed a while back with this commit http://pkgs.fedoraproject.org/gitweb/?p=rubygem-haml.git;a=commitdiff;h=ad95edc852ab4a359c59350613ba1c10bc16c0c5