summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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