Bug 2524345 - Review Request: pdfposter - CLI tool to scale and tile PDF images/pages to print on multiple pages
Summary: Review Request: pdfposter - CLI tool to scale and tile PDF images/pages to pr...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL: https://pdfposter.readthedocs.io/
Whiteboard: Unretirement
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-26 11:31 UTC by Tadej Janež
Modified: 2026-10-21 22:32 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tadej Janež 2026-08-26 11:31:08 UTC
Spec URL: https://tadej.fedorapeople.org/pdfposter.spec
SRPM URL: https://tadej.fedorapeople.org/pdfposter-0.9.1-1.fc46.src.rpm
Description:
pdfposter creates a large poster by building it from multiple pages and/or
printing it on large media. It takes a PDF file as input, normally intended
for printing on a single page, and produces another PDF file which may
contain multiple pages that together build up the poster. The input page is
scaled to obtain the desired size.

Fedora Account System Username: tadej

Note that it requires pypdf > 5.5 which is available for F45+.

Comment 1 Fedora Review Service 2026-08-27 03:13:48 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/10908919
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2524345-pdfposter/fedora-rawhide-x86_64/10908919-pdfposter/fedora-review/review.txt

Found issues:

- A package with this name already exists. Please check https://src.fedoraproject.org/rpms/pdfposter
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/#_conflicting_package_names

Please know that there can be false-positives.

---
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 Tadej Janež 2026-08-27 07:58:16 UTC
(In reply to Fedora Review Service from comment #1)
> 
> Found issues:
> 
> - A package with this name already exists. Please check
> https://src.fedoraproject.org/rpms/pdfposter
>   Read more:
> https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/
> #_conflicting_package_names
> 
> Please know that there can be false-positives.

The package already exists in dist-git because it was retired.
I'm submitting this as a re-review request as per Policy for Orphan and Retired Packages:
https://docs.fedoraproject.org/en-US/fesco/Policy_for_orphan_and_retired_packages/#unorphaning_and_unretiring_packages

Comment 3 Tadej Janež 2026-09-08 11:44:50 UTC
[fedora-review-service-build]

Comment 4 Tadej Janež 2026-09-11 10:14:14 UTC
[fedora-review-service-build]

Comment 5 Jan Niklas Hasse 2026-10-20 19:51:16 UTC
Hi :) Informal review as I'm not a packager yet.

I ran fedora-review and everything seems good (licenses, sources, %lang for the .mo files, 0.9.1 is newer than the last build before retirement, 0.7.post1-27). I've tested pdfposter on a PDF and it worked as expected.

Some minor stuff:

1. Maybe create an upstream issue similar to https://gitlab.com/pdftools/pdfposter/-/work_items/9 for them to include the test suite in the PyPI sdist?
2. The tests print a pypdf DeprecationWarning: PageObject.replace_contents() for pages not assigned to a writer "will be removed in pypdf 7.0.0". So pdfposter will probably break with pypdf 7, which (judging by their release history) could come any time now.

Comment 6 Jan Niklas Hasse 2026-10-21 22:32:59 UTC
Full fedora-review template for my informal review in comment 5:

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

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


Issues:
=======
1. Maybe create an upstream issue similar to
   https://gitlab.com/pdftools/pdfposter/-/work_items/9 for them to include the
   test suite in the PyPI sdist?
2. The tests print a pypdf DeprecationWarning: PageObject.replace_contents()
   for pages not assigned to a writer "will be removed in pypdf 7.0.0". So
   pdfposter will probably break with pypdf 7, which (judging by their release
   history) could come any time now.


===== 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", "GNU Free Documentation License v1.3 or
     later", "Creative Commons CC0 1.0", "GNU General Public License,
     Version 3", "GNU Free Documentation License v1.3", "BSD 2-Clause
     License and/or FSF All Permissive License", "GNU General Public
     License v3.0 or later". 31 files have unknown license.
[x]: If the package is under multiple licenses, the licensing breakdown
     must be documented in the spec.
[x]: Package must own all directories that it creates.
     Note: Directories without known owners: /usr/lib/python3.15/site-
     packages, /usr/lib/python3.15
[x]: Package contains no bundled libraries or specifies bundled libraries
     with Provides: bundled(<libname>) if unbundling is not possible.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: 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.
