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

Jan <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|fedora-review?              |fedora-review+



--- Comment #2 from Jan <[email protected]> ---
Package APPROVED.

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

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


Issues:
=======
No MUST failures. A Koji scratch build passed on all primary arches, %check
included:
https://koji.fedoraproject.org/koji/taskinfo?taskID=152979818
  i686    22102 passed, 58 skipped
  x86_64  22102 passed, 58 skipped
  aarch64  6342 passed, 18 skipped
  ppc64le  3190 passed, 10 skipped
  s390x    3190 passed, 10 skipped (big-endian)
(The counts differ because the tests are parametrized per SIMD codec available
on the builder.)

Suggestions (non-blocking):
- The bot's "_license.cpython-315.opt-1.pyc is not marked as %license" is a
false
  positive. pybase64/_license.py is a runtime module that embeds the license
  text for `pybase64 --license`. The real LICENSE files (pybase64 and the
bundled
  base64) are installed via `%pyproject_save_files -l` under
dist-info/licenses/.
- `sed -i ... build_type = "Release"` fails silently if upstream changes that
  line. Consider checking it, e.g. `grep -q 'build_type = "RelWithDebInfo"'
setup.py`
  after the sed.
- The bundled base64 CMake build uses -Werror (-Wall -Wextra -Wpedantic). A
  future GCC could make this FTBFS. It's OK for now, but keep it in mind for
mass rebuilds.
- Alternative to Source1: the PyPI sdist already contains the base64 submodule.
  The current approach is fine: upstream's submodule pin (5d5074cb) is exactly
  aklomp/base64 tag v0.5.3, so Source1 matches what upstream ships.


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

C/C++:
[x]: Package does not contain kernel modules.
[x]: Development (unversioned) .so files in -devel subpackage, if present.
     Note: The only .so is the Python extension module
     _pybase64.cpython-315-x86_64-linux-gnu.so in site-packages, not in the
     ld path.
[x]: If your application is a C or C++ application you must list a
     BuildRequires against gcc, gcc-c++ or clang.
