Bug 2132809 - Re-review Request: minizip-ng - Renaming minizip to minizip-ng
Summary: Re-review Request: minizip-ng - Renaming minizip to minizip-ng
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ondřej Sloup
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-06 18:50 UTC by Lukas Javorsky
Modified: 2022-10-27 10:40 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-10-27 10:40:10 UTC
Type: ---
Embargoed:
osloup: fedora-review+


Attachments (Terms of Use)

Description Lukas Javorsky 2022-10-06 18:50:44 UTC
Spec URL: https://ljavorsk.fedorapeople.org/minizip-ng/minizip-ng.spec
SRPM URL: https://ljavorsk.fedorapeople.org/minizip-ng/minizip-ng-3.0.2-7.fc38.src.rpm
Description: Re-review for the minizip-ng renaming process described in this Fedora Change: https://fedoraproject.org/wiki/Changes/MinizipRenaming
Fedora Account System Username: ljavorsk

Comment 1 Lukas Javorsky 2022-10-07 11:43:24 UTC
Diff between the current minizip package and the new proposed minizip-ng package:
http://pastebin.test.redhat.com/1076668

Comment 2 Lukas Javorsky 2022-10-07 17:09:09 UTC
There were a few errors in the previous version.

The new working version has replaced the files mentioned in comment#1

This is the diff between the new version: http://pastebin.test.redhat.com/1076754
This is the scratch build of the SRPM: https://koji.fedoraproject.org/koji/taskinfo?taskID=92742407

Comment 3 Ondřej Sloup 2022-10-19 11:58:05 UTC
```
$ rpm -qi *.rpm
Name        : minizip-ng
Version     : 3.0.2
Release     : 7.fc36
Architecture: x86_64
Install Date: (not installed)
Group       : Unspecified
Size        : 171569
License     : zlib
Signature   : (none)
Source RPM  : minizip-ng-3.0.2-7.fc36.src.rpm
Build Date  : St 19. října 2022, 13:35:59
Build Host  : redtardis
URL         : https://github.com/nmoinvaz/minizip-ng
Summary     : Minizip-ng contrib in zlib-ng with the latest bug fixes and advanced features
Description :
Minizip-ng zlib-ng contribution that includes:
* AES encryption
* I/O buffering
* PKWARE disk splitting
It also has the latest bug fixes that having been found all over the internet.

```

```
$ rpm -q --requires *.rpm
libbz2.so.1()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.17)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.33)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libcrypto.so.3()(64bit)
libcrypto.so.3(OPENSSL_3.0.0)(64bit)
liblzma.so.5()(64bit)
liblzma.so.5(XZ_5.0)(64bit)
libz.so.1()(64bit)
libzstd.so.1()(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1
rtld(GNU_HASH)
```

```
$ rpm -q --provides *.rpm
libminizip.so.3.0()(64bit)
minizip <= 3.0.2-7.fc36
minizip-ng = 3.0.2-7.fc36
minizip-ng(x86-64) = 3.0.2-7.fc36
```

```
$ rpm -q --obsoletes *.rpm
minizip < 3.0.3
```

```
=====================================================================================================================================================================
 Package                                Architecture                       Version                                    Repository                                Size
=====================================================================================================================================================================
Installing:
 minizip-ng                             x86_64                             3.0.2-7.fc36                               @commandline                              70 k
     replacing  minizip.x86_64 3.0.2-6.fc36

Transaction Summary
=====================================================================================================================================================================
Install  1 Package
```

```
Package Review
==============

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



===== 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* zlib License", "*No
     copyright* Public domain". 98 files have unknown license. Detailed
     output of licensecheck in /home/osloup/spec/2132809-minizip-
     ng/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[x]: Package requires other packages for directories it uses.
     Note: No known owner of /usr/include/minizip-ng
[x]: Package must own all directories that it creates.
     Note: Directories without known owners: /usr/include/minizip-ng
[x]: Package does not own files or directories owned by other packages.
     Note: Dirs in package are owned also by:
     /usr/lib64/cmake/minizip(minizip-devel)
[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.
[x]: 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.
[x]: 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 1 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 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:
[x]: 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]: 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.
[-]: 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]: Fully versioned dependency in subpackages if applicable.
[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: 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
-------
Checking: minizip-ng-3.0.2-7.fc36.src.rpm
	  minizip-ng-3.0.2-7.fc36.x86_64.rpm


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: 4

minizip-ng.x86_64: W: self-obsoletion minizip < 3.0.3 obsoletes minizip <= 3.0.2-7.fc38
minizip-ng-devel.x86_64: W: self-obsoletion minizip-devel < 3.0.3 obsoletes minizip-devel <= 3.0.2-7.fc38
minizip-ng-devel.x86_64: W: no-documentation
minizip-ng.x86_64: W: name-repeated-in-summary Minizip-ng
 4 packages and 0 specfiles checked; 0 errors, 4 warnings, 0 badness; has taken 0.2 s 



Source checksums
----------------
https://github.com/nmoinvaz/minizip-ng/archive/3.0.2/minizip-ng-3.0.2.tar.gz :
  CHECKSUM(SHA256) this package     : 6ba4b6629c107c27ab526e517bdb105612232f0965a6747f60150e5a04c2fe5a
  CHECKSUM(SHA256) upstream package : 6ba4b6629c107c27ab526e517bdb105612232f0965a6747f60150e5a04c2fe5a


Requires
--------
minizip-ng (rpmlib, GLIBC filtered):
    libbz2.so.1()(64bit)
    libc.so.6()(64bit)
    libcrypto.so.3()(64bit)
    libcrypto.so.3(OPENSSL_3.0.0)(64bit)
    liblzma.so.5()(64bit)
    liblzma.so.5(XZ_5.0)(64bit)
    libz.so.1()(64bit)
    libzstd.so.1()(64bit)
    rtld(GNU_HASH)

minizip-ng-devel (rpmlib, GLIBC filtered):
    /usr/bin/pkg-config
    cmake-filesystem(x86-64)
    libminizip.so.3.0()(64bit)
    minizip-ng(x86-64)
    pkgconfig(zlib)
    zlib-devel

Provides
--------
minizip-ng:
    libminizip.so.3.0()(64bit)
    minizip
    minizip-ng
    minizip-ng(x86-64)

minizip-ng-devel:
    cmake(minizip)
    minizip-devel
    minizip-ng-devel
    minizip-ng-devel(x86-64)
    pkgconfig(minizip)

minizip-ng-debuginfo:
    debuginfo(build-id)
    libminizip.so.3.0.2-3.0.2-7.fc38.x86_64.debug()(64bit)
    minizip-ng-debuginfo
    minizip-ng-debuginfo(x86-64)

minizip-ng-debugsource:
    minizip-ng-debugsource
    minizip-ng-debugsource(x86-64)



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

Comment 4 Lukas Javorsky 2022-10-24 12:52:56 UTC
Request for repo: https://pagure.io/releng/fedora-scm-requests/issue/48387

Comment 5 Gwyn Ciesla 2022-10-24 21:46:23 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/minizip-ng


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