Bug 2554576

Summary: Review Request: dotool - Reads actions from stdin and simulates keyboard/mouse input
Product: [Fedora] Fedora Reporter: wojnilowicz <lukasz.wojnilowicz>
Component: Package ReviewAssignee: Gwyn Ciesla <gwync>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gwync, package-review
Target Milestone: ---Flags: gwync: fedora-review+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-10-19 22:52:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description wojnilowicz 2026-10-17 10:37:49 UTC
Spec URL: https://wojnilowicz.fedorapeople.org/dotool.spec
SRPM URL: https://wojnilowicz.fedorapeople.org/dotool-1.6-1.fc44.src.rpm
Upstream URL: https://git.sr.ht/~geb/dotool

Description:

dotool reads actions from stdin and simulates
keyboard/mouse input using Linux's uinput module. It works system-wide
and supports keyboard layout.

Fedora Account System Username: wojnilowicz

I need this for numen at https://git.sr.ht/~geb/numen 
I built and tested it in my COPR at https://copr.fedorainfracloud.org/coprs/wojnilowicz/playground/build/11163722/

Comment 1 Gwyn Ciesla 2026-10-19 18:25:20 UTC
Package Review
==============

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


Issues:
=======
- Package installs properly.
  Note: Installation errors (see attachment)
  See: https://docs.fedoraproject.org/en-US/packaging-guidelines/


===== 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". 1 files have unknown license. Detailed
     output of licensecheck in /home/gwyn/2554576-dotool/licensecheck.txt
[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/udev/rules.d,
     /usr/lib/udev

Owned by systemd-udev

[x]: %build honors applicable compiler flags or justifies otherwise.
[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.
[x]: 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.
[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]: 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]: 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]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 2956 bytes in 2 files.
[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]: SourceX tarball generation or download is documented.
     Note: Package contains tarball without URL, check comments
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[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]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: Spec use %global instead of %define unless justified.

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

Generic:
[!]: Rpmlint is run on all installed packages.
     Note: Mock build failed
     See: https://docs.fedoraproject.org/en-US/packaging-
     guidelines/#_use_rpmlint
[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.


Installation errors
-------------------
INFO: mock.py version 6.9 starting (python version = 3.15.0, NVR = mock-6.9-1.fc45), args: /usr/libexec/mock/mock -r fedora-rawhide-x86_64 --no-cleanup-after --no-clean --plugin-option=tmpfs:keep_mounted=True --resultdir=/home/gwyn/2554576-dotool/results install /home/gwyn/2554576-dotool/results/dotool-debuginfo-1.6-1.fc46.x86_64.rpm /home/gwyn/2554576-dotool/results/dotool-1.6-1.fc46.x86_64.rpm /home/gwyn/2554576-dotool/results/dotool-debugsource-1.6-1.fc46.x86_64.rpm
Start(bootstrap): init plugins
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 6.9
INFO: Mock Version: 6.9
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
INFO: installing package(s): /builddir/dotool-debuginfo-1.6-1.fc46.x86_64.rpm /builddir/dotool-1.6-1.fc46.x86_64.rpm /builddir/dotool-debugsource-1.6-1.fc46.x86_64.rpm
ERROR: Command failed: 
 # /usr/bin/systemd-nspawn -q -M 7fb19b3a09564b9188b94794db44c76e -D /var/lib/mock/fedora-rawhide-x86_64-bootstrap/root -a --capability=cap_ipc_lock --restrict-address-families= --resolv-conf=off --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/var/lib/mock/fedora-rawhide-x86_64/root/installation-homedir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --setenv=LC_MESSAGES=C.UTF-8 /usr/bin/dnf5 --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ --releasever 46 install /builddir/dotool-debuginfo-1.6-1.fc46.x86_64.rpm /builddir/dotool-1.6-1.fc46.x86_64.rpm /builddir/dotool-debugsource-1.6-1.fc46.x86_64.rpm --setopt=deltarpm=False --setopt=allow_vendor_change=yes --allowerasing --setopt=tsflags=nocontexts



Rpmlint
-------
Checking: dotool-1.6-1.fc46.x86_64.rpm
          dotool-1.6-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/tmpjx5_h0me')]
checks: 32, packages: 2

dotool.src: E: spelling-error ('stdin', 'Summary(en_US) stdin -> Stein, stain, stdio')
dotool.src: E: spelling-error ('stdin', '%description -l en_US stdin -> Stein, stain, stdio')
dotool.src: E: spelling-error ('uinput', '%description -l en_US uinput -> input, inapt, inept')
dotool.x86_64: E: spelling-error ('stdin', 'Summary(en_US) stdin -> Stein, stain, stdio')
dotool.x86_64: E: spelling-error ('stdin', '%description -l en_US stdin -> Stein, stain, stdio')
dotool.x86_64: W: no-manual-page-for-binary dotoolc
dotool.x86_64: W: no-manual-page-for-binary dotoold
dotool.spec: W: invalid-url Source1: dotool-1.6-vendor.tar.bz2
 2 packages and 0 specfiles checked; 5 errors, 3 warnings, 11 filtered, 5 badness; has taken 0.5 s 




Source checksums
----------------
https://git.sr.ht/~geb/dotool/archive/1.6.tar.gz#/dotool-1.6.tar.gz :
  CHECKSUM(SHA256) this package     : ce6783b4b697cb8046da32995066926106db97afe7934b522b0e183b995fae1e
  CHECKSUM(SHA256) upstream package : ce6783b4b697cb8046da32995066926106db97afe7934b522b0e183b995fae1e


Requires
--------
dotool (rpmlib, GLIBC filtered):
    /bin/sh
    /usr/bin/sh
    libc.so.6()(64bit)
    libxkbcommon.so.0()(64bit)
    libxkbcommon.so.0(V_0.5.0)(64bit)
    libxkbcommon.so.0(V_1.0.0)(64bit)
    rtld(GNU_HASH)



Provides
--------
dotool:
    bundled(golang(git.sr.ht/~geb/opt))
    bundled(golang(github.com/bendahl/uinput))
    dotool
    dotool(x86-64)



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

Simple, looks good.

APPROVED.

Comment 2 Fedora Admin user for bugzilla script actions 2026-10-19 18:49:03 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/dotool
Monitoring:
Wasn't able to create project in Anitya. You can create it manually on: `https://release-monitoring.org`

Comment 3 Fedora Update System 2026-10-19 19:01:39 UTC
FEDORA-2026-f994b00713 (dotool-1.6-1.fc46) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-f994b00713

Comment 4 wojnilowicz 2026-10-19 19:14:09 UTC
Thanks for the review.

Comment 5 Fedora Update System 2026-10-19 22:52:15 UTC
FEDORA-2026-f994b00713 (dotool-1.6-1.fc46) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.