[x]: Package does not contain any libtool archives (.la)
[x]: Package contains no static executables.
[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.
     Note: BSD-2-Clause (pybase64 and bundled aklomp/base64), allowed.
[x]: License field in the package spec file matches the actual license.
     Note: licensecheck finds only BSD 2-Clause. Files without headers
     inherit the project LICENSE. base64/LICENSE is BSD-2-Clause too.
     METADATA: License-Expression: BSD-2-Clause.
[x]: Package must own all directories that it creates.
     Note: python3.15/site-packages is owned by python3-libs (false positive).
     pybase64/ and the dist-info are owned via %{pyproject_files}.
[x]: %build honors applicable compiler flags or justifies otherwise.
     Note: build.log shows the Fedora CFLAGS/LDFLAGS (hardened, annobin,
     -flto) on both the CMake build of libbase64 and the extension. The sed to
     RelWithDebInfo only changes the CMake-appended "-O3" to "-O2 -g".
[x]: Package contains no bundled libraries or specifies bundled libraries
     with Provides: bundled(<libname>) if unbundling is not possible.
     Note: aklomp/base64 0.5.3 is bundled (statically linked by upstream
     design) with Provides: bundled(base64) = 0.5.3. It isn't packaged in
     Fedora (rawhide repoquery: no libbase64/aklomp-base64).
[x]: Changelog in prescribed format.
     Note: %autochangelog
[x]: Sources contain only permissible code or content.
     Note: base64/base64-benchmarks.png and test data (moby_dick*) are not
     shipped. No prebuilt binaries.
[-]: Package contains desktop file if it is a GUI application.
[-]: 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.
     Note: PyPI "pybase64" -> python-pybase64 / python3-pybase64
[x]: Package does not generate any conflict.
     Note: /usr/bin/pybase64 and the pybase64 module are not provided by
     anything else.
[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.
     Note: upstream has no runtime Requires-Dist. Only python(abi) and libc
     are generated.
[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.
     Note: python3-pybase64-debuginfo contains the .debug for the extension
     (this is the reason for the RelWithDebInfo sed).
[x]: Package is not known to require an ExcludeArch tag.
     Note: scratch build passes on all primary arches (see Issues).
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 10541 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]: The License field must be a valid SPDX expression.
[x]: Package requires other packages for directories it uses.
[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

Python:
[x]: Python eggs must not download any dependencies during the build
     process.
[x]: A package which is used by another package via an egg interface should
     provide egg info.
[x]: Package meets the Packaging Guidelines::Python
     Note: %pyproject_* macros, %pyproject_save_files -l,
%pyproject_check_import
     and %pytest.
[x]: Package contains BR: python2-devel or python3-devel
[x]: Packages MUST NOT have dependencies (either build-time or runtime) on
     packages named with the unversioned python- prefix unless no properly
     versioned package exists. Dependencies on Python packages instead MUST
     use names beginning with python2- or python3- as appropriate.
[x]: Python packages must not contain %{pythonX_site(lib|arch)}/* in %files
[x]: Binary eggs must be removed in %prep

===== 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]: Package functions as described.
     Note: %pyproject_check_import and the upstream test suite pass on all
     arches (local mock x86_64: 18950 passed, 3210 skipped; Koji: see Issues).
[x]: Latest version is packaged.
     Note: 1.5.2 = latest GitHub release and PyPI. (Bundled base64 0.5.3 is
     upstream's pinned version. aklomp/base64 v0.6.0 exists but pybase64
     doesn't use it yet.)
[x]: Package does not include license text files separate from upstream.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: upstream doesn't sign releases.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
     Note: Koji scratch build 152979818: i686, x86_64, aarch64, ppc64le, s390x.
[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.

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

Generic:
[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: python3-pybase64-1.5.2-1.fc46.x86_64.rpm
          python-pybase64-1.5.2-1.fc46.src.rpm
============================ rpmlint session starts
============================
rpmlint: 2.9.0
configuration:
    /usr/lib/python3.15/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/tmpauqxx2my')]
checks: 32, packages: 2

python3-pybase64.x86_64: W: no-manual-page-for-binary pybase64
 2 packages and 0 specfiles checked; 0 errors, 1 warnings, 7 filtered, 0
badness; has taken 0.4 s 




Rpmlint (installed packages)
----------------------------
============================ rpmlint session starts
============================
rpmlint: 2.10.0
configuration:
    /usr/lib/python3.15/site-packages/rpmlint/configdefaults.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: 33, packages: 1

python3-pybase64.x86_64: W: no-manual-page-for-binary pybase64
 1 packages and 0 specfiles checked; 0 errors, 1 warnings, 3 filtered, 0
badness; has taken 0.1 s 



Unversioned so-files
--------------------
python3-pybase64:
/usr/lib64/python3.15/site-packages/pybase64/_pybase64.cpython-315-x86_64-linux-gnu.so

Source checksums
----------------
https://github.com/mayeut/pybase64/archive/refs/tags/v1.5.2.tar.gz#/pybase64-1.5.2.tar.gz
:
  CHECKSUM(SHA256) this package     :
0cd18b1bf1e46e6c06411fedf2d353cab4285241f97154200f4918b95a41cd7f
  CHECKSUM(SHA256) upstream package :
0cd18b1bf1e46e6c06411fedf2d353cab4285241f97154200f4918b95a41cd7f
https://github.com/aklomp/base64/archive/refs/tags/v0.5.3.tar.gz#/base64-0.5.3.tar.gz
:
  CHECKSUM(SHA256) this package     :
74f83a5396660dfe5a09f0339982c03c44ef018e459a8bfcde8b31ca7444aa42
  CHECKSUM(SHA256) upstream package :
74f83a5396660dfe5a09f0339982c03c44ef018e459a8bfcde8b31ca7444aa42


Requires
--------
python3-pybase64 (rpmlib, GLIBC filtered):
    /usr/bin/python3
    libc.so.6()(64bit)
    python(abi)
    rtld(GNU_HASH)



Provides
--------
python3-pybase64:
    bundled(base64)
    python-pybase64
    python3-pybase64
    python3-pybase64(x86-64)
    python3.15-pybase64
    python3.15dist(pybase64)
    python3dist(pybase64)



Generated by fedora-review 0.12.0 (a08f0fc) last change: 2026-09-18
Command line :/usr/bin/fedora-review -n python-pybase64 -m
fedora-rawhide-x86_64 --no-colors
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, C/C++, Shell-api, Python
Disabled plugins: fonts, Java, R, SugarActivity, Perl, Ocaml, Haskell, PHP
Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH, UNRETIREMENT


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2588101

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202588101%23c2

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to