{ "issues": [ { "result": "fail", "text": "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.", "note": "Unversionned Python dependency found.", "name": "CheckPythonRequires", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_dependencies" }, { "result": "fail", "text": "Package installs a %{name}.desktop using desktop-file-install or desktop-file-validate if there is such a file.", "note": null, "name": "CheckDesktopFileInstall", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_desktop_files" } ], "results": { "MUST": { "Generic": [ { "result": "pending", "text": "Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines.", "note": null, "name": "CheckApprovedLicense", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/" }, { "result": "pass", "text": "Package uses either %{buildroot} or $RPM_BUILD_ROOT", "note": null, "name": "CheckBuildrootMacros", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_macros" }, { "result": "pending", "text": "Package contains no bundled libraries without FPC exception.", "note": null, "name": "CheckBundledLibs", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#bundling" }, { "result": "pending", "text": "Changelog in prescribed format.", "note": null, "name": "CheckChangelogFormat", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#changelogs" }, { "result": "pass", "text": "Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the beginning of %install.", "note": null, "name": "CheckCleanBuildroot", "url": "(this test has no URL)" }, { "result": "pending", "text": "Sources contain only permissible code or content.", "note": null, "name": "CheckCodeAndContent", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/what-can-be-packaged/#_impermissible_content" }, { "result": "pass", "text": "Macros in Summary, %description expandable at SRPM build time.", "note": null, "name": "CheckDescMacros", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_source_rpm_buildtime_macros" }, { "result": "pass", "text": "Package contains desktop file if it is a GUI application.", "note": null, "name": "CheckDesktopFile", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_desktop_files" }, { "result": "fail", "text": "Package installs a %{name}.desktop using desktop-file-install or desktop-file-validate if there is such a file.", "note": null, "name": "CheckDesktopFileInstall", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_desktop_files" }, { "result": "pending", "text": "Development files must be in a -devel package", "note": null, "name": "CheckDevelFilesInDevel", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_devel_packages" }, { "result": "pass", "text": "Package requires other packages for directories it uses.", "note": null, "name": "CheckDirectoryRequire", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_and_directory_ownership" }, { "result": "pass", "text": "Dist tag is present.", "note": null, "name": "CheckDistTag", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/DistTag/" }, { "result": "pending", "text": "Package uses nothing in %doc for runtime.", "note": null, "name": "CheckDocRuntime", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_documentation" }, { "result": "pass", "text": "Package does not contain duplicates in %files.", "note": null, "name": "CheckFileDuplicates", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_duplicate_files" }, { "result": "pass", "text": "Permissions on files are set properly.", "note": null, "name": "CheckFilePermissions", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_permissions" }, { "result": "pending", "text": "Package complies to the Packaging Guidelines", "note": null, "name": "CheckGuidelines", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/" }, { "result": "pass", "text": "Package must not depend on deprecated() packages.", "note": null, "name": "CheckIfDepsDeprecated", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/deprecating-packages/" }, { "result": "pass", "text": "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.", "note": null, "name": "CheckLicensInDoc", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_text" }, { "result": "pending", "text": "License field in the package spec file matches the actual license.", "note": "Checking patched sources after %prep for licenses. No licenses found. Please check the source files for licenses manually.", "name": "CheckLicenseField", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_valid_license_short_names" }, { "result": "pass", "text": "The License field must be a valid SPDX expression.", "note": null, "name": "CheckLicenseFieldSPDX", "url": "https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_1" }, { "result": "pending", "text": "Package consistently uses macros (instead of hard-coded directory names).", "note": null, "name": "CheckMacros", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_macros" }, { "result": "pass", "text": "Package use %makeinstall only when make install DESTDIR=... doesn't work.", "note": null, "name": "CheckMakeinstall", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_why_the_makeinstall_macro_should_not_be_used" }, { "result": "pass", "text": "Package is named using only allowed ASCII characters.", "note": null, "name": "CheckNameCharset", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/" }, { "result": "pending", "text": "Package is named according to the Package Naming Guidelines.", "note": null, "name": "CheckNaming", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/" }, { "result": "pending", "text": "Package does not generate any conflict.", "note": null, "name": "CheckNoConflicts", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_conflicts" }, { "result": "pass", "text": "Package does not use a name that already exists.", "note": null, "name": "CheckNoNameConflict", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/#_conflicting_package_names" }, { "result": "pending", "text": "Package obeys FHS, except libexecdir and /usr/target.", "note": null, "name": "CheckObeysFHS", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_filesystem_layout" }, { "result": "pending", "text": "If the package is a rename of another package, proper Obsoletes and Provides are present.", "note": null, "name": "CheckObsoletesForRename", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#renaming-or-replacing-existing-packages" }, { "result": "pending", "text": "Package must own all directories that it creates.", "note": "Directories without known owners: /usr/lib/python3.12, /usr/lib/python3.12/site-packages", "name": "CheckOwnDirs", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_and_directory_ownership" }, { "result": "pass", "text": "Package does not own files or directories owned by other packages.", "note": null, "name": "CheckOwnOther", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_and_directory_ownership" }, { "result": "pass", "text": "Package is not relocatable.", "note": null, "name": "CheckRelocatable", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_relocatable_packages" }, { "result": "pending", "text": "Requires correct, justified where necessary.", "note": null, "name": "CheckRequires", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_explicit_requires" }, { "result": "pass", "text": "Sources used to build the package match the upstream source, as provided in the spec URL.", "note": null, "name": "CheckSourceMD5", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/" }, { "result": "pending", "text": "Spec file is legible and written in American English.", "note": null, "name": "CheckSpecLegibility", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_spec_legibility" }, { "result": "pass", "text": "Spec file name must match the spec package %{name}, in the format %{name}.spec.", "note": null, "name": "CheckSpecName", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_spec_file_naming" }, { "result": "pending", "text": "Package contains systemd file(s) if in need.", "note": null, "name": "CheckSystemdScripts", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/" }, { "result": "pass", "text": "File names are valid UTF-8.", "note": null, "name": "CheckUTF8Filenames", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_non_ascii_filenames" }, { "result": "pending", "text": "Package is not known to require an ExcludeArch tag.", "note": null, "name": "generic-excludearch", "url": "https://fedoraproject.org/wiki/Architectures#ExcludeArch_.26_ExclusiveArch" }, { "result": "pass", "text": "Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files.", "note": "Documentation size is 3631 bytes in 1 files. ", "name": "generic-large-docs", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_documentation" }, { "result": "pass", "text": "Packages must not store files under /srv, /opt or /usr/local", "note": null, "name": "generic-srv-opt", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_documentation" }, { "result": "pending", "text": "Package successfully compiles and builds into binary rpms on at least one supported primary architecture.", "note": "Using prebuilt packages", "name": "CheckBuild", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_architecture_support" }, { "result": "pass", "text": "Package installs properly.", "note": null, "name": "CheckPackageInstalls", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/" }, { "result": "pass", "text": "Rpmlint is run on all rpms the build produces.", "note": "There are rpmlint messages (see attachment).", "name": "CheckRpmlint", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_use_rpmlint" } ], "Python": [ { "result": "pass", "text": "Package contains BR: python2-devel or python3-devel", "note": null, "name": "CheckPythonBuildRequires", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_dependencies" }, { "result": "fail", "text": "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.", "note": "Unversionned Python dependency found.", "name": "CheckPythonRequires", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_dependencies" }, { "result": "pass", "text": "Python packages must not contain %{pythonX_site(lib|arch)}/* in %files", "note": null, "name": "CheckPythonX_Site", "url": "https://pagure.io/packaging-committee/issue/782" }, { "result": "pending", "text": "Binary eggs must be removed in %prep", "note": "Cannot find any build in BUILD directory (--prebuilt option?) ", "name": "python-check-eggs", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Eggs/" }, { "result": "pending", "text": "Python eggs must not download any dependencies during the build process.", "note": null, "name": "python-dont-download-deps", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Eggs/" }, { "result": "pending", "text": "A package which is used by another package via an egg interface should provide egg info.", "note": null, "name": "python-egg-info", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Eggs/" }, { "result": "pending", "text": "Package meets the Packaging Guidelines::Python", "note": null, "name": "python-meet-guidelines", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/" } ] }, "SHOULD": { "Generic": [ { "result": "fail", "text": "Reviewer should test that the package builds in mock.", "note": null, "name": "CheckBuildInMock", "url": "https://fedoraproject.org/wiki/PackageMaintainers/MockTricks" }, { "result": "pass", "text": "Buildroot is not present", "note": null, "name": "CheckBuildroot", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/" }, { "result": "pass", "text": "Package has no %clean section with rm -rf %{buildroot} (or $RPM_BUILD_ROOT)", "note": null, "name": "CheckClean", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_tags_and_sections" }, { "result": "pending", "text": "If the source package does not include license text(s) as a separate file from upstream, the packager SHOULD query upstream to include it.", "note": null, "name": "CheckContainsLicenseText", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_text" }, { "result": "pass", "text": "No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.", "note": null, "name": "CheckFileRequires", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_and_directory_dependencies" }, { "result": "pending", "text": "Final provides and requires are sane (see attachments).", "note": null, "name": "CheckFinalRequiresProvides", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/" }, { "result": "pending", "text": "Package functions as described.", "note": null, "name": "CheckFunctionAsDescribed", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/" }, { "result": "pass", "text": "Packager, Vendor, PreReq, Copyright tags should not be in spec file", "note": null, "name": "CheckIllegalSpecTags", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_tags_and_sections" }, { "result": "pending", "text": "Latest version is packaged.", "note": null, "name": "CheckLatestVersionIsPackaged", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/" }, { "result": "pending", "text": "Package does not include license text files separate from upstream.", "note": null, "name": "CheckLicenseUpstream", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_text" }, { "result": "pass", "text": "Sources can be downloaded from URI in Source: tag", "note": null, "name": "CheckSourceDownloads", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/" }, { "result": "pass", "text": "SourceX is a working URL.", "note": null, "name": "CheckSourceUrl", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/" }, { "result": "pending", "text": "Sources are verified with gpgverify first in %prep if upstream publishes signatures.", "note": "gpgverify is not used.", "name": "CheckSourceVerification", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_source_file_verification" }, { "result": "pending", "text": "Package should compile and build into binary rpms on all supported architectures.", "note": null, "name": "CheckSupportAllArchs", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_architecture_support" }, { "result": "pending", "text": "%check is present and all tests pass.", "note": null, "name": "CheckTestSuites", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_test_suites" }, { "result": "pending", "text": "Packages should try to preserve timestamps of original installed files.", "note": null, "name": "CheckTimeStamps", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_timestamps" }, { "result": "pass", "text": "Spec use %global instead of %define unless justified.", "note": null, "name": "CheckUseGlobal", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_global_preferred_over_define" } ] }, "EXTRA": { "Generic": [ { "result": "pass", "text": "Rpmlint is run on all installed packages.", "note": "No rpmlint messages.", "name": "CheckRpmlintInstalled", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_use_rpmlint" } ] } }, "attachments": [ { "header": "Rpmlint", "text": "Checking: nwg-displays-0.3.22-1.fc40.noarch.rpm\n nwg-displays-0.3.22-1.fc40.src.rpm\n============================ rpmlint session starts ============================\nrpmlint: 2.5.0\nconfiguration:\n /usr/lib/python3.12/site-packages/rpmlint/configdefaults.toml\n /etc/xdg/rpmlint/fedora-legacy-licenses.toml\n /etc/xdg/rpmlint/fedora-spdx-licenses.toml\n /etc/xdg/rpmlint/fedora.toml\n /etc/xdg/rpmlint/scoring.toml\n /etc/xdg/rpmlint/users-groups.toml\n /etc/xdg/rpmlint/warn-on-functions.toml\nrpmlintrc: [PosixPath('/tmp/tmp4kam07fc')]\nchecks: 32, packages: 2\n\nnwg-displays.noarch: E: zero-length /usr/lib/python3.12/site-packages/nwg_displays/__about__.py.new\nnwg-displays.noarch: E: zero-length /usr/lib/python3.12/site-packages/nwg_displays/__init__.py.new\nnwg-displays.noarch: E: zero-length /usr/lib/python3.12/site-packages/nwg_displays/main.py.new\nnwg-displays.noarch: E: zero-length /usr/lib/python3.12/site-packages/nwg_displays/tools.py.new\nnwg-displays.noarch: E: script-without-shebang /usr/share/pixmaps/nwg-displays.svg\nnwg-displays.noarch: E: non-executable-script /usr/lib/python3.12/site-packages/nwg_displays/main.py 644 /usr/bin/env python\nnwg-displays.spec:56: W: non-break-space line 56, char 30\nnwg-displays.spec:59: W: non-break-space line 59, char 30\nnwg-displays.spec:62: W: non-break-space line 62, char 30\nnwg-displays.spec:65: W: non-break-space line 65, char 30\nnwg-displays.spec:68: W: non-break-space line 68, char 30\nnwg-displays.spec:71: W: non-break-space line 71, char 30\nnwg-displays.spec:74: W: non-break-space line 74, char 30\nnwg-displays.spec:77: W: non-break-space line 77, char 30\nnwg-displays.spec:80: W: non-break-space line 80, char 30\nnwg-displays.spec:83: W: non-break-space line 83, char 30\nnwg-displays.spec:86: W: non-break-space line 86, char 30\nnwg-displays.spec:89: W: non-break-space line 89, char 30\nnwg-displays.spec:92: W: non-break-space line 92, char 30\nnwg-displays.spec:95: W: non-break-space line 95, char 30\nnwg-displays.spec:98: W: non-break-space line 98, char 30\nnwg-displays.spec:101: W: non-break-space line 101, char 30\nnwg-displays.spec:104: W: non-break-space line 104, char 30\nnwg-displays.spec:107: W: non-break-space line 107, char 30\nnwg-displays.spec:110: W: non-break-space line 110, char 30\nnwg-displays.spec:113: W: non-break-space line 113, char 30\nnwg-displays.spec:116: W: non-break-space line 116, char 30\nnwg-displays.noarch: W: no-manual-page-for-binary nwg-displays\n 2 packages and 0 specfiles checked; 6 errors, 22 warnings, 7 filtered, 6 badness; has taken 0.2 s \n\n\n" }, { "header": "Rpmlint (installed packages)", "text": "(none): E: there is no installed rpm \"nwg-displays\".\nThere are no files to process nor additional arguments.\nNothing to do, aborting.\n============================ rpmlint session starts ============================\nrpmlint: 2.5.0\nconfiguration:\n /usr/lib/python3.12/site-packages/rpmlint/configdefaults.toml\n /etc/xdg/rpmlint/fedora-legacy-licenses.toml\n /etc/xdg/rpmlint/fedora-spdx-licenses.toml\n /etc/xdg/rpmlint/fedora.toml\n /etc/xdg/rpmlint/scoring.toml\n /etc/xdg/rpmlint/users-groups.toml\n /etc/xdg/rpmlint/warn-on-functions.toml\nchecks: 32, packages: 1\n\n 0 packages and 0 specfiles checked; 0 errors, 0 warnings, 0 filtered, 0 badness; has taken 0.0 s \n\n" }, { "header": "", "text": "Generated by fedora-review 0.10.0 (e79b66b) last change: 2023-07-24\nCommand line :/bin/fedora-review --no-colors --prebuilt --rpm-spec --name nwg-displays --mock-config /var/lib/copr-rpmbuild/results/configs/child.cfg\nBuildroot used: fedora-40-aarch64\nActive plugins: Shell-api, Generic, Python\nDisabled plugins: Perl, C/C++, Ocaml, Haskell, Java, fonts, SugarActivity, PHP, R\nDisabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH\n" }, { "header": "Source checksums", "text": "https://github.com/nwg-piotr/nwg-displays/archive/v0.3.22/nwg-displays-0.3.22.tar.gz :\n CHECKSUM(SHA256) this package : 143b034902200aabeb07ac7331066972127298654ea14d68b4f68fb7c38583da\n CHECKSUM(SHA256) upstream package : 143b034902200aabeb07ac7331066972127298654ea14d68b4f68fb7c38583da\n" }, { "header": "Requires", "text": "nwg-displays (rpmlib, GLIBC filtered):\n /usr/bin/python3\n gtk-layer-shell\n python(abi)\n python-gobject\n python-i3ipc\n\n" }, { "header": "Provides", "text": "nwg-displays:\n application()\n application(nwg-displays.desktop)\n nwg-displays\n python3.12dist(nwg-displays)\n python3dist(nwg-displays)\n\n" } ] }