Bug 2586049 - Review Request: dsview - An open source multi-function instrument for everyone [NEEDINFO]
Summary: Review Request: dsview - An open source multi-function instrument for everyone
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Fedor Vorobev
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 10:14 UTC by Jaroslav Škarvada
Modified: 2026-12-04 14:42 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
fvorobev: fedora-review?
fvorobev: needinfo? (jskarvad)


Attachments (Terms of Use)

Description Jaroslav Škarvada 2026-11-30 10:14:52 UTC
Spec URL: https://jskarvad.fedorapeople.org/dsview/dsview.spec
SRPM URL: https://jskarvad.fedorapeople.org/dsview/dsview-1.3.0%5e20261127git2e9e2c8e-1.fc46.src.rpm
Description: DSView is a GUI program for supporting various instruments from DreamSourceLab, including logic analyzers, oscilloscopes, etc. DSView is based on the sigrok project.
Fedora Account System Username: jskarvad

Comment 1 Fedor Vorobev 2026-12-04 14:42:26 UTC
Package Review
==============

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


Issues:
=======
[!]: "Package contains no bundled libraries or specifies bundled libraries
      with Provides: bundled(<libname>) if unbundling is not possible."
     Is it possible to link to minizip-ng instead of bundling minizip?
     Also, libsigrok4DSL and libsigrokdecode4DSL are technically libraries
     and are bundled, but not specified. Does it make any sense to attempt to
     package these libraries separately?

[!]: "Package uses nothing in %doc for runtime."
     ug25.pdf and ug31.pdf are present in /usr/share/DSView/ in the main (dsview)
     package, -doc package just installs additional copies of the files. Additionally,
     the DSView itself references the files and allows to open the documentation PDFs
     right from the program. Is it even worth having a -doc subpackage in this case?

[!]: (noted by fedora-review, related to the previous point)
     "Large data in /usr/share should live in a noarch subpackage if package is arched."
     Note: Arch-ed rpms have a total of 18780160 bytes in /usr/share
     dsview-1.3.0^20261127git2e9e2c8e-1.fc46.x86_64.rpm:18780160
     See: https://fedoraproject.org/wiki/Packaging:ReviewGuidelines#Package_Review_Guidelines

[!]: "Large documentation must go in a -doc subpackage. Large could be size
      (~1MB) or number of files."
     (related to the previous two points again, docs are both in the main and in the doc packages.)

[!]: "Package consistently uses macros (instead of hard-coded directory names)."
     > %{_prefix}/lib/udev/rules.d/60-dreamsourcelab.rules
     Why not %{_libdir}/udev/rules.d/60-dreamsourcelab.rules ?
   
[!]: (SHOULD-item) "%check is present and all tests pass."
     CMakeLists.txt references ENABLE_TESTS as an option. Can it be used
     to run tests during build?

[!]: Summary "An open source multi-function instrument for everyone"
     is extremely vague.

[!]: "Package complies to the Packaging Guidelines"
     See: All of the above ¯\_(ツ)_/¯ 

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

