How is it supposed to work (taking ruby-ffi.spec as example)?

.gem itself is tar archive containing metadata.gz and data.tar.gz.
But rpm uses "gem unpack", which unpacks data.tar.gz from inside.
And build fails with:

+ cd ffi-1.9.25
+ /usr/lib/rpm/gem_helper.rb spec
/usr/lib/rpm/gem_helper.rb:77:in `open': No such file or directory @ rb_sysopen 
- metadata.gz (Errno::ENOENT)
        from /usr/lib/rpm/gem_helper.rb:77:in `<main>'

What's wrong here, how to fix it properly/nice?

I can fix the build by adding `%{__tar} xf %{SOURCE0} metadata.gz`
but I wouldn't call it nice.


-- 
Jakub Bogusz    http://qboosh.pl/
_______________________________________________
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to