Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=532306 --- Comment #3 from Mamoru Tasaka <mtasaka@xxxxxxxxxxxxxxxxxxx> 2009-11-03 11:52:54 EDT --- (In reply to comment #2) > (In reply to comment #1) > > - Please create one srpm per one gem. > > These gems do not distribute very well separately, they have the same upstream > and one requires the other in a %{version}-%{release} specific manner. - Ah, I checked two gems and actually dependency is in loop... > > - Also, you must not strip rebuilt binaries and create debuginfo rpm > > correctly. Please refer to: > > > > https://fedoraproject.org/wiki/Packaging/Ruby#Ruby_Gem_with_extension_libraries_written_in_C > > I don't know how to resolve the inclusion of a reference to the buildroot in > the binary blob (I did know how to make it disappear in the included Makefile, > but not the blob): > > """ > + /usr/lib/rpm/check-buildroot > Binary file > /home/jmeeuwen/devel/rpmbuild/BUILDROOT/rubygem-ruby-debug-0.10.3-1.fc12.x86_64/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/ruby_debug.so > matches > Found > '/home/jmeeuwen/devel/rpmbuild/BUILDROOT/rubygem-ruby-debug-0.10.3-1.fc12.x86_64' > in installed files; aborting > error: Bad exit status from /var/tmp/rpm-tmp.eZZmKv (%install) > """ - The above guideline is actually for resolving this issue. The reason check-buildroot fails is that gem is installed under %buildroot directly. Also find-debuginfo rpm expects that compilation of C codes is done under %_builddir. Please follow this lines: --------------------------------------------------------------- # First, %prep stage must contain %setup -q -c -T to create the directory where C libraries are compiled. # Then at %build stage the Ruby Gem must be installed under the directory created at %prep stage to get C libraries compiled under there. --------------------------------------------------------------- For example: http://cvs.fedoraproject.org/viewvc/rpms/rubygem-hpricot/devel/rubygem-hpricot.spec?view=co -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Fedora-package-review mailing list Fedora-package-review@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-package-review