Bug 2143140 - Review Request: kyotocabinet - A straightforward implementation of DBM
Summary: Review Request: kyotocabinet - A straightforward implementation of DBM
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Parag AN(पराग)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-16 07:15 UTC by Peng Wu
Modified: 2022-11-22 03:55 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-22 03:55:03 UTC
Type: ---
Embargoed:
panemade: fedora-review+


Attachments (Terms of Use)

Description Peng Wu 2022-11-16 07:15:20 UTC
Spec URL: https://pwu.fedorapeople.org/kyotocabinet/kyotocabinet.spec
SRPM URL: https://pwu.fedorapeople.org/kyotocabinet/kyotocabinet-1.2.79-1.fc38.src.rpm
Description: A straightforward implementation of DBM
Fedora Account System Username:pwu

Comment 1 Peng Wu 2022-11-17 05:55:12 UTC
The libpinyin package supports Berkeley DB and Kyoto Cabinet.

We add back the Kyoto Cabinet package, because we may need to switch to use Kyoto Cabinet in the libpinyin package in future.

Comment 2 Parag AN(पराग) 2022-11-17 09:02:03 UTC

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

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


Issues:
=======
- Package does not use a name that already exists.
  Note: A package with this name already exists. Please check
  https://src.fedoraproject.org/rpms/kyotocabinet
  See: https://docs.fedoraproject.org/en-US/packaging-
  guidelines/Naming/#_conflicting_package_names

==>  Just to note here. It appears this package has been orphaned and retired from Fedora previously.
The reason to revive this package is explained by submitter in above comment.


- Large documentation must go in a -doc subpackage. Large could be size
  (~1MB) or number of files.
  Note: Documentation size is 4403200 bytes in 269 files.
  See: https://docs.fedoraproject.org/en-US/packaging-
  guidelines/#_documentation
==> Here previous package maintainer selected -apidocs instead of -docs so this should be okay.

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

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: If your application is a C or C++ application you must list a
     BuildRequires against gcc, gcc-c++ or clang.
[x]: Header files in -devel subpackage, if present.
[x]: ldconfig not called in %post and %postun for Fedora 28 and later.
[x]: Package does not contain any libtool archives (.la)
[x]: Rpath absent or only used for internal libs.
[x]: Development (unversioned) .so files in -devel subpackage, if present.

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* Free Art License", "GNU
     General Public License, Version 3", "GNU General Public License v3.0
     or later", "FSF Unlimited License [generated file]", "GNU General
     Public License". 326 files have unknown license. Detailed output of
     licensecheck in /home/test/2143140-kyotocabinet/licensecheck.txt

==>  Note we now moved to using SPDX license expression. Good to update this package for new license tag "GPL-3.0-only"