C/C++:
[x]: Package does not contain kernel modules.
[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.
[x]: License field in the package spec file matches the actual license.
[x]: License file installed when any subpackage combination is installed.
[x]: Package must own all directories that it creates.
[x]: %build honors applicable compiler flags or justifies otherwise.
     NOTE: Adds a patch to make it honor the compiler flags.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Development files must be in a -devel package
[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 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]: Package contains desktop file if it is a GUI application.
[x]: Package installs a %{name}.desktop using desktop-file-install or
     desktop-file-validate if there is such a file.
[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:
[-]: 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(fvorobev): I do not have actual hardware to test the capturing,
     but the program runs.
[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(fvorobev): commit-pinning is used, no signatures, neither does
     upstream provide them for old releases.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
     https://koji.fedoraproject.org/koji/taskinfo?taskID=152974912
[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]: 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).
     NOTE(fvorobev): IGNORE, this was tripped by rpmautospec. 
[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).


Rpmlint
-------
Checking: dsview-1.3.0^20261127git2e9e2c8e-1.fc46.x86_64.rpm
          dsview-doc-1.3.0^20261127git2e9e2c8e-1.fc46.noarch.rpm
          dsview-1.3.0^20261127git2e9e2c8e-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/tmpehyku_7_')]
checks: 32, packages: 3

dsview.src: E: spelling-error ('sigrok', '%description -l en_US sigrok -> grok, scrog, stroke')
dsview.x86_64: E: spelling-error ('sigrok', '%description -l en_US sigrok -> grok, scrog, stroke')
dsview.x86_64: W: no-manual-page-for-binary DSView
dsview.spec: W: no-%check-section
dsview.x86_64: E: incorrect-fsf-address /usr/share/libsigrokdecode4DSL/decoders/ade77xx/__init__.py
dsview.x86_64: E: incorrect-fsf-address /usr/share/libsigrokdecode4DSL/decoders/adxl345/__init__.py
dsview.x86_64: E: incorrect-fsf-address /usr/share/libsigrokdecode4DSL/decoders/adxl345/lists.py
dsview.x86_64: E: incorrect-fsf-address /usr/share/libsigrokdecode4DSL/decoders/cjtag-oscan0/__init__.py
dsview.x86_64: E: incorrect-fsf-address /usr/share/libsigrokdecode4DSL/decoders/nrf905/__init__.py
dsview.x86_64: E: incorrect-fsf-address /usr/share/libsigrokdecode4DSL/decoders/swim/__init__.py
dsview.x86_64: E: incorrect-fsf-address /usr/share/libsigrokdecode4DSL/decoders/swim/pd.py
dsview.x86_64: W: files-duplicate /usr/share/doc/dsview/NEWS25 /usr/share/DSView/NEWS25
dsview.x86_64: W: files-duplicate /usr/share/doc/dsview/NEWS31 /usr/share/DSView/NEWS31
 3 packages and 0 specfiles checked; 9 errors, 4 warnings, 26 filtered, 9 badness; has taken 1.0 s 




Rpmlint (debuginfo)
-------------------
Checking: dsview-debuginfo-1.3.0^20261127git2e9e2c8e-1.fc46.x86_64.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/tmprk0hz_dl')]
checks: 32, packages: 1

 1 packages and 0 specfiles checked; 0 errors, 0 warnings, 5 filtered, 0 badness; has taken 0.9 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: 3

dsview.x86_64: W: spelling-error ('sigrok', '%description -l en_US sigrok -> grokking')
dsview.x86_64: W: no-manual-page-for-binary DSView
dsview.x86_64: E: incorrect-fsf-address /usr/share/libsigrokdecode4DSL/decoders/ade77xx/__init__.py
dsview.x86_64: E: incorrect-fsf-address /usr/share/libsigrokdecode4DSL/decoders/adxl345/__init__.py
dsview.x86_64: E: incorrect-fsf-address /usr/share/libsigrokdecode4DSL/decoders/adxl345/lists.py
dsview.x86_64: E: incorrect-fsf-address /usr/share/libsigrokdecode4DSL/decoders/cjtag-oscan0/__init__.py
dsview.x86_64: E: incorrect-fsf-address /usr/share/libsigrokdecode4DSL/decoders/nrf905/__init__.py
dsview.x86_64: E: incorrect-fsf-address /usr/share/libsigrokdecode4DSL/decoders/swim/__init__.py
dsview.x86_64: E: incorrect-fsf-address /usr/share/libsigrokdecode4DSL/decoders/swim/pd.py
dsview.x86_64: W: files-duplicate /usr/share/doc/dsview/NEWS25 /usr/share/DSView/NEWS25
dsview.x86_64: W: files-duplicate /usr/share/doc/dsview/NEWS31 /usr/share/DSView/NEWS31
 3 packages and 0 specfiles checked; 7 errors, 4 warnings, 27 filtered, 7 badness; has taken 0.3 s 



Source checksums
----------------
https://github.com/DreamSourceLab/DSView/archive/2e9e2c8e726df4ef5687d39b83d4f797cc44b574/dsview-1.3.0^20261127git2e9e2c8e.tar.gz :
  CHECKSUM(SHA256) this package     : 8f5fcddc5da8449aeec0b138bb1af487567851f786c147c8faa4a75f2d42fc6a
  CHECKSUM(SHA256) upstream package : 8f5fcddc5da8449aeec0b138bb1af487567851f786c147c8faa4a75f2d42fc6a


Requires
--------
dsview (rpmlib, GLIBC filtered):
    hicolor-icon-theme
    libQt6Core.so.6()(64bit)
    libQt6Core.so.6(Qt_6)(64bit)
    libQt6Core.so.6(Qt_6.12)(64bit)
    libQt6Gui.so.6()(64bit)
    libQt6Gui.so.6(Qt_6)(64bit)
    libQt6Widgets.so.6()(64bit)
    libQt6Widgets.so.6(Qt_6)(64bit)
    libc.so.6()(64bit)
    libfftw3.so.3()(64bit)
    libgcc_s.so.1()(64bit)
    libgcc_s.so.1(GCC_3.0)(64bit)
    libgcc_s.so.1(GCC_3.3.1)(64bit)
    libglib-2.0.so.0()(64bit)
    libm.so.6()(64bit)
    libpython3.15.so.1.0()(64bit)
    libstdc++.so.6()(64bit)
    libstdc++.so.6(CXXABI_1.3)(64bit)
    libstdc++.so.6(CXXABI_1.3.1)(64bit)
    libstdc++.so.6(CXXABI_1.3.13)(64bit)
    libstdc++.so.6(CXXABI_1.3.3)(64bit)
    libstdc++.so.6(CXXABI_1.3.8)(64bit)
    libstdc++.so.6(CXXABI_1.3.9)(64bit)
    libusb-1.0.so.0()(64bit)
    libz.so.1()(64bit)
    rtld(GNU_HASH)

dsview-doc (rpmlib, GLIBC filtered):
    dsview



Provides
--------
dsview:
    application()
    application(dsview.desktop)
    bundled(infozip)
    bundled(minizip)
    dsview
    dsview(x86-64)

dsview-doc:
    dsview-doc



Diff spec file in url and in SRPM
---------------------------------
--- /home/fvorobev/Work/reviews/2586049-dsview/srpm/dsview.spec	2026-12-04 14:04:08.808762772 +0100
+++ /home/fvorobev/Work/reviews/2586049-dsview/srpm-unpacked/dsview.spec	2026-11-28 01:00:00.000000000 +0100
@@ -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
+
 %global git_commit 2e9e2c8e726df4ef5687d39b83d4f797cc44b574
 %global git_date 20261127
@@ -82,3 +92,6 @@
 
 %changelog
-%autochangelog
+## START: Generated by rpmautospec
+* Sat Nov 28 2026 John Doe <packager> - 1.3.0^20261127git2e9e2c8e-1
+- Uncommitted changes
+## END: Generated by rpmautospec


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


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