Fedora Account System
Red Hat Associate
Red Hat Customer
Spec URL: https://jjames.fedorapeople.org/ocaml-camlp-streams/ocaml-camlp-streams.spec SRPM URL: https://jjames.fedorapeople.org/ocaml-camlp-streams/ocaml-camlp-streams-5.0.1-1.fc36.src.rpm Fedora Account System Username: jjames Description: The camlp-streams package provides two library modules: - Stream: imperative streams, with in-place update and memoization of the latest element produced. - Genlex: a small parameterized lexical analyzer producing streams of tokens from streams of characters. The two modules are designed for use with Camlp4 and Camlp5: - The stream patterns and stream expressions of Camlp4/Camlp5 consume and produce data of type `'a Stream.t`. - The Genlex tokenizer can be used as a simple lexical analyzer for Camlp4/Camlp5-generated parsers. The Stream module can also be used by hand-written recursive-descent parsers, but is not very convenient for this purpose. The Stream and Genlex modules have been part of the OCaml standard library for a long time, and have been distributed as part of the core OCaml system. They will be removed from the OCaml standard library at some future point, but will be maintained and distributed separately in this camlp-streams package.
The source rpm is a 404
Whoops. Let's try that again. Spec URL: https://jjames.fedorapeople.org/ocaml-camlp-streams/ocaml-camlp-streams.spec SRPM URL: https://jjames.fedorapeople.org/ocaml-camlp-streams/ocaml-camlp-streams-5.0.1-1.fc37.src.rpm
Quite intrigued by the use of %files along with the new OCaml macros, but it does seem to produce the correct mix of files in the subpackages as far as I can tell. There is a file in -devel called: /usr/lib64/ocaml/camlp-streams/opam which I guess is opam metadata?
Package Review ============== Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated [ ] = Manual review needed Issues: ======= - If your application is a C or C++ application you must list a BuildRequires against gcc, gcc-c++ or clang. Note: No gcc, gcc-c++ or clang found in BuildRequires See: https://docs.fedoraproject.org/en-US/packaging-guidelines/C_and_C++/ ===== MUST items ===== C/C++: [-]: Package does not contain kernel modules. [-]: Package contains no static executables. [x]: Package does not contain any libtool archives (.la) [x]: Rpath absent or only used for internal libs. Generic: [x]: Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines. [x]: License field in the package spec file matches the actual license. Note: Checking patched sources after %prep for licenses. Licenses found: "Unknown or generated", "GNU Lesser General Public License, Version 2.1", "*No copyright* [generated file]". 14 files have unknown license. Detailed output of licensecheck in /var/tmp/2104283-ocaml- camlp-streams/licensecheck.txt I checked the upstream license manually, which is LGPLv2+ with the OCaml exception so that's fine. [x]: License file installed when any subpackage combination is installed. Yes, the main package contains the LICENSE file and the -devel package depends on the main package. [x]: %build honors applicable compiler flags or justifies otherwise. [x]: Package contains no bundled libraries without FPC exception. [x]: Changelog in prescribed format. [x]: Sources contain only permissible code or content. [-]: Package contains desktop file if it is a GUI application. [x]: Development files must be in a -devel package [-]: Package uses nothing in %doc for runtime. [x]: Package consistently uses macros (instead of hard-coded directory names). [x]: Package is named according to the Package Naming Guidelines. ... although I do kind of wonder if we want to call it ocaml-streams, but the current name is perfectly fine. [x]: Package does not generate any conflict. [x]: Package obeys FHS, except libexecdir and /usr/target. [-]: If the package is a rename of another package, proper Obsoletes and Provides are present. [x]: Requires correct, justified where necessary. [x]: Spec file is legible and written in American English. [-]: Package contains systemd file(s) if in need. [x]: Useful -debuginfo package or justification otherwise. [x]: Package is not known to require an ExcludeArch tag. [x]: Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 10240 bytes in 2 files. [x]: Package complies to the Packaging Guidelines [x]: Package successfully compiles and builds into binary rpms on at least one supported primary architecture. [x]: Package installs properly. [x]: Rpmlint is run on all rpms the build produces. Note: There are rpmlint messages (see attachment). [x]: If (and only if) the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package is included in %license. [x]: Package requires other packages for directories it uses. [x]: Package must own all directories that it creates. [x]: Package does not own files or directories owned by other packages. [x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT [x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the beginning of %install. [x]: Macros in Summary, %description expandable at SRPM build time. [x]: Dist tag is present. [x]: Package does not contain duplicates in %files. [x]: Permissions on files are set properly. [x]: Package must not depend on deprecated() packages. [x]: Package use %makeinstall only when make install DESTDIR=... doesn't work. [x]: Package is named using only allowed ASCII characters. [x]: Package does not use a name that already exists. [x]: Package is not relocatable. [x]: Sources used to build the package match the upstream source, as provided in the spec URL. [x]: Spec file name must match the spec package %{name}, in the format %{name}.spec. [x]: File names are valid UTF-8. [x]: Packages must not store files under /srv, /opt or /usr/local ===== SHOULD items ===== Generic: [-]: If the source package does not include license text(s) as a separate file from upstream, the packager SHOULD query upstream to include it. [x]: Final provides and requires are sane (see attachments). [-]: Package functions as described. Did not check, but we will get to use this package soon enough and find out if it works. [x]: Latest version is packaged. [x]: Package does not include license text files separate from upstream. [-]: Sources are verified with gpgverify first in %prep if upstream publishes signatures. Note: gpgverify is not used. [x]: Package should compile and build into binary rpms on all supported architectures. [x]: %check is present and all tests pass. [-]: Packages should try to preserve timestamps of original installed files. [x]: Reviewer should test that the package builds in mock. [x]: Buildroot is not present [x]: Package has no %clean section with rm -rf %{buildroot} (or $RPM_BUILD_ROOT) [x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin. [x]: Fully versioned dependency in subpackages if applicable. [x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file [x]: Sources can be downloaded from URI in Source: tag [x]: SourceX is a working URL. [x]: Spec use %global instead of %define unless justified. ===== EXTRA items ===== Generic: [x]: Rpmlint is run on debuginfo package(s). Note: There are rpmlint messages (see attachment). [x]: Rpmlint is run on all installed packages. Note: There are rpmlint messages (see attachment). [x]: Large data in /usr/share should live in a noarch subpackage if package is arched. [x]: Spec file according to URL is the same as in SRPM. Rpmlint ------- Cannot parse rpmlint output: This is caused by bugs in fedora-review. I checked the package spec file manually instead. Rpmlint (debuginfo) ------------------- Cannot parse rpmlint output: Rpmlint (installed packages) ---------------------------- Cannot parse rpmlint output: Source checksums ---------------- https://github.com/ocaml/camlp-streams/archive/v5.0.1/camlp-streams-5.0.1.tar.gz : CHECKSUM(SHA256) this package : ad71f62406e9bb4e7fb5d4593ede2af6c68f8b0d96f25574446e142c3eb0d9a4 CHECKSUM(SHA256) upstream package : ad71f62406e9bb4e7fb5d4593ede2af6c68f8b0d96f25574446e142c3eb0d9a4 Requires -------- ocaml-camlp-streams (rpmlib, GLIBC filtered): ocaml(CamlinternalFormatBasics) ocaml(Stdlib) ocaml(Stdlib__Genlex) ocaml(Stdlib__Stream) rtld(GNU_HASH) ocaml-camlp-streams-devel (rpmlib, GLIBC filtered): ocaml(CamlinternalFormatBasics) ocaml(Stdlib) ocaml(Stdlib__Genlex) ocaml(Stdlib__Stream) ocaml-camlp-streams(x86-64) ocamlx(Stdlib__Genlex) ocamlx(Stdlib__Stream) ocaml-camlp-streams-debuginfo (rpmlib, GLIBC filtered): ocaml-camlp-streams-debugsource (rpmlib, GLIBC filtered): Provides -------- ocaml-camlp-streams: ocaml(Genlex) ocaml(Stream) ocaml-camlp-streams ocaml-camlp-streams(x86-64) ocaml-camlp-streams-devel: ocaml(Genlex) ocaml(Stream) ocaml-camlp-streams-devel ocaml-camlp-streams-devel(x86-64) ocamlx(Genlex) ocamlx(Stream) ocaml-camlp-streams-debuginfo: debuginfo(build-id) ocaml-camlp-streams-debuginfo ocaml-camlp-streams-debuginfo(x86-64) ocaml-camlp-streams-debugsource: ocaml-camlp-streams-debugsource ocaml-camlp-streams-debugsource(x86-64) Generated by fedora-review 0.8.0 (e988316) last change: 2022-04-07 Command line :/usr/bin/fedora-review -b 2104283 Buildroot used: fedora-rawhide-x86_64 Active plugins: Generic, Ocaml, C/C++, Shell-api Disabled plugins: Python, Perl, PHP, Haskell, R, Java, fonts, SugarActivity Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH
*************************************** This package is APPROVED by rjones ***************************************
(In reply to Richard W.M. Jones from comment #3) > Quite intrigued by the use of %files along with the new OCaml macros, > but it does seem to produce the correct mix of files in the subpackages > as far as I can tell. There is a file in -devel called: > > /usr/lib64/ocaml/camlp-streams/opam > > which I guess is opam metadata? Yes. I'm unclear on whether we really need that in Fedora or not. "dune install" installs it; every dune-using package will have one. We should probably figure out whether we really want it or not. Thank you for the review!
(fedscm-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/ocaml-camlp-streams
FEDORA-2022-97c376983b has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-97c376983b
FEDORA-2022-97c376983b has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.