I'm seeing the following message in the build failure in the gem I
maintain, asciidoctor:
+ rm Rakefile
+ sed -i 's|"Rakefile",||g' asciidoctor.gemspec
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0fctL3
+ umask 022
+ cd /builddir/build/BUILD
+ cd asciidoctor-1.5.4
+ gem build asciidoctor.gemspec
WARNING: See
http://guides.rubygems.org/specification-reference/ for help
ERROR: While executing gem ... (Gem::InvalidSpecificationException)
["Rakefile"] are not files
That sed expression is highly dependent on how files are specified in a
gemspec, and it doesn't match how the asciidoctor gemspec defines files.
Can this alteration be updated to be more robust?
One way would be to look for the files assignment and subtract an entry
from it. Something like:
sed -i "s|\.files *=.*|& - ['Rakefile']|" asciidoctor.gemspec
Until this is fixed, my gem is going to fail in rawhide because I can't
change the already released gem. I suspect there are others that are
failing as well.
-Dan
--
Dan Allen | @mojavelinux |
https://twitter.com/mojavelinux