Bug 2176199 - Review Request: rust-bcrypt - Easily hash and verify passwords using bcrypt
Summary: Review Request: rust-bcrypt - Easily hash and verify passwords using bcrypt
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: blinxen
QA Contact: Fedora Extras Quality Assurance
URL: https://crates.io/crates/bcrypt
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-07 16:01 UTC by Sandro Mani
Modified: 2023-03-13 18:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-12 13:58:52 UTC
Type: ---
Embargoed:
h-k-81: fedora-review+


Attachments (Terms of Use)

Description Sandro Mani 2023-03-07 16:01:29 UTC
Spec URL: https://smani.fedorapeople.org/review/rust-bcrypt.spec
SRPM URL: https://smani.fedorapeople.org/review/rust-bcrypt-0.13.0-1.fc39.src.rpm
Description: Easily hash and verify passwords using bcrypt
Fedora Account System Username: smani

Comment 1 Jakub Kadlčík 2023-03-07 16:05:41 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5603287
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2176199-rust-bcrypt/fedora-rawhide-x86_64/05603287-rust-bcrypt/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 blinxen 2023-03-10 16:25:04 UTC
Looks good to me.

APPROVED

Package Review
==============

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

===== 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.
[x]: License file installed when any subpackage combination is installed.
[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.
[-]: 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]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[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]: 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]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 0 bytes in 0 files.
[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.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in rust-
     bcrypt-devel , rust-bcrypt+default-devel , rust-bcrypt+alloc-devel ,
     rust-bcrypt+js-devel , rust-bcrypt+std-devel , rust-bcrypt+zeroize-
     devel
[?]: Package functions as described.
[!]: Latest version is packaged.
     See https://bugzilla.redhat.com/show_bug.cgi?id=2176197#c4
[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.
[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]: Spec use %global instead of %define unless justified.

Rpmlint
-------
Checking: rust-bcrypt-devel-0.13.0-1.fc39.noarch.rpm
          rust-bcrypt+default-devel-0.13.0-1.fc39.noarch.rpm
          rust-bcrypt+alloc-devel-0.13.0-1.fc39.noarch.rpm
          rust-bcrypt+js-devel-0.13.0-1.fc39.noarch.rpm
          rust-bcrypt+std-devel-0.13.0-1.fc39.noarch.rpm
          rust-bcrypt+zeroize-devel-0.13.0-1.fc39.noarch.rpm
          rust-bcrypt-0.13.0-1.fc39.src.rpm
============================================================================================================ rpmlint session starts ===========================================================================================================
rpmlint: 2.4.0
configuration:
    /usr/lib/python3.11/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-legacy-licenses.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmpqqu8b1ze')]
checks: 31, packages: 7

rust-bcrypt+alloc-devel.noarch: W: no-documentation
rust-bcrypt+default-devel.noarch: W: no-documentation
rust-bcrypt+js-devel.noarch: W: no-documentation
rust-bcrypt+std-devel.noarch: W: no-documentation
rust-bcrypt+zeroize-devel.noarch: W: no-documentation
============================================================================= 7 packages and 0 specfiles checked; 0 errors, 5 warnings, 0 badness; has taken 0.2 s ============================================================================




Source checksums
----------------
https://crates.io/api/v1/crates/bcrypt/0.13.0/download#/bcrypt-0.13.0.crate :
  CHECKSUM(SHA256) this package     : a7e7c93a3fb23b2fdde989b2c9ec4dd153063ec81f408507f84c090cd91c6641
  CHECKSUM(SHA256) upstream package : a7e7c93a3fb23b2fdde989b2c9ec4dd153063ec81f408507f84c090cd91c6641


Requires
--------
rust-bcrypt-devel (rpmlib, GLIBC filtered):
    (crate(base64) >= 0.13.0 with crate(base64) < 0.14.0~)
    (crate(blowfish/bcrypt) >= 0.9.0 with crate(blowfish/bcrypt) < 0.10.0~)
    (crate(blowfish/default) >= 0.9.0 with crate(blowfish/default) < 0.10.0~)
    (crate(getrandom/default) >= 0.2.0 with crate(getrandom/default) < 0.3.0~)
    cargo

rust-bcrypt+default-devel (rpmlib, GLIBC filtered):
    cargo
    crate(bcrypt)
    crate(bcrypt/std)
    crate(bcrypt/zeroize)

rust-bcrypt+alloc-devel (rpmlib, GLIBC filtered):
    (crate(base64/alloc) >= 0.13.0 with crate(base64/alloc) < 0.14.0~)
    cargo
    crate(bcrypt)

rust-bcrypt+js-devel (rpmlib, GLIBC filtered):
    (crate(getrandom/js) >= 0.2.0 with crate(getrandom/js) < 0.3.0~)
    cargo
    crate(bcrypt)

rust-bcrypt+std-devel (rpmlib, GLIBC filtered):
    (crate(base64/std) >= 0.13.0 with crate(base64/std) < 0.14.0~)
    (crate(getrandom/std) >= 0.2.0 with crate(getrandom/std) < 0.3.0~)
    cargo
    crate(bcrypt)

rust-bcrypt+zeroize-devel (rpmlib, GLIBC filtered):
    (crate(zeroize/default) >= 1.5.4 with crate(zeroize/default) < 2.0.0~)
    cargo
    crate(bcrypt)



Provides
--------
rust-bcrypt-devel:
    crate(bcrypt)
    rust-bcrypt-devel

rust-bcrypt+default-devel:
    crate(bcrypt/default)
    rust-bcrypt+default-devel

rust-bcrypt+alloc-devel:
    crate(bcrypt/alloc)
    rust-bcrypt+alloc-devel

rust-bcrypt+js-devel:
    crate(bcrypt/js)
    rust-bcrypt+js-devel

rust-bcrypt+std-devel:
    crate(bcrypt/std)
    rust-bcrypt+std-devel

rust-bcrypt+zeroize-devel:
    crate(bcrypt/zeroize)
    rust-bcrypt+zeroize-devel



Generated by fedora-review 0.9.0 (6761b6c) last change: 2022-08-23
Command line :/usr/bin/fedora-review --bug 2176199
Buildroot used: fedora-rawhide-x86_64
Active plugins: Shell-api, Generic
Disabled plugins: PHP, Java, Haskell, Ocaml, fonts, Perl, C/C++, SugarActivity, Python, R
Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH

Comment 3 Fedora Admin user for bugzilla script actions 2023-03-12 12:19:42 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-bcrypt

Comment 4 Sandro Mani 2023-03-12 13:58:52 UTC
Thanks!

Comment 5 Fabio Valentini 2023-03-12 16:39:22 UTC
Please don't forget about these rRecommended post-import tasks:

- add @rust-sig with "commit" access as package co-maintainer

- set bugzilla assignee overrides to @rust-sig (optional)

- set up package on release-monitoring.org:
  project: $crate
  homepage: https://crates.io/crates/$crate
  backend: crates.io
  version scheme: semantic
  version filter: alpha;beta;rc;pre
  distro: Fedora
  Package: rust-$crate

- track package in koschei for all built branches

Comment 6 Sandro Mani 2023-03-13 18:17:46 UTC
Done


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