summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTASAKA Mamoru <mtasaka@localhost.localdomain>2013-02-25 09:05:45 (GMT)
committerTASAKA Mamoru <mtasaka@localhost.localdomain>2013-02-25 09:05:45 (GMT)
commit1d350ea912e72d30c7d079449db926ed4cb652a9 (patch)
treecb73587848eda2e8b935b33e33d0dab712e4a8e8
parentccb290dbd9d8044637300512b4b29c5163224470 (diff)
downloadrubygems-1d350ea912e72d30c7d079449db926ed4cb652a9.zip
rubygems-1d350ea912e72d30c7d079449db926ed4cb652a9.tar.gz
rubygems-1d350ea912e72d30c7d079449db926ed4cb652a9.tar.xz
Split out ri-generated documentation
-rw-r--r--rubygems.spec20
1 files changed, 18 insertions, 2 deletions
diff --git a/rubygems.spec b/rubygems.spec
index 17d9006..a8e1deb 100644
--- a/rubygems.spec
+++ b/rubygems.spec
@@ -26,7 +26,7 @@ Summary: The Ruby standard for packaging ruby libraries
Name: rubygems
Version: 2.0.0
# Bump release for now
-Release: 100%{?dist}
+Release: 101%{?dist}
Group: Development/Libraries
License: Ruby or MIT
@@ -99,6 +99,16 @@ BuildArch: noarch
%description devel
Macros and development tools for packagin RubyGems.
+%package doc
+Summary: Documentation for %{name}
+Group: Development/Libraries
+License: Ruby or MIT
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+Documentation for %{name}
+
%prep
%setup -q
#%%patch0 -p1 -b .noarch
@@ -224,7 +234,6 @@ testrb test || testrb test -x test_gem_installer.rb
%dir %{gem_dir}/gems
%dir %{gem_dir}/specifications
%dir %{gem_dir}/specifications/default
-%doc %{gem_dir}/doc
%{_bindir}/gem
%dir %{rubygems_dir}/
@@ -243,7 +252,14 @@ testrb test || testrb test -x test_gem_installer.rb
%files devel
%config(noreplace) %{_sysconfdir}/rpm/macros.rubygems
+%files doc
+%doc %{gem_dir}/doc
+
+
%changelog
+* Mon Feb 25 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.0.0-101
+- Split out ri-generated documentation
+
* Mon Feb 25 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.0.0-100
- Update to 2.0.0