https://bugzilla.redhat.com/show_bug.cgi?id=1266011
Bug ID: 1266011 Summary: Review Request: ocaml-re - Pure OCaml regular expressions with support for Perl and POSIX-style strings Product: Fedora Version: rawhide Component: Package Review Severity: medium Priority: medium Assignee: nobody@fedoraproject.org Reporter: i@cicku.me QA Contact: extras-qa@fedoraproject.org CC: package-review@lists.fedoraproject.org
Spec URL: http://cicku.me/ocaml-re.spec SRPM URL: http://cicku.me/ocaml-re-1.4.1-1.fc24.src.rpm Description: Re is a regular expression library for OCaml. It has better performance comparing with PCRE in some cases.
The following styles of regular expressions are supported:
* Perl-style regular expressions; * Posix extended regular expressions; * Emacs-style regular expressions; * Shell-style file globbing.
Fedora Account System Username: cicku
https://bugzilla.redhat.com/show_bug.cgi?id=1266011
Richard Shaw hobbes1069@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |hobbes1069@gmail.com
--- Comment #1 from Richard Shaw hobbes1069@gmail.com --- Ok, this is my first ocaml review so I have a few questions...
1. Under the OCaml packaging guidelines I see there should be some macros set[1]:
%global _use_internal_dependency_generator 0 %global __find_requires /usr/lib/rpm/ocaml-find-requires.sh %global __find_provides /usr/lib/rpm/ocaml-find-provides.sh
Per the example spec file, these should go between BuildRequires and %description. Is there I reason your package doesn't need these? In the requires output from fedora-review I don't see the MD5hash as part of the requirement so I'm thinking you do need this.
2. I Don't see a "make opt" or the test at the top of the spec. Does this library not support byte-code only arches?
3. I assume these are not stripped per the OCaml guidelines[2] because they would not function?
ocaml-re.x86_64: W: unstripped-binary-or-object /usr/lib64/ocaml/re/re_str.cmxs ocaml-re.x86_64: W: unstripped-binary-or-object /usr/lib64/ocaml/re/re_glob.cmxs ocaml-re.x86_64: W: unstripped-binary-or-object /usr/lib64/ocaml/re/re_pcre.cmxs ocaml-re.x86_64: W: unstripped-binary-or-object /usr/lib64/ocaml/re/re_posix.cmxs ocaml-re.x86_64: W: unstripped-binary-or-object /usr/lib64/ocaml/re/re.cmxs ocaml-re.x86_64: W: unstripped-binary-or-object /usr/lib64/ocaml/re/re_emacs.cmxs ocaml-re.x86_64: W: unstripped-binary-or-object /usr/lib64/ocaml/re/re_perl.cmxs
[1] https://fedoraproject.org/wiki/Packaging:OCaml?rd=Packaging/OCaml#Requires_a...
[2] https://fedoraproject.org/wiki/Packaging:OCaml?rd=Packaging/OCaml#Stripping_...
https://bugzilla.redhat.com/show_bug.cgi?id=1266011
--- Comment #2 from Upstream Release Monitoring upstream-release-monitoring@fedoraproject.org --- jonludlam's scratch build of ocaml-re-1.4.1-1.fc23.src.rpm for f23 completed http://koji.fedoraproject.org/koji/taskinfo?taskID=11536753
https://bugzilla.redhat.com/show_bug.cgi?id=1266011
Ben Rosser rosser.bjr@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED CC| |rosser.bjr@gmail.com Resolution|--- |DUPLICATE Last Closed| |2018-08-23 11:37:37
--- Comment #3 from Ben Rosser rosser.bjr@gmail.com ---
*** This bug has been marked as a duplicate of bug 1174036 ***
package-review@lists.fedoraproject.org