| |
@@ -2,8 +2,8 @@
|
| |
%global gem_name sdoc
|
| |
|
| |
Name: rubygem-%{gem_name}
|
| |
- Version: 1.0.0
|
| |
- Release: 7%{?dist}
|
| |
+ Version: 2.2.0
|
| |
+ Release: 1%{?dist}
|
| |
Summary: RDoc generator to build searchable HTML documentation for Ruby code
|
| |
# License needs to take RDoc and Darkfish into account apparantly
|
| |
# https://github.com/voloko/sdoc/issues/27
|
| |
@@ -15,9 +15,6 @@
|
| |
# https://github.com/voloko/sdoc/pull/49
|
| |
Source1: sdoc.1
|
| |
Source2: sdoc-merge.1
|
| |
- # Fix sdoc --version to return the correct version
|
| |
- # https://github.com/zzak/sdoc/issues/125
|
| |
- Patch0: rubygem-sdoc-version-option-fix.patch
|
| |
# JSON dependency is still required, although upstream dopped the referrence.
|
| |
# https://github.com/zzak/sdoc/commit/c28efc8d4ebe0a50ed1072f3e4041657b149b634
|
| |
Requires: rubygem(json)
|
| |
@@ -42,9 +39,6 @@
|
| |
%prep
|
| |
%setup -q -n %{gem_name}-%{version}
|
| |
|
| |
- %patch0 -p1
|
| |
-
|
| |
-
|
| |
%build
|
| |
gem build ../%{gem_name}-%{version}.gemspec
|
| |
%gem_install
|
| |
@@ -71,22 +65,22 @@
|
| |
# Get rid of Bundler
|
| |
sed -i "/require 'bundler\/setup'/ s/^/#/" ./spec/spec_helper.rb
|
| |
|
| |
- ruby -Ilib:spec -e 'Dir.glob "./spec/*.rb", &method(:require)'
|
| |
+ RUBYOPT='-Ilib:spec' \
|
| |
+ ruby -e 'Dir.glob "./spec/*.rb", &method(:require)'
|
| |
popd
|
| |
|
| |
%files
|
| |
%dir %{gem_instdir}
|
| |
%{_bindir}/sdoc
|
| |
%{_bindir}/sdoc-merge
|
| |
- %exclude %{gem_instdir}/.gitignore
|
| |
- %exclude %{gem_instdir}/.travis.yml
|
| |
+ %exclude %{gem_instdir}/.*
|
| |
%license %{gem_instdir}/LICENSE
|
| |
%{gem_instdir}/bin
|
| |
%{gem_libdir}
|
| |
%exclude %{gem_cache}
|
| |
+ %exclude %{gem_instdir}/config.ru
|
| |
+ %exclude %{gem_instdir}/netlify.toml
|
| |
%{gem_spec}
|
| |
- %doc %{_mandir}/man1/sdoc-merge.1*
|
| |
- %doc %{_mandir}/man1/sdoc.1*
|
| |
|
| |
%files doc
|
| |
%doc %{gem_docdir}
|
| |
@@ -96,8 +90,15 @@
|
| |
%{gem_instdir}/Rakefile
|
| |
%{gem_instdir}/sdoc.gemspec
|
| |
%{gem_instdir}/spec
|
| |
+ %doc %{_mandir}/man1/sdoc-merge.1*
|
| |
+ %doc %{_mandir}/man1/sdoc.1*
|
| |
|
| |
%changelog
|
| |
+ * Fri Jun 04 2021 Pavel Valena <pvalena@redhat.com> - 2.2.0-1
|
| |
+ - Update to sdoc 2.2.0.
|
| |
+ Resolves: rhbz#1813607
|
| |
+ - Move manual pages into doc subpackage.
|
| |
+
|
| |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-7
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
| |
|
| |
To have latest sdoc gem in Fedora.
TBD
Update log: https://git.io/JkQbf