[Bug 458367] Review Request: ocaml-ocamlgraph - OCaml library for arc and node graphs
bugzilla at redhat.com
bugzilla at redhat.com
Thu Aug 7 21:50:35 UTC 2008
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=458367
--- Comment #2 from David A. Wheeler <dwheeler at dwheeler.com> 2008-08-07 17:50:34 EDT ---
Okay, I'll pick this one up. Here are a few quick comments:
rpmlint produces an error which you've not justified. When I run:
[dwheeler at dwheeler2-pc SPECS]$ rpmlint ocaml-ocamlgraph.spec
../SRPMS/ocaml-ocamlgraph-0.99c-1.fc9.src.rpm ../RPMS/i386/ocaml-ocamlgraph-*
ocaml-ocamlgraph.i386: E: no-binary
3 packages and 1 specfiles checked; 1 errors, 0 warnings.
$ rpmls ../RPMS/i386/ocaml-ocamlgraph-0.99c-1.fc9.i386.rpm
drwxr-xr-x /usr/lib/ocaml/ocamlgraph
-rw-r--r-- /usr/lib/ocaml/ocamlgraph/META
-rw-r--r-- /usr/lib/ocaml/ocamlgraph/graph.cma
-rw-r--r-- /usr/lib/ocaml/ocamlgraph/graph.cmi
-rw-r--r-- /usr/share/doc/ocaml-ocamlgraph-0.99c/LICENSE
These aren't really architecture-dependent files, correct?
Since .cma is bytecode, and .cmi is a compilation signature, these
are NOT architecture-dependent, and they should be in /usr/share/WHATEVER...
correct? Let me know if I'm wrong about this, but I think
rpmlint gets this one right, these AREN'T architecture-dependent,
and so the FHS says that they belong in /usr/share and not /usr/lib.
(Yes, this is an FHS rule that's frequently violated.)
I'm very glad to see a "%check" section. But I think you should NOT do:
cp %{SOURCE1} .
during %check; I think you should do that during %build. I would expect the
result of "%build" to be that "all the files are ready for checking and
installing", and that's not really the case here. If I built, and did some
hand-testing, the 'expected output' file isn't in the BUILD directory yet in
the current approach. It's also odd that a SOURCE file is NOT used in the
%build phase, but only afterwards.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the package-review
mailing list