[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.
     Note: Unretirement, same name. 0.9.1-1 is newer than the last build
     0.7.post1-27 (checked with rpmdev-vercmp).
[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]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: No rpmlint messages.
[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]: 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.
     Note: Package is re-reviewed for unretirement; an existing package
     with this name is expected.
[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 6137 bytes in 2 files.
[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: Uses the pyproject macros, %pyproject_save_files with
     --assert-license and %pyproject_check_import. See issue 1 for the
     sources.
[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.
[x]: Latest version is packaged.
[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.
     Note: 48 passed, see issue 2 for the warnings.
[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]: Spec file according to URL is the same as in SRPM.
     Note: Spec file as given by url is not the same as in SRPM (see
     attached diff).
     See: (this test has no URL)
[x]: Rpmlint is run on all installed packages.
     Note: No rpmlint messages.


Rpmlint
-------
Checking: pdfposter-0.9.1-1.fc46.noarch.rpm
          pdfposter-0.9.1-1.fc46.src.rpm
============================ rpmlint session starts ============================
rpmlint: 2.8.0
configuration:
    /usr/lib/python3.14/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
rpmlintrc: [PosixPath('/tmp/tmp9j7zg6lu')]
checks: 32, packages: 2

 2 packages and 0 specfiles checked; 0 errors, 0 warnings, 7 filtered, 0 badness; has taken 0.3 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

 1 packages and 0 specfiles checked; 0 errors, 0 warnings, 3 filtered, 0 badness; has taken 0.0 s 



Source checksums
----------------
https://files.pythonhosted.org/packages/source/p/pdfposter/pdfposter-0.9.1.tar.gz :
  CHECKSUM(SHA256) this package     : 639814ac7238ef4bec391113c64a5fdd61f961781d21e4d9bd26f7bff5200f6e
  CHECKSUM(SHA256) upstream package : 639814ac7238ef4bec391113c64a5fdd61f961781d21e4d9bd26f7bff5200f6e
https://gitlab.com/pdftools/pdfposter/-/archive/v0.9.1/pdfposter-v0.9.1.tar.bz2 :
  CHECKSUM(SHA256) this package     : b588f454d44e3e8dcda450a18df9456f71ac67f57be532d1412c1ff112a8cb50
  CHECKSUM(SHA256) upstream package : b588f454d44e3e8dcda450a18df9456f71ac67f57be532d1412c1ff112a8cb50


Requires
--------
pdfposter (rpmlib, GLIBC filtered):
    /usr/bin/python3
    python(abi)
    python3.15dist(pypdf)



Provides
--------
pdfposter:
    pdfposter
    python3.15dist(pdfposter)
    python3dist(pdfposter)



Diff spec file in url and in SRPM
---------------------------------
--- srpm/pdfposter.spec	2026-10-21 23:37:00.200799444 +0200
+++ srpm-unpacked/pdfposter.spec	2026-08-26 02:00:00.000000000 +0200
@@ -1,2 +1,12 @@
+## START: Set by rpmautospec
+## (rpmautospec version 0.8.4)
+## RPMAUTOSPEC: autorelease, autochangelog
+%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
+    release_number = 1;
+    base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
+    print(release_number + base_release_number - 1);
+}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
+## END: Set by rpmautospec
+
 Name:           pdfposter
 Version:        0.9.1
@@ -84,3 +94,6 @@
 
 %changelog
-%autochangelog
+## START: Generated by rpmautospec
+* Wed Aug 26 2026 Tadej Janež <tadej.j> - 0.9.1-1
+- Initial SPEC file
+## END: Generated by rpmautospec


Generated by fedora-review 0.12.0 (a08f0fc) last change: 2026-09-18
Command line :/usr/bin/fedora-review -b 2524345 -m fedora-rawhide-x86_64 -o --no-cleanup-after --no-clean --plugin-option=tmpfs:keep_mounted=True --define '_smp_ncpus_max 4'
Buildroot used: fedora-rawhide-x86_64
Active plugins: Shell-api, Python, Generic
Disabled plugins: Haskell, PHP, C/C++, fonts, Ocaml, SugarActivity, R, Perl, Java
Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH


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