[Bug 2027872] Review Request: rust-io-extras - File/socket handle/descriptor utilities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2027872



--- Comment #4 from Jerry James <loganjerry@xxxxxxxxx> ---
Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated

Issues
======
- Same license issue as the other two: the License field should be
  "ASL 2.0 or MIT".

- Same remark that I question the value of the codes of conduct as
  documentation.

===== MUST items =====

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", "*No copyright* Apache License 2.0",
     "*No copyright* MIT License". 24 files have unknown license. Detailed
     output of licensecheck in /home/jamesjer/2027872-rust-io-
     extras/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[x]: If the package is under multiple licenses, the licensing breakdown
     must be documented in the spec.
[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
[x]: 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.
[x]: 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]: 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 20480 bytes in 4 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).
[x]: Fully versioned dependency in subpackages if applicable.
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: Patches link to upstream bugs/comments/lists or are otherwise
     justified.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[x]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: %check is present and all tests pass.
[x]: 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]: 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]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
================================================ rpmlint session starts
================================================
rpmlint: 2.1.0
configuration:
    /usr/lib/python3.10/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/licenses.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
checks: 31, packages: 14

rust-io-extras+async-std-devel.noarch: W: no-documentation
rust-io-extras+default-devel.noarch: W: no-documentation
rust-io-extras+mio-devel.noarch: W: no-documentation
rust-io-extras+os_pipe-devel.noarch: W: no-documentation
rust-io-extras+socket2-devel.noarch: W: no-documentation
rust-io-extras+tokio-devel.noarch: W: no-documentation
rust-io-extras+use_async_std-devel.noarch: W: no-documentation
rust-io-extras+use_mio_net-devel.noarch: W: no-documentation
rust-io-extras+use_mio_os_ext-devel.noarch: W: no-documentation
rust-io-extras+use_os_pipe-devel.noarch: W: no-documentation
rust-io-extras+use_socket2-devel.noarch: W: no-documentation
rust-io-extras+use_tokio-devel.noarch: W: no-documentation
rust-io-extras.src: W: invalid-license-exception exceptions
rust-io-extras+async-std-devel.noarch: W: invalid-license-exception exceptions
rust-io-extras+default-devel.noarch: W: invalid-license-exception exceptions
rust-io-extras-devel.noarch: W: invalid-license-exception exceptions
rust-io-extras+mio-devel.noarch: W: invalid-license-exception exceptions
rust-io-extras+os_pipe-devel.noarch: W: invalid-license-exception exceptions
rust-io-extras+socket2-devel.noarch: W: invalid-license-exception exceptions
rust-io-extras+tokio-devel.noarch: W: invalid-license-exception exceptions
rust-io-extras+use_async_std-devel.noarch: W: invalid-license-exception
exceptions
rust-io-extras+use_mio_net-devel.noarch: W: invalid-license-exception
exceptions
rust-io-extras+use_mio_os_ext-devel.noarch: W: invalid-license-exception
exceptions
rust-io-extras+use_os_pipe-devel.noarch: W: invalid-license-exception
exceptions
rust-io-extras+use_socket2-devel.noarch: W: invalid-license-exception
exceptions
rust-io-extras+use_tokio-devel.noarch: W: invalid-license-exception exceptions
rust-io-extras.src: W: invalid-license 2.0
rust-io-extras+async-std-devel.noarch: W: invalid-license 2.0
rust-io-extras+default-devel.noarch: W: invalid-license 2.0
rust-io-extras-devel.noarch: W: invalid-license 2.0
rust-io-extras+mio-devel.noarch: W: invalid-license 2.0
rust-io-extras+os_pipe-devel.noarch: W: invalid-license 2.0
rust-io-extras+socket2-devel.noarch: W: invalid-license 2.0
rust-io-extras+tokio-devel.noarch: W: invalid-license 2.0
rust-io-extras+use_async_std-devel.noarch: W: invalid-license 2.0
rust-io-extras+use_mio_net-devel.noarch: W: invalid-license 2.0
rust-io-extras+use_mio_os_ext-devel.noarch: W: invalid-license 2.0
rust-io-extras+use_os_pipe-devel.noarch: W: invalid-license 2.0
rust-io-extras+use_socket2-devel.noarch: W: invalid-license 2.0
rust-io-extras+use_tokio-devel.noarch: W: invalid-license 2.0
rust-io-extras-devel.noarch: W: files-duplicate
/usr/share/doc/rust-io-extras-devel/CODE_OF_CONDUCT.md
/usr/share/cargo/registry/io-extras-0.12.2/CODE_OF_CONDUCT.md
rust-io-extras-devel.noarch: W: files-duplicate
/usr/share/licenses/rust-io-extras-devel/COPYRIGHT
/usr/share/cargo/registry/io-extras-0.12.2/COPYRIGHT
rust-io-extras-devel.noarch: W: files-duplicate
/usr/share/licenses/rust-io-extras-devel/LICENSE-APACHE
/usr/share/cargo/registry/io-extras-0.12.2/LICENSE-APACHE
rust-io-extras-devel.noarch: W: files-duplicate
/usr/share/licenses/rust-io-extras-devel/LICENSE-Apache-2.0_WITH_LLVM-exception
/usr/share/cargo/registry/io-extras-0.12.2/LICENSE-Apache-2.0_WITH_LLVM-exception
rust-io-extras-devel.noarch: W: files-duplicate
/usr/share/licenses/rust-io-extras-devel/LICENSE-MIT
/usr/share/cargo/registry/io-extras-0.12.2/LICENSE-MIT
rust-io-extras-devel.noarch: W: files-duplicate
/usr/share/doc/rust-io-extras-devel/ORG_CODE_OF_CONDUCT.md
/usr/share/cargo/registry/io-extras-0.12.2/ORG_CODE_OF_CONDUCT.md
rust-io-extras-devel.noarch: W: files-duplicate
/usr/share/doc/rust-io-extras-devel/README.md
/usr/share/cargo/registry/io-extras-0.12.2/README.md
rust-io-extras-devel.noarch: W: files-duplicate
/usr/share/doc/rust-io-extras-devel/SECURITY.md
/usr/share/cargo/registry/io-extras-0.12.2/SECURITY.md
================ 14 packages and 0 specfiles checked; 0 errors, 48 warnings, 0
badness; has taken 0.3 s ================



