Spec URL: http://data-strzibny.rhcloud.com/rubygem-sdoc.spec SRPM URL: http://kojipkgs.fedoraproject.org//work/tasks/1123/5691123/rubygem-sdoc-0.3.20-1.fc20.src.rpm Description: SDoc is simply a wrapper for the rdoc command line tool. Fedora Account System Username: jstribny Koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=5691122 This is needed to generate a new Rails 4.0 application using `rails new` command.
taking
* description should end with dot (-doc subpackage). * [Build]Requires: ruby(rubygems) >= 1.3.6 Why is there the version? IMO you can remove the version safely. * Files: %{_bindir}/sdoc %{_bindir}/sdoc-merge are missing man page. Please either write man page yourself or file issue with upstream. If you are not familier with man pages, I highly recommend asciidoc, where you can create man page very fast. Beside this I see no problems.
All fixed: Koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=5788826 Upstream pull request: https://github.com/voloko/sdoc/pull/49
I would prefer rather if you would include those .asciidoc files. That would mean that you have to: BuildRequires: asciidoc BuildRequires: libxslt #if you plan to build for el5 %if 0%{?rhel} && 0%{?rhel} < 6 BuildRequires: docbook-style-xsl %endif %build a2x -d manpage -f manpage FOO.1.asciidoc Additionally %files section should be: %doc %{_mandir}/man1/sdoc-merge.1* %doc %{_mandir}/man1/sdoc.1* as the extension can be changed in future to something else (e.g .xz) warning: bogus date in %changelog: Wed Aug 06 2013 Josef Stribny <jstribny> - 0.3.20-2 Aug 06 was not Wednesday. rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/rails/resources/js/highlight.pack.js rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/rails/resources/panel/index.html rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/sdoc/resources/js/main.js rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/rails/_context.rhtml rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/rails/resources/js/jquery-effect.js rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/sdoc/resources/css/reset.css rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/sdoc/resources/js/jquery-1.3.2.min.js rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/rails/resources/css/main.css rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/sdoc/index.rhtml rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/sdoc/resources/panel/index.html rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/rails/file.rhtml rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/rails/resources/js/searchdoc.js rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/rails/class.rhtml rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/sdoc/resources/css/panel.css rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/sdoc/resources/js/highlight.pack.js rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/rails/resources/js/main.js rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/sdoc/_context.rhtml rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/sdoc/resources/css/main.css rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/rails/resources/js/jquery-1.3.2.min.js rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/rails/index.rhtml rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/sdoc/resources/js/jquery-effect.js rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/sdoc/file.rhtml rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/sdoc/class.rhtml rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/sdoc/resources/js/searchdoc.js rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/rails/resources/css/reset.css rubygem-sdoc.noarch: E: script-without-shebang /usr/share/gems/gems/sdoc-0.3.20/lib/rdoc/generator/template/rails/resources/css/panel.css You should probably chmod a-x on these files. Requires: rubygem(rdoc) => 3.10 Requires: rubygem(rdoc) < 4 This deps could not be met on current Fedora as in Fedora is: rubygem-rdoc-4.0.1-2.fc20
Good catch, there is an upstream issue[1] and pull request to handle this, but I can't say it's everything to be done. Let's see if it's merged in upstream, then it can be added as a patch. [1] https://github.com/voloko/sdoc/pull/48
So I made a release candidate in the end to get this review going. You can read my post upstream [1] to see what have I done to make this work. I tested this package with RDoc 4.0 generating Rails api doc as well as a huge documentation for Katello project as a simple test whether the package work. When an official release it's ready, I will immediately update the package to reflect that. Koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=6144453 SRPM: http://kojipkgs.fedoraproject.org//work/tasks/4453/6144453/rubygem-sdoc-0.4.0-0.1.rc1.fc21.src.rpm [1] https://github.com/voloko/sdoc/pull/48#issuecomment-27887125
I would rather prefer to use: %doc %{_mandir}/man1/sdoc-merge.1* %doc %{_mandir}/man1/sdoc.1* and put README.md in main package. But that is just about preferences. Everything else is good. APPROVED.
Thank you for the review. New Package SCM Request ======================= Package Name: rubygem-sdoc Short Description: RDoc generator to build searchable HTML documentation for Ruby code Owners: jstribny Branches: InitialCC:
Git done (by process-git-requests).
Already imported into Fedora.