https://bugzilla.redhat.com/show_bug.cgi?id=1319289
--- Comment #6 from Antonio Trande anto.trande@gmail.com --- (In reply to Mukundan Ragavan from comment #5)
There is one mistake in the spec file. You are installing the license file and immediately excluding it.
%license %{gem_instdir}/COPYING
<snip>
%exclude %{gem_instdir}/COPYING
Why?
I got rid of the exclude line and built a package. See the difference in files here -
$ diff -Nu w_excld wo_excld --- w_excld 2016-04-20 18:58:21.183113956 -0400 +++ wo_excld 2016-04-20 18:57:55.818377962 -0400 @@ -11,6 +11,7 @@ /usr/bin/review-validate /usr/bin/review-vol /usr/share/gems/gems/review-1.7.2 +/usr/share/gems/gems/review-1.7.2/COPYING /usr/share/gems/gems/review-1.7.2/ChangeLog /usr/share/gems/gems/review-1.7.2/Dockerfile /usr/share/gems/gems/review-1.7.2/Gemfile
wo_excld - package build without the exclude lien w_excld - package build with the spec linked here.
Failed attempt to not list same file two times.
-doc package will have no difference. Please fix this.
Sorry, I miss it. Fix what?