Rpmlint (installed packages)
----------------------------
================================================ rpmlint session starts
================================================
rpmlint: 2.1.0
configuration:
    /usr/lib/python3.10/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/licenses.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
checks: 31, packages: 13

rust-io-extras+async-std-devel.noarch: W: no-documentation
rust-io-extras+default-devel.noarch: W: no-documentation
rust-io-extras+mio-devel.noarch: W: no-documentation
rust-io-extras+os_pipe-devel.noarch: W: no-documentation
rust-io-extras+socket2-devel.noarch: W: no-documentation
rust-io-extras+tokio-devel.noarch: W: no-documentation
rust-io-extras+use_async_std-devel.noarch: W: no-documentation
rust-io-extras+use_mio_net-devel.noarch: W: no-documentation
rust-io-extras+use_mio_os_ext-devel.noarch: W: no-documentation
rust-io-extras+use_os_pipe-devel.noarch: W: no-documentation
rust-io-extras+use_socket2-devel.noarch: W: no-documentation
rust-io-extras+use_tokio-devel.noarch: W: no-documentation
rust-io-extras+async-std-devel.noarch: W: invalid-license-exception exceptions
rust-io-extras+default-devel.noarch: W: invalid-license-exception exceptions
rust-io-extras-devel.noarch: W: invalid-license-exception exceptions
rust-io-extras+mio-devel.noarch: W: invalid-license-exception exceptions
rust-io-extras+os_pipe-devel.noarch: W: invalid-license-exception exceptions
rust-io-extras+socket2-devel.noarch: W: invalid-license-exception exceptions
rust-io-extras+tokio-devel.noarch: W: invalid-license-exception exceptions
rust-io-extras+use_async_std-devel.noarch: W: invalid-license-exception
exceptions
rust-io-extras+use_mio_net-devel.noarch: W: invalid-license-exception
exceptions
rust-io-extras+use_mio_os_ext-devel.noarch: W: invalid-license-exception
exceptions
rust-io-extras+use_os_pipe-devel.noarch: W: invalid-license-exception
exceptions
rust-io-extras+use_socket2-devel.noarch: W: invalid-license-exception
exceptions
rust-io-extras+use_tokio-devel.noarch: W: invalid-license-exception exceptions
rust-io-extras+async-std-devel.noarch: W: invalid-license 2.0
rust-io-extras+default-devel.noarch: W: invalid-license 2.0
rust-io-extras-devel.noarch: W: invalid-license 2.0
rust-io-extras+mio-devel.noarch: W: invalid-license 2.0
rust-io-extras+os_pipe-devel.noarch: W: invalid-license 2.0
rust-io-extras+socket2-devel.noarch: W: invalid-license 2.0
rust-io-extras+tokio-devel.noarch: W: invalid-license 2.0
rust-io-extras+use_async_std-devel.noarch: W: invalid-license 2.0
rust-io-extras+use_mio_net-devel.noarch: W: invalid-license 2.0
rust-io-extras+use_mio_os_ext-devel.noarch: W: invalid-license 2.0
rust-io-extras+use_os_pipe-devel.noarch: W: invalid-license 2.0
rust-io-extras+use_socket2-devel.noarch: W: invalid-license 2.0
rust-io-extras+use_tokio-devel.noarch: W: invalid-license 2.0
rust-io-extras-devel.noarch: W: files-duplicate
/usr/share/doc/rust-io-extras-devel/CODE_OF_CONDUCT.md
/usr/share/cargo/registry/io-extras-0.12.2/CODE_OF_CONDUCT.md
rust-io-extras-devel.noarch: W: files-duplicate
/usr/share/licenses/rust-io-extras-devel/COPYRIGHT
/usr/share/cargo/registry/io-extras-0.12.2/COPYRIGHT
rust-io-extras-devel.noarch: W: files-duplicate
/usr/share/licenses/rust-io-extras-devel/LICENSE-APACHE
/usr/share/cargo/registry/io-extras-0.12.2/LICENSE-APACHE
rust-io-extras-devel.noarch: W: files-duplicate
/usr/share/licenses/rust-io-extras-devel/LICENSE-Apache-2.0_WITH_LLVM-exception
/usr/share/cargo/registry/io-extras-0.12.2/LICENSE-Apache-2.0_WITH_LLVM-exception
rust-io-extras-devel.noarch: W: files-duplicate
/usr/share/licenses/rust-io-extras-devel/LICENSE-MIT
/usr/share/cargo/registry/io-extras-0.12.2/LICENSE-MIT
rust-io-extras-devel.noarch: W: files-duplicate
/usr/share/doc/rust-io-extras-devel/ORG_CODE_OF_CONDUCT.md
/usr/share/cargo/registry/io-extras-0.12.2/ORG_CODE_OF_CONDUCT.md
rust-io-extras-devel.noarch: W: files-duplicate
/usr/share/doc/rust-io-extras-devel/README.md
/usr/share/cargo/registry/io-extras-0.12.2/README.md
rust-io-extras-devel.noarch: W: files-duplicate
/usr/share/doc/rust-io-extras-devel/SECURITY.md
/usr/share/cargo/registry/io-extras-0.12.2/SECURITY.md
================ 13 packages and 0 specfiles checked; 0 errors, 46 warnings, 0
badness; has taken 0.1 s ================



