From 4b9fe6bfff58e422628e68dc56b606b76d17df9e Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Sat, 11 Apr 2015 09:34:51 -0600 Subject: mark doc files as %doc Prior to this commit, the %files list has the entire "%{gem_instdir}" directory. This means that CHANGELOG.md, LICENSE, and README.md shipped in /usr/share/gems/gems/pathspec-0.0.2/, but these are not marked as %doc. Use %{gem_libdir} instead. See comment at https://bugzilla.redhat.com/show_bug.cgi?id=1210826#c1 --- rubygem-pathspec.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rubygem-pathspec.spec b/rubygem-pathspec.spec index d4e4d33..58d8eb2 100644 --- a/rubygem-pathspec.spec +++ b/rubygem-pathspec.spec @@ -34,9 +34,13 @@ cp -a ./%{gem_dir}/* %{buildroot}%{gem_dir}/ %files %license LICENSE +%dir %{gem_instdir} +%license %{gem_instdir}/LICENSE +%doc %{gem_instdir}/CHANGELOG.md +%doc %{gem_instdir}/README.md +%{gem_libdir} %{gem_cache} %{gem_docdir} -%{gem_instdir} %{gem_spec} -- cgit