{ "issues": [], "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": "pending", "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": "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/site-packages, /usr/lib/python3.12", "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 0 bytes in 0 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": "pass", "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": null, "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: python3-pyright-1.1.381-1.fc40.noarch.rpm\n python-pyright-1.1.381-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/tmp_lo7vzeu')]\nchecks: 32, packages: 2\n\npython3-pyright.noarch: W: no-manual-page-for-binary pyright\npython3-pyright.noarch: W: no-manual-page-for-binary pyright-langserver\npython3-pyright.noarch: W: no-manual-page-for-binary pyright-python\npython3-pyright.noarch: W: no-manual-page-for-binary pyright-python-langserver\npython3-pyright.noarch: W: no-documentation\npython3-pyright.noarch: W: files-duplicate /usr/bin/pyright-python /usr/bin/pyright\npython3-pyright.noarch: W: files-duplicate /usr/bin/pyright-python-langserver /usr/bin/pyright-langserver\n 2 packages and 0 specfiles checked; 0 errors, 7 warnings, 8 filtered, 0 badness; has taken 0.2 s \n\n\n" }, { "header": "Rpmlint (installed packages)", "text": "============================ 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(none): E: there is no installed rpm \"python3-pyright\".\nThere are no files to process nor additional arguments.\nNothing to do, aborting.\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 python-pyright --mock-config /var/lib/copr-rpmbuild/results/configs/child.cfg\nBuildroot used: fedora-40-x86_64\nActive plugins: Shell-api, Generic, Python\nDisabled plugins: Java, PHP, Ocaml, C/C++, SugarActivity, Perl, Haskell, fonts, R\nDisabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH\n" }, { "header": "Source checksums", "text": "https://github.com/RobertCraigie/pyright-python/archive/refs/tags/v1.1.381/pyright-1.1.381.tar.gz :\n CHECKSUM(SHA256) this package : eba506bbc9c1fd6e1bcc445f7f9d3e3685a558da60467eed685c74b10ea71f9e\n CHECKSUM(SHA256) upstream package : eba506bbc9c1fd6e1bcc445f7f9d3e3685a558da60467eed685c74b10ea71f9e\n" }, { "header": "Requires", "text": "python3-pyright (rpmlib, GLIBC filtered):\n /usr/bin/python3\n python(abi)\n python3.12dist(nodeenv)\n\n" }, { "header": "Provides", "text": "python3-pyright:\n python-pyright\n python3-pyright\n python3.12-pyright\n python3.12dist(pyright)\n python3dist(pyright)\n\n" } ] }