Source checksums
----------------
https://crates.io/api/v1/crates/io-extras/0.12.2/download#/io-extras-0.12.2.crate
:
  CHECKSUM(SHA256) this package     :
9c9132d2d6504f4e348b8e16787f01613b4d0e587458641a40e727304416ac8d
  CHECKSUM(SHA256) upstream package :
9c9132d2d6504f4e348b8e16787f01613b4d0e587458641a40e727304416ac8d


Requires
--------
rust-io-extras-devel (rpmlib, GLIBC filtered):
    (crate(io-lifetimes) >= 0.4.0 with crate(io-lifetimes) < 0.5.0~)
    cargo

rust-io-extras+default-devel (rpmlib, GLIBC filtered):
    cargo
    crate(io-extras)

rust-io-extras+async-std-devel (rpmlib, GLIBC filtered):
    (crate(async-std/default) >= 1.9.0 with crate(async-std/default) < 2.0.0~)
    (crate(async-std/unstable) >= 1.9.0 with crate(async-std/unstable) <
2.0.0~)
    cargo
    crate(io-extras)

rust-io-extras+mio-devel (rpmlib, GLIBC filtered):
    (crate(mio/default) >= 0.7.14 with crate(mio/default) < 0.8.0~)
    cargo
    crate(io-extras)

rust-io-extras+os_pipe-devel (rpmlib, GLIBC filtered):
    (crate(os_pipe/default) >= 0.9.2 with crate(os_pipe/default) < 0.10.0~)
    cargo
    crate(io-extras)

rust-io-extras+socket2-devel (rpmlib, GLIBC filtered):
    (crate(socket2/default) >= 0.4.0 with crate(socket2/default) < 0.5.0~)
    cargo
    crate(io-extras)

rust-io-extras+tokio-devel (rpmlib, GLIBC filtered):
    (crate(tokio/default) >= 1.6.0 with crate(tokio/default) < 2.0.0~)
    (crate(tokio/fs) >= 1.6.0 with crate(tokio/fs) < 2.0.0~)
    (crate(tokio/io-std) >= 1.6.0 with crate(tokio/io-std) < 2.0.0~)
    (crate(tokio/net) >= 1.6.0 with crate(tokio/net) < 2.0.0~)
    (crate(tokio/process) >= 1.6.0 with crate(tokio/process) < 2.0.0~)
    cargo
    crate(io-extras)

