Bug 2104693 - Review Request: ocaml-ppx-import - Syntax extension for importing declarations from interface files
Summary: Review Request: ocaml-ppx-import - Syntax extension for importing declaration...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-06 22:33 UTC by Jerry James
Modified: 2023-07-16 13:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-16 13:20:10 UTC
Type: ---
Embargoed:
rjones: fedora-review+


Attachments (Terms of Use)

Description Jerry James 2022-07-06 22:33:24 UTC
Spec URL: https://jjames.fedorapeople.org/ocaml-ppx-import/ocaml-ppx-import.spec
SRPM URL: https://jjames.fedorapeople.org/ocaml-ppx-import/ocaml-ppx-import-1.10.0-1.fc37.src.rpm
Fedora Account System Username: jjames
Description: Import is an OCaml syntax extension that enables pulling in types or signatures from other compiled interface files.

This package is needed to update Frama-C to its latest version.

Comment 1 Richard W.M. Jones 2022-07-07 17:11:32 UTC
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", "MIT License", "*No copyright* MIT
     License". 35 files have unknown license. Detailed output of
     licensecheck in /var/tmp/2104693-ocaml-ppx-import/licensecheck.txt

I checked upstream license is MIT and all in order.

[x]: License file installed when any subpackage combination is installed.

Main package includes a LICENSE file and other packages depend
on the main package.

[x]: %build honors applicable compiler flags or justifies otherwise.
[-]: 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.
[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.
[-]: 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 test it, but we will be using it to build another
package (frama-c) soon which will test that it works.

[x]: Latest version is packaged.
[-]: 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.
[-]: 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:

fedora-review & rpmlint is broken at the moment.  I checked
the spec file by hand.


Rpmlint (debuginfo)
-------------------
Cannot parse rpmlint output:



Rpmlint (installed packages)
----------------------------
Cannot parse rpmlint output:


Source checksums
----------------
https://github.com/ocaml-ppx/ppx_import/archive/1.10.0/ppx_import-1.10.0.tar.gz :
  CHECKSUM(SHA256) this package     : e66cf8803685a9b6e8443611c73d86d50086fcecab5b64184081affa7aba37d1
  CHECKSUM(SHA256) upstream package : e66cf8803685a9b6e8443611c73d86d50086fcecab5b64184081affa7aba37d1


Requires
--------
ocaml-ppx-import (rpmlib, GLIBC filtered):
    libc.so.6()(64bit)
    libm.so.6()(64bit)
    ocaml(Ast_helper)
    ocaml(Astlib)
    ocaml(Astlib__)
    ocaml(Astlib__Ast_402)
    ocaml(Astlib__Ast_403)
    ocaml(Astlib__Ast_404)
    ocaml(Astlib__Ast_405)
    ocaml(Astlib__Ast_406)
    ocaml(Astlib__Ast_407)
    ocaml(Astlib__Ast_408)
    ocaml(Astlib__Ast_409)
    ocaml(Astlib__Ast_410)
    ocaml(Astlib__Ast_411)
    ocaml(Astlib__Ast_412)
    ocaml(Astlib__Ast_413)
    ocaml(Astlib__Ast_414)
    ocaml(Astlib__Location)
    ocaml(Astlib__Longident)
    ocaml(Astlib__Parse)
    ocaml(Asttypes)
    ocaml(Build_path_prefix_map)
    ocaml(CamlinternalFormatBasics)
    ocaml(CamlinternalLazy)
    ocaml(Clflags)
    ocaml(Cmi_format)
    ocaml(Compmisc)
    ocaml(Docstrings)
    ocaml(Env)
    ocaml(Ident)
    ocaml(Identifiable)
    ocaml(Load_path)
    ocaml(Location)
    ocaml(Longident)
    ocaml(Misc)
    ocaml(Ocaml_common)
    ocaml(Ocaml_shadow)
    ocaml(Outcometree)
    ocaml(Parsetree)
    ocaml(Path)
    ocaml(Ppx_import__)
    ocaml(Ppx_import__Compat)
    ocaml(Ppx_import__Ppx_types_migrate)
    ocaml(Ppxlib)
    ocaml(Ppxlib__)
    ocaml(Ppxlib__Ast_pattern)
    ocaml(Ppxlib__Ast_pattern0)
    ocaml(Ppxlib__Ast_pattern_generated)
    ocaml(Ppxlib__Ast_traverse)
    ocaml(Ppxlib__Attribute)
    ocaml(Ppxlib__Code_path)
    ocaml(Ppxlib__Common)
    ocaml(Ppxlib__Context_free)
    ocaml(Ppxlib__Driver)
    ocaml(Ppxlib__Expansion_context)
    ocaml(Ppxlib__Extension)
    ocaml(Ppxlib__Import)
    ocaml(Ppxlib__Loc)
    ocaml(Ppxlib__Location)
    ocaml(Ppxlib__Longident)
    ocaml(Ppxlib__Name)
    ocaml(Ppxlib__Utils)
    ocaml(Ppxlib_ast)
    ocaml(Ppxlib_ast__)
    ocaml(Ppxlib_ast__Ast)
    ocaml(Ppxlib_ast__Ast_helper_lite)
    ocaml(Ppxlib_ast__Import)
    ocaml(Ppxlib_ast__Versions)
    ocaml(Ppxlib_traverse_builtins)
    ocaml(Primitive)
    ocaml(Profile)
    ocaml(Sexplib0)
    ocaml(Sexplib0__)
    ocaml(Sexplib0__Sexp)
    ocaml(Sexplib0__Sexp_conv)
    ocaml(Sexplib0__Sexp_conv_grammar)
    ocaml(Sexplib0__Sexp_grammar)
    ocaml(Sexplib0__Sexpable)
    ocaml(Shape)
    ocaml(Stdlib)
    ocaml(Stdlib__Arg)
    ocaml(Stdlib__Array)
    ocaml(Stdlib__Buffer)
    ocaml(Stdlib__Bytes)
    ocaml(Stdlib__BytesLabels)
    ocaml(Stdlib__Char)
    ocaml(Stdlib__Digest)
    ocaml(Stdlib__Either)
    ocaml(Stdlib__Filename)
    ocaml(Stdlib__Format)
    ocaml(Stdlib__Hashtbl)
    ocaml(Stdlib__Lazy)
    ocaml(Stdlib__Lexing)
    ocaml(Stdlib__List)
    ocaml(Stdlib__ListLabels)
    ocaml(Stdlib__Map)
    ocaml(Stdlib__Seq)
    ocaml(Stdlib__Set)
    ocaml(Stdlib__StdLabels)
    ocaml(Stdlib__String)
    ocaml(Stdlib__StringLabels)
    ocaml(Stdlib__Uchar)
    ocaml(Stdppx)
    ocaml(Subst)
    ocaml(Type_immediacy)
    ocaml(Typedtree)
    ocaml(Types)
    ocaml(Untypeast)
    ocaml(Warnings)
    rtld(GNU_HASH)

ocaml-ppx-import-devel (rpmlib, GLIBC filtered):
    ocaml(Ast_helper)
    ocaml(Astlib)
    ocaml(Astlib__)
    ocaml(Astlib__Ast_402)
    ocaml(Astlib__Ast_403)
    ocaml(Astlib__Ast_404)
    ocaml(Astlib__Ast_405)
    ocaml(Astlib__Ast_406)
    ocaml(Astlib__Ast_407)
    ocaml(Astlib__Ast_408)
    ocaml(Astlib__Ast_409)
    ocaml(Astlib__Ast_410)
    ocaml(Astlib__Ast_411)
    ocaml(Astlib__Ast_412)
    ocaml(Astlib__Ast_413)
    ocaml(Astlib__Ast_414)
    ocaml(Astlib__Location)
    ocaml(Astlib__Longident)
    ocaml(Astlib__Parse)
    ocaml(Asttypes)
    ocaml(Build_path_prefix_map)
    ocaml(CamlinternalFormatBasics)
    ocaml(CamlinternalLazy)
    ocaml(Clflags)
    ocaml(Cmi_format)
    ocaml(Compmisc)
    ocaml(Docstrings)
    ocaml(Env)
    ocaml(Ident)
    ocaml(Identifiable)
    ocaml(Load_path)
    ocaml(Location)
    ocaml(Longident)
    ocaml(Misc)
    ocaml(Ocaml_common)
    ocaml(Ocaml_shadow)
    ocaml(Outcometree)
    ocaml(Parsetree)
    ocaml(Path)
    ocaml(Ppx_import__)
    ocaml(Ppx_import__Compat)
    ocaml(Ppx_import__Ppx_types_migrate)
    ocaml(Ppxlib)
    ocaml(Ppxlib__)
    ocaml(Ppxlib__Ast_pattern)
    ocaml(Ppxlib__Ast_pattern0)
    ocaml(Ppxlib__Ast_pattern_generated)
    ocaml(Ppxlib__Ast_traverse)
    ocaml(Ppxlib__Attribute)
    ocaml(Ppxlib__Code_path)
    ocaml(Ppxlib__Common)
    ocaml(Ppxlib__Context_free)
    ocaml(Ppxlib__Driver)
    ocaml(Ppxlib__Expansion_context)
    ocaml(Ppxlib__Extension)
    ocaml(Ppxlib__Import)
    ocaml(Ppxlib__Loc)
    ocaml(Ppxlib__Location)
    ocaml(Ppxlib__Longident)
    ocaml(Ppxlib__Name)
    ocaml(Ppxlib__Utils)
    ocaml(Ppxlib_ast)
    ocaml(Ppxlib_ast__)
    ocaml(Ppxlib_ast__Ast)
    ocaml(Ppxlib_ast__Ast_helper_lite)
    ocaml(Ppxlib_ast__Import)
    ocaml(Ppxlib_ast__Versions)
    ocaml(Ppxlib_traverse_builtins)
    ocaml(Primitive)
    ocaml(Profile)
    ocaml(Sexplib0)
    ocaml(Sexplib0__)
    ocaml(Sexplib0__Sexp)
    ocaml(Sexplib0__Sexp_conv)
    ocaml(Sexplib0__Sexp_conv_grammar)
    ocaml(Sexplib0__Sexp_grammar)
    ocaml(Sexplib0__Sexpable)
    ocaml(Shape)
    ocaml(Stdlib)
    ocaml(Stdlib__Arg)
    ocaml(Stdlib__Array)
    ocaml(Stdlib__Buffer)
    ocaml(Stdlib__Bytes)
    ocaml(Stdlib__BytesLabels)
    ocaml(Stdlib__Char)
    ocaml(Stdlib__Digest)
    ocaml(Stdlib__Either)
    ocaml(Stdlib__Filename)
    ocaml(Stdlib__Format)
    ocaml(Stdlib__Hashtbl)
    ocaml(Stdlib__Lazy)
    ocaml(Stdlib__Lexing)
    ocaml(Stdlib__List)
    ocaml(Stdlib__ListLabels)
    ocaml(Stdlib__Map)
    ocaml(Stdlib__Seq)
    ocaml(Stdlib__Set)
    ocaml(Stdlib__StdLabels)
    ocaml(Stdlib__String)
    ocaml(Stdlib__StringLabels)
    ocaml(Stdlib__Uchar)
    ocaml(Stdppx)
    ocaml(Subst)
    ocaml(Type_immediacy)
    ocaml(Typedtree)
    ocaml(Types)
    ocaml(Untypeast)
    ocaml(Warnings)
    ocaml-ppx-import(x86-64)
    ocaml-ppxlib-devel(x86-64)
    ocamlx(Ast_helper)
    ocamlx(CamlinternalLazy)
    ocamlx(Clflags)
    ocamlx(Compmisc)
    ocamlx(Env)
    ocamlx(Ident)
    ocamlx(Location)
    ocamlx(Ppx_import__Compat)
    ocamlx(Ppx_import__Ppx_types_migrate)
    ocamlx(Ppxlib__Ast_pattern)
    ocamlx(Ppxlib__Context_free)
    ocamlx(Ppxlib__Driver)
    ocamlx(Ppxlib__Expansion_context)
    ocamlx(Ppxlib__Extension)
    ocamlx(Ppxlib__Location)
    ocamlx(Ppxlib__Longident)
    ocamlx(Ppxlib_ast__Ast_helper_lite)
    ocamlx(Ppxlib_ast__Import)
    ocamlx(Stdlib)
    ocamlx(Stdlib__Filename)
    ocamlx(Stdlib__List)
    ocamlx(Stdlib__String)
    ocamlx(Types)
    ocamlx(Untypeast)

ocaml-ppx-import-debuginfo (rpmlib, GLIBC filtered):

ocaml-ppx-import-debugsource (rpmlib, GLIBC filtered):



Provides
--------
ocaml-ppx-import:
    ocaml(Ppx_import)
    ocaml(Ppx_import__)
    ocaml(Ppx_import__Compat)
    ocaml(Ppx_import__Ppx_types_migrate)
    ocaml-ppx-import
    ocaml-ppx-import(x86-64)

ocaml-ppx-import-devel:
    ocaml(Ppx_import)
    ocaml(Ppx_import__)
    ocaml(Ppx_import__Compat)
    ocaml(Ppx_import__Ppx_types_migrate)
    ocaml-ppx-import-devel
    ocaml-ppx-import-devel(x86-64)
    ocamlx(Ppx_import)
    ocamlx(Ppx_import__)
    ocamlx(Ppx_import__Compat)
    ocamlx(Ppx_import__Ppx_types_migrate)

ocaml-ppx-import-debuginfo:
    debuginfo(build-id)
    ocaml-ppx-import-debuginfo
    ocaml-ppx-import-debuginfo(x86-64)

ocaml-ppx-import-debugsource:
    ocaml-ppx-import-debugsource
    ocaml-ppx-import-debugsource(x86-64)



Generated by fedora-review 0.8.0 (e988316) last change: 2022-04-07
Command line :/usr/bin/fedora-review -b 2104693
Buildroot used: fedora-rawhide-x86_64
Active plugins: C/C++, Generic, Shell-api, Ocaml
Disabled plugins: Python, SugarActivity, Java, fonts, Haskell, R, PHP, Perl
Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH

Comment 2 Richard W.M. Jones 2022-07-07 17:13:52 UTC
*******************************
This package is APPROVED by rjones
*******************************

Comment 3 Jerry James 2022-07-07 17:32:08 UTC
Thank you!  I appreciate the quick reviews.

Comment 4 Gwyn Ciesla 2022-07-07 20:42:30 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/ocaml-ppx-import

Comment 5 Package Review 2023-07-16 13:20:10 UTC
Package is now in repositories, closing review.


Note You need to log in before you can comment on or make changes to this bug.