diff options
author | Ken Dreyer <ktdreyer@ktdreyer.com> | 2015-04-11 09:34:51 -0600 |
---|---|---|
committer | Ken Dreyer <ktdreyer@ktdreyer.com> | 2015-04-11 09:36:37 -0600 |
commit | 4b9fe6bfff58e422628e68dc56b606b76d17df9e (patch) | |
tree | 02ecc37decdb88fa97fbb0cd3ddb988e31e74459 | |
parent | cc3a7fd8c764eccd899226d83da4868eae7df906 (diff) | |
download | rubygem-pathspec-4b9fe6bfff58e422628e68dc56b606b76d17df9e.tar.gz rubygem-pathspec-4b9fe6bfff58e422628e68dc56b606b76d17df9e.tar.xz rubygem-pathspec-4b9fe6bfff58e422628e68dc56b606b76d17df9e.zip |
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
-rw-r--r-- | rubygem-pathspec.spec | 6 |
1 files changed, 5 insertions, 1 deletions
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} |