rust-io-extras+use_async_std-devel (rpmlib, GLIBC filtered):
    (crate(async-std/default) >= 1.9.0 with crate(async-std/default) < 2.0.0~)
    (crate(async-std/unstable) >= 1.9.0 with crate(async-std/unstable) <
2.0.0~)
    (crate(io-lifetimes/async-std) >= 0.4.0 with crate(io-lifetimes/async-std)
< 0.5.0~)
    cargo
    crate(io-extras)

rust-io-extras+use_mio_net-devel (rpmlib, GLIBC filtered):
    (crate(io-lifetimes/mio) >= 0.4.0 with crate(io-lifetimes/mio) < 0.5.0~)
    (crate(mio/default) >= 0.7.14 with crate(mio/default) < 0.8.0~)
    (crate(mio/net) >= 0.7.14 with crate(mio/net) < 0.8.0~)
    cargo
    crate(io-extras)

rust-io-extras+use_mio_os_ext-devel (rpmlib, GLIBC filtered):
    (crate(io-lifetimes/mio) >= 0.4.0 with crate(io-lifetimes/mio) < 0.5.0~)
    (crate(mio/default) >= 0.7.14 with crate(mio/default) < 0.8.0~)
    (crate(mio/os-ext) >= 0.7.14 with crate(mio/os-ext) < 0.8.0~)
    cargo
    crate(io-extras)

rust-io-extras+use_os_pipe-devel (rpmlib, GLIBC filtered):
    (crate(io-lifetimes/os_pipe) >= 0.4.0 with crate(io-lifetimes/os_pipe) <
0.5.0~)
    (crate(os_pipe/default) >= 0.9.2 with crate(os_pipe/default) < 0.10.0~)
    cargo
    crate(io-extras)

rust-io-extras+use_socket2-devel (rpmlib, GLIBC filtered):
    (crate(io-lifetimes/socket2) >= 0.4.0 with crate(io-lifetimes/socket2) <
0.5.0~)
    (crate(socket2/default) >= 0.4.0 with crate(socket2/default) < 0.5.0~)
    cargo
    crate(io-extras)

rust-io-extras+use_tokio-devel (rpmlib, GLIBC filtered):
    (crate(io-lifetimes/tokio) >= 0.4.0 with crate(io-lifetimes/tokio) <
0.5.0~)
    (crate(tokio/default) >= 1.6.0 with crate(tokio/default) < 2.0.0~)
    (crate(tokio/fs) >= 1.6.0 with crate(tokio/fs) < 2.0.0~)
    (crate(tokio/io-std) >= 1.6.0 with crate(tokio/io-std) < 2.0.0~)
    (crate(tokio/net) >= 1.6.0 with crate(tokio/net) < 2.0.0~)
    (crate(tokio/process) >= 1.6.0 with crate(tokio/process) < 2.0.0~)
    cargo
    crate(io-extras)



Provides
--------
rust-io-extras-devel:
    crate(io-extras)
    rust-io-extras-devel

rust-io-extras+default-devel:
    crate(io-extras/default)
    rust-io-extras+default-devel

rust-io-extras+async-std-devel:
    crate(io-extras/async-std)
    rust-io-extras+async-std-devel

rust-io-extras+mio-devel:
    crate(io-extras/mio)
    rust-io-extras+mio-devel

rust-io-extras+os_pipe-devel:
    crate(io-extras/os_pipe)
    rust-io-extras+os_pipe-devel

rust-io-extras+socket2-devel:
    crate(io-extras/socket2)
    rust-io-extras+socket2-devel

rust-io-extras+tokio-devel:
    crate(io-extras/tokio)
    rust-io-extras+tokio-devel

rust-io-extras+use_async_std-devel:
    crate(io-extras/use_async_std)
    rust-io-extras+use_async_std-devel

rust-io-extras+use_mio_net-devel:
    crate(io-extras/use_mio_net)
    rust-io-extras+use_mio_net-devel

rust-io-extras+use_mio_os_ext-devel:
    crate(io-extras/use_mio_os_ext)
    rust-io-extras+use_mio_os_ext-devel

rust-io-extras+use_os_pipe-devel:
    crate(io-extras/use_os_pipe)
    rust-io-extras+use_os_pipe-devel

rust-io-extras+use_socket2-devel:
    crate(io-extras/use_socket2)
    rust-io-extras+use_socket2-devel

rust-io-extras+use_tokio-devel:
    crate(io-extras/use_tokio)
    rust-io-extras+use_tokio-devel



Generated by fedora-review 0.7.6 (b083f91) last change: 2020-11-10
Command line :/usr/bin/fedora-review -b 2027872 -m fedora-rawhide-x86_64
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Shell-api
Disabled plugins: Python, C/C++, Ruby, SugarActivity, Haskell, fonts, Perl,
Java, PHP, R, Ocaml
Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2027872
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux