Split documentation into -doc subpackage.
This commit is contained in:
parent
65cb15b936
commit
dcc9bf3235
38
ruby.spec
38
ruby.spec
@ -56,7 +56,7 @@ Version: %{ruby_version_patch_level}
|
|||||||
# we cannot reset the release number to 1 even when the main (ruby) version
|
# we cannot reset the release number to 1 even when the main (ruby) version
|
||||||
# is updated - because it may be that the versions of sub-components don't
|
# is updated - because it may be that the versions of sub-components don't
|
||||||
# change.
|
# change.
|
||||||
Release: 16%{?dist}
|
Release: 17%{?dist}
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
# Public Domain for example for: include/ruby/st.h, strftime.c, ...
|
# Public Domain for example for: include/ruby/st.h, strftime.c, ...
|
||||||
License: (Ruby or BSD) and Public Domain
|
License: (Ruby or BSD) and Public Domain
|
||||||
@ -211,16 +211,26 @@ Provides: ri = %{version}-%{release}
|
|||||||
Provides: rubygem(rdoc) = %{version}-%{release}
|
Provides: rubygem(rdoc) = %{version}-%{release}
|
||||||
Obsoletes: ruby-rdoc < %{version}
|
Obsoletes: ruby-rdoc < %{version}
|
||||||
Obsoletes: ruby-ri < %{version}
|
Obsoletes: ruby-ri < %{version}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n rubygem-rdoc
|
||||||
|
RDoc produces HTML and command-line documentation for Ruby projects. RDoc
|
||||||
|
includes the 'rdoc' and 'ri' tools for generating and displaying online
|
||||||
|
documentation.
|
||||||
|
|
||||||
|
|
||||||
|
%package doc
|
||||||
|
Summary: Documentation for %{name}
|
||||||
|
Group: Documentation
|
||||||
|
Requires: %{_bindir}/ri
|
||||||
# TODO: It seems that ri documentation differs from platform to platform due to
|
# TODO: It seems that ri documentation differs from platform to platform due to
|
||||||
# some encoding bugs, therefore the documentation should be split out of this gem
|
# some encoding bugs, therefore the documentation should be split out of this gem
|
||||||
# or kept platform specific.
|
# or kept platform specific.
|
||||||
# https://github.com/rdoc/rdoc/issues/71
|
# https://github.com/rdoc/rdoc/issues/71
|
||||||
# BuildArch: noarch
|
# BuildArch: noarch
|
||||||
|
|
||||||
%description -n rubygem-rdoc
|
%description doc
|
||||||
RDoc produces HTML and command-line documentation for Ruby projects. RDoc
|
This package contains documentation for %{name}.
|
||||||
includes the 'rdoc' and 'ri' tools for generating and displaying online
|
|
||||||
documentation.
|
|
||||||
|
|
||||||
|
|
||||||
%package -n rubygem-bigdecimal
|
%package -n rubygem-bigdecimal
|
||||||
@ -465,15 +475,8 @@ make check TESTS="-v $DISABLE_TESTS"
|
|||||||
%files
|
%files
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%lang(ja) %doc COPYING.ja
|
%lang(ja) %doc COPYING.ja
|
||||||
%doc ChangeLog
|
|
||||||
%doc GPL
|
%doc GPL
|
||||||
%doc LEGAL
|
%doc LEGAL
|
||||||
%doc NEWS
|
|
||||||
%doc README
|
|
||||||
%lang(ja) %doc README.ja
|
|
||||||
%doc ToDo
|
|
||||||
%doc doc/ChangeLog-*
|
|
||||||
%doc doc/NEWS-*
|
|
||||||
%{_bindir}/erb
|
%{_bindir}/erb
|
||||||
%{_bindir}/ruby
|
%{_bindir}/ruby
|
||||||
%{_bindir}/testrb
|
%{_bindir}/testrb
|
||||||
@ -691,6 +694,14 @@ make check TESTS="-v $DISABLE_TESTS"
|
|||||||
%{gem_dir}/gems/rdoc-%{rdoc_version}
|
%{gem_dir}/gems/rdoc-%{rdoc_version}
|
||||||
%{gem_dir}/specifications/rdoc-%{rdoc_version}.gemspec
|
%{gem_dir}/specifications/rdoc-%{rdoc_version}.gemspec
|
||||||
%{_mandir}/man1/ri*
|
%{_mandir}/man1/ri*
|
||||||
|
|
||||||
|
%files doc
|
||||||
|
%doc NEWS
|
||||||
|
%doc README
|
||||||
|
%lang(ja) %doc README.ja
|
||||||
|
%doc ChangeLog
|
||||||
|
%doc doc/ChangeLog-*
|
||||||
|
%doc doc/NEWS-*
|
||||||
%{_datadir}/ri
|
%{_datadir}/ri
|
||||||
|
|
||||||
%files -n rubygem-bigdecimal
|
%files -n rubygem-bigdecimal
|
||||||
@ -726,6 +737,9 @@ make check TESTS="-v $DISABLE_TESTS"
|
|||||||
%{ruby_libdir}/tkextlib
|
%{ruby_libdir}/tkextlib
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 06 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.194-17
|
||||||
|
- Split documentation into -doc subpackage.
|
||||||
|
|
||||||
* Tue Aug 14 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.194-16
|
* Tue Aug 14 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.194-16
|
||||||
- Revert the dependency of ruby-libs on rubygems (rhbz#845011, rhbz#847482).
|
- Revert the dependency of ruby-libs on rubygems (rhbz#845011, rhbz#847482).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user