summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Dreyer <ktdreyer@ktdreyer.com>2015-04-11 09:38:17 -0600
committerKen Dreyer <ktdreyer@ktdreyer.com>2015-04-11 09:40:33 -0600
commit211260dcf4d71c3411262fa50b91f37a22456ef8 (patch)
tree21b7c6d065053f9666cd2fe18f6e11522e14e0d9
parent4b9fe6bfff58e422628e68dc56b606b76d17df9e (diff)
downloadrubygem-pathspec-211260dcf4d71c3411262fa50b91f37a22456ef8.zip
rubygem-pathspec-211260dcf4d71c3411262fa50b91f37a22456ef8.tar.gz
rubygem-pathspec-211260dcf4d71c3411262fa50b91f37a22456ef8.tar.xz
move %{gem_docdir} to -doc subpackage
See https://bugzilla.redhat.com/1210826
-rw-r--r--rubygem-pathspec.spec14
1 files changed, 13 insertions, 1 deletions
diff --git a/rubygem-pathspec.spec b/rubygem-pathspec.spec
index 58d8eb2..228f040 100644
--- a/rubygem-pathspec.spec
+++ b/rubygem-pathspec.spec
@@ -16,6 +16,16 @@ BuildRequires: rubygems-devel
Use to match path patterns such as gitignore.
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+Documentation for %{name}.
+
+
%prep
gem unpack %{SOURCE0}
%setup -q -D -T -n %{gem_name}-%{version}
@@ -40,9 +50,11 @@ cp -a ./%{gem_dir}/* %{buildroot}%{gem_dir}/
%doc %{gem_instdir}/README.md
%{gem_libdir}
%{gem_cache}
-%{gem_docdir}
%{gem_spec}
+%files doc
+%doc %{gem_docdir}
+
%changelog
* Fri Apr 10 2015 Orion Poplawski <orion@cora.nwra.com> - 0.0.2-1