[Fedora-packaging] Re: "slicing" ocaml 3.10.0: comparison with debian friends?
Richard Jones
rich at annexia.org
Thu Jun 14 21:06:50 UTC 2007
On Thu, Jun 14, 2007 at 09:05:01PM +0100, Stefano Zacchiroli wrote:
> On Thu, Jun 14, 2007 at 08:29:36PM +0100, Richard Jones wrote:
> > We're actually distributing camlp4 as a separate package. To
> > be honest I hadn't looked at the sizes until now:
>
> Thanks for this list!
>
> Would you mind sending us (maybe as an attachment?) a list of the files
> contained in each package? From this list I can guess the content, but
> just to be sure...
Gemi did this actually. Here is the list of files:
%files camlp4
%defattr(-,root,root,-)
%dir %{_libdir}/ocaml/camlp4
%{_libdir}/ocaml/camlp4/*.cmi
%{_libdir}/ocaml/camlp4/*.cma
%{_libdir}/ocaml/camlp4/*.cmo
%dir %{_libdir}/ocaml/camlp4/Camlp4Filters
%{_libdir}/ocaml/camlp4/Camlp4Filters/*.cmi
%{_libdir}/ocaml/camlp4/Camlp4Filters/*.cmo
%dir %{_libdir}/ocaml/camlp4/Camlp4Parsers
%{_libdir}/ocaml/camlp4/Camlp4Parsers/*.cmo
%{_libdir}/ocaml/camlp4/Camlp4Parsers/*.cmi
%dir %{_libdir}/ocaml/camlp4/Camlp4Printers
%{_libdir}/ocaml/camlp4/Camlp4Printers/*.cmi
%{_libdir}/ocaml/camlp4/Camlp4Printers/*.cmo
%dir %{_libdir}/ocaml/camlp4/Camlp4Top
%{_libdir}/ocaml/camlp4/Camlp4Top/*.cmi
%{_libdir}/ocaml/camlp4/Camlp4Top/*.cmo
%files camlp4-devel
%defattr(-,root,root,-)
%{_bindir}/camlp4*
%{_bindir}/mkcamlp4
%{_libdir}/ocaml/camlp4/*.a
%{_libdir}/ocaml/camlp4/*.cmxa
%{_libdir}/ocaml/camlp4/*.cmx
%{_libdir}/ocaml/camlp4/*.o
%{_libdir}/ocaml/camlp4/Camlp4Filters/*.cmx
%{_libdir}/ocaml/camlp4/Camlp4Filters/*.o
%{_libdir}/ocaml/camlp4/Camlp4Parsers/*.cmx
%{_libdir}/ocaml/camlp4/Camlp4Parsers/*.o
%{_libdir}/ocaml/camlp4/Camlp4Printers/*.cmx
%{_libdir}/ocaml/camlp4/Camlp4Printers/*.o
%{_libdir}/ocaml/camlp4/Camlp4Top/*.cmx
%{_libdir}/ocaml/camlp4/Camlp4Top/*.o
%{_mandir}/man1/*
> > $ rpm -q --requires ocaml-calendar
>
> I'll have a look at your guidelines. In the meantime, can you expand the
> above command for non rpm speakers so that we can parse the output? :)
It just lists the requirements (dependencies) of the ocaml-calendar
package.
For comparison, here are symbols provided by the same:
$ rpm -q --provides ocaml-calendar
ocaml(Calendar) = db8ca9a52d58e744b63d354d36f12620
ocaml(Date) = 57886756cbdb3aa1db37638a7809f610
ocaml(Period) = e220d29e5b87b6ec8b8b474a2ae54685
ocaml(Printer) = 4454f0bfed349268f57ffd82a7d78499
ocaml(Time) = 35fe4ca99bb3640b22bc286fc97adff5
ocaml(Time_Zone) = 23b711a8eb543e69e6f53d67a0eccf57
ocaml-calendar = 1.10-5
The symbols are generated automagically by scanning the OCaml objects
(*.cmi, *.cmo, *.cma) using ocamlobjinfo. The two scripts attached to
this bugzilla do it:
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239004
(scroll down to near the bottom).
Rich.
--
Richard Jones
Red Hat
More information about the Fedora-packaging
mailing list