[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]: Useful -debuginfo package or justification otherwise.
[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]: 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 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).
[-]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in
     kyotocabinet-libs , kyotocabinet-devel , kyotocabinet-apidocs
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: 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]: 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]: The placement of pkgconfig(.pc) files are correct.
[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: No rpmlint messages.
[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
-------
Checking: kyotocabinet-1.2.79-1.fc38.x86_64.rpm
          kyotocabinet-libs-1.2.79-1.fc38.x86_64.rpm
          kyotocabinet-devel-1.2.79-1.fc38.x86_64.rpm
          kyotocabinet-apidocs-1.2.79-1.fc38.noarch.rpm
          kyotocabinet-debuginfo-1.2.79-1.fc38.x86_64.rpm
          kyotocabinet-debugsource-1.2.79-1.fc38.x86_64.rpm
          kyotocabinet-1.2.79-1.fc38.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/tmpprj3onzt')]
checks: 31, packages: 7

kyotocabinet-apidocs.noarch: W: package-with-huge-docs 100%
kyotocabinet-devel.x86_64: W: no-documentation
==================================== 7 packages and 0 specfiles checked; 0 errors, 2 warnings, 0 badness; has taken 1.0 s ====================================




Rpmlint (debuginfo)
-------------------
Checking: kyotocabinet-libs-debuginfo-1.2.79-1.fc38.x86_64.rpm
          kyotocabinet-debuginfo-1.2.79-1.fc38.x86_64.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/tmpmeabal6v')]
checks: 31, packages: 2

==================================== 2 packages and 0 specfiles checked; 0 errors, 0 warnings, 0 badness; has taken 0.6 s ====================================





Rpmlint (installed packages)
----------------------------
============================ 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
checks: 31, packages: 7

kyotocabinet-apidocs.noarch: W: package-with-huge-docs 100%
kyotocabinet-devel.x86_64: W: no-documentation
 7 packages and 0 specfiles checked; 0 errors, 2 warnings, 0 badness; has taken 2.8 s 



Source checksums
----------------
https://dbmx.net/kyotocabinet/pkg/kyotocabinet-1.2.79.tar.gz :
  CHECKSUM(SHA256) this package     : 67fb1da4ae2a86f15bb9305f26caa1a7c0c27d525464c71fd732660a95ae3e1d
  CHECKSUM(SHA256) upstream package : 67fb1da4ae2a86f15bb9305f26caa1a7c0c27d525464c71fd732660a95ae3e1d


Requires
--------
kyotocabinet (rpmlib, GLIBC filtered):
    kyotocabinet-libs(x86-64)
    libc.so.6()(64bit)
    libgcc_s.so.1()(64bit)
    libgcc_s.so.1(GCC_3.0)(64bit)
    libgcc_s.so.1(GCC_3.3.1)(64bit)
    libkyotocabinet.so.16()(64bit)
    libm.so.6()(64bit)
    libstdc++.so.6()(64bit)
    libstdc++.so.6(CXXABI_1.3)(64bit)
    libstdc++.so.6(CXXABI_1.3.5)(64bit)
    libstdc++.so.6(CXXABI_1.3.8)(64bit)
    libstdc++.so.6(CXXABI_1.3.9)(64bit)
    rtld(GNU_HASH)

kyotocabinet-libs (rpmlib, GLIBC filtered):
    libc.so.6()(64bit)
    libgcc_s.so.1()(64bit)
    libgcc_s.so.1(GCC_3.0)(64bit)
    libgcc_s.so.1(GCC_3.3.1)(64bit)
    liblzma.so.5()(64bit)
    liblzma.so.5(XZ_5.0)(64bit)
    liblzo2.so.2()(64bit)
    libm.so.6()(64bit)
    libstdc++.so.6()(64bit)
    libstdc++.so.6(CXXABI_1.3)(64bit)
    libstdc++.so.6(CXXABI_1.3.5)(64bit)
    libstdc++.so.6(CXXABI_1.3.8)(64bit)
    libstdc++.so.6(CXXABI_1.3.9)(64bit)
    libz.so.1()(64bit)
    rtld(GNU_HASH)

kyotocabinet-devel (rpmlib, GLIBC filtered):
    /usr/bin/pkg-config
    kyotocabinet-libs(x86-64)
    libkyotocabinet.so.16()(64bit)
    pkgconfig

kyotocabinet-apidocs (rpmlib, GLIBC filtered):

kyotocabinet-debuginfo (rpmlib, GLIBC filtered):

kyotocabinet-debugsource (rpmlib, GLIBC filtered):



Provides
--------
kyotocabinet:
    kyotocabinet
    kyotocabinet(x86-64)

kyotocabinet-libs:
    kyotocabinet-lib
    kyotocabinet-lib(x86-64)
    kyotocabinet-libs
    kyotocabinet-libs(x86-64)
    libkyotocabinet.so.16()(64bit)

kyotocabinet-devel:
    kyotocabinet-devel
    kyotocabinet-devel(x86-64)
    pkgconfig(kyotocabinet)

kyotocabinet-apidocs:
    kyotocabinet-api-doc
    kyotocabinet-apidocs

kyotocabinet-debuginfo:
    debuginfo(build-id)
    kyotocabinet-debuginfo
    kyotocabinet-debuginfo(x86-64)

kyotocabinet-debugsource:
    kyotocabinet-debugsource
    kyotocabinet-debugsource(x86-64)



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

APPROVED.

Comment 3 Peng Wu 2022-11-22 03:55:03 UTC
Built for Fedora rawhide.

Koji URL: https://koji.fedoraproject.org/koji/taskinfo?taskID=94410723


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