{ "issues": [ { "result": "fail", "text": "The License field must be a valid SPDX expression.", "note": "Not a valid SPDX expression 'AGPL-3.0'.", "name": "CheckLicenseFieldSPDX", "url": "https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_1" }, { "result": "fail", "text": "systemd_post is invoked in %post, systemd_preun in %preun, and systemd_postun in %postun for Systemd service files.", "note": "Systemd service file(s) in sozu", "name": "CheckSystemdUnitdirScriplets", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_scriptlets" } ], "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": "pending", "text": "%build honors applicable compiler flags or justifies otherwise.", "note": null, "name": "CheckBuildCompilerFlags", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_compiler_flags" }, { "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": "pending", "text": "Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the beginning of %install.", "note": "rm -rf %{buildroot} present but not required", "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": "%config files are marked noreplace or the reason is justified.", "note": null, "name": "CheckConfigNoReplace", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_configuration_files" }, { "result": "pending", "text": "Each %files section contains %defattr if rpm < 4.4", "note": "%defattr present but not needed", "name": "CheckDefattr", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_permissions" }, { "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": "pending", "text": "Package requires other packages for directories it uses.", "note": "No known owner of /var/var/lib, /etc/sozu, /var/var, /usr/share/doc/sozu, /usr/share/doc/sozu/doc, /usr/share/licenses/sozu", "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. Licenses found: \"Unknown or generated\", \"GNU Affero General Public License v3.0\", \"GNU Affero General Public License v3.0 or later and/or GNU Lesser General Public License, Version 3\", \"*No copyright* MIT License\", \"*No copyright* GNU Affero General Public License v3.0\". 190 files have unknown license. Detailed output of licensecheck in /var/lib/copr-rpmbuild/results/sozu/licensecheck.txt", "name": "CheckLicenseField", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_valid_license_short_names" }, { "result": "fail", "text": "The License field must be a valid SPDX expression.", "note": "Not a valid SPDX expression 'AGPL-3.0'.", "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": "pass", "text": "No %config files under /usr.", "note": "", "name": "CheckNoConfigInUsr", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_configuration_files" }, { "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: /var/var/lib, /usr/share/doc/sozu/doc, /usr/share/selinux/packages, /usr/share/licenses/sozu, /usr/share/selinux, /usr/share/doc/sozu, /etc/sozu, /var/var", "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": "fail", "text": "systemd_post is invoked in %post, systemd_preun in %preun, and systemd_postun in %postun for Systemd service files.", "note": "Systemd service file(s) in sozu", "name": "CheckSystemdUnitdirScriplets", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_scriptlets" }, { "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": "Useful -debuginfo package or justification otherwise.", "note": null, "name": "CheckUsefulDebuginfo", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_debuginfo_packages" }, { "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": "pending", "text": "Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files.", "note": "Documentation size is 302173 bytes in 17 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" } ] }, "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": "pending", "text": "Buildroot is not present", "note": "Buildroot: present but not needed", "name": "CheckBuildroot", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/" }, { "result": "pending", "text": "Package has no %clean section with rm -rf %{buildroot} (or $RPM_BUILD_ROOT)", "note": "%clean present but not required", "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": "pending", "text": "Files in /run, var/run and /var/lock uses tmpfiles.d when appropriate", "note": null, "name": "CheckTmpfiles", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/Tmpfiles.d/" }, { "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": "Large data in /usr/share should live in a noarch subpackage if package is arched.", "note": null, "name": "generic-large-data", "url": "https://fedoraproject.org/wiki/Packaging:ReviewGuidelines#Package_Review_Guidelines" }, { "result": "pass", "text": "Rpmlint is run on debuginfo package(s).", "note": "There are rpmlint messages (see attachment).", "name": "CheckRpmlintDebuginfo", "url": "https://docs.fedoraproject.org/en-US/packaging-guidelines/#_use_rpmlint" }, { "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: sozu-1.0.6-1.fc42.x86_64.rpm\n sozu-1.0.6-1.fc42.src.rpm\n============================ rpmlint session starts ============================\nrpmlint: 2.7.0\nconfiguration:\n /usr/lib/python3.13/site-packages/rpmlint/configdefaults.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/tmp54vu0dhz')]\nchecks: 32, packages: 2\n\nsozu.x86_64: E: zero-length /var/var/lib/sozu/state.json\nsozu.spec: E: superfluous-%clean-section\nsozu.src: W: summary-ended-with-dot A lightweight, fast, always-up reverse proxy server.\nsozu.x86_64: W: summary-ended-with-dot A lightweight, fast, always-up reverse proxy server.\nsozu.src: W: strange-permission 1.0.6.tar.gz 666\nsozu.src: W: strange-permission sozu.spec 666\nsozu.spec:35: W: setup-not-quiet\nsozu.x86_64: W: non-standard-dir-in-var var\nsozu.src: W: no-version-in-last-changelog\nsozu.x86_64: W: no-version-in-last-changelog\nsozu.x86_64: W: no-manual-page-for-binary sozu\nsozu.spec: W: no-%check-section\nsozu.src: W: invalid-license AGPL-3.0\nsozu.x86_64: W: invalid-license AGPL-3.0\nsozu.x86_64: E: forbidden-selinux-command-in-%post chcon\nsozu.x86_64: W: files-duplicate /usr/share/sozu/pki/certificate_chain.pem /usr/share/sozu/pki/certificate.pem\nsozu.x86_64: E: dir-or-file-in-var-run /var/run/sozu\n 2 packages and 0 specfiles checked; 4 errors, 13 warnings, 4 filtered, 4 badness; has taken 0.4 s \n\n\n" }, { "header": "Rpmlint (installed packages)", "text": "(none): E: there is no installed rpm \"sozu-debuginfo\".\n(none): E: there is no installed rpm \"sozu\".\nThere are no files to process nor additional arguments.\nNothing to do, aborting.\n============================ rpmlint session starts ============================\nrpmlint: 2.7.0\nconfiguration:\n /usr/lib/python3.13/site-packages/rpmlint/configdefaults.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: 2\n\n 0 packages and 0 specfiles checked; 0 errors, 0 warnings, 0 filtered, 0 badness; has taken 0.0 s \n\n" }, { "header": "Rpmlint (debuginfo)", "text": "Checking: sozu-debuginfo-1.0.6-1.fc42.x86_64.rpm\n============================ rpmlint session starts ============================\nrpmlint: 2.7.0\nconfiguration:\n /usr/lib/python3.13/site-packages/rpmlint/configdefaults.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/tmp6hj88ksq')]\nchecks: 32, packages: 1\n\nsozu-debuginfo.x86_64: W: no-version-in-last-changelog\nsozu-debuginfo.x86_64: W: invalid-license AGPL-3.0\n 1 packages and 0 specfiles checked; 0 errors, 2 warnings, 5 filtered, 0 badness; has taken 2.4 s \n\n\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 sozu --mock-config /var/lib/copr-rpmbuild/results/configs/child.cfg\nBuildroot used: fedora-42-x86_64\nActive plugins: Shell-api, Generic\nDisabled plugins: R, Python, PHP, SugarActivity, Perl, Ocaml, Haskell, Java, fonts, C/C++\nDisabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH\n" }, { "header": "Source checksums", "text": "https://github.com/sozu-proxy/sozu/archive/1.0.6.tar.gz :\n CHECKSUM(SHA256) this package : a696b6a333d2c2b5dc2915628166316140eba917188ab9abd857c92b8f242c95\n CHECKSUM(SHA256) upstream package : a696b6a333d2c2b5dc2915628166316140eba917188ab9abd857c92b8f242c95\n" }, { "header": "Requires", "text": "sozu (rpmlib, GLIBC filtered):\n /bin/sh\n config(sozu)\n ld-linux-x86-64.so.2()(64bit)\n libc.so.6()(64bit)\n libgcc_s.so.1()(64bit)\n libgcc_s.so.1(GCC_3.0)(64bit)\n libgcc_s.so.1(GCC_3.3)(64bit)\n libgcc_s.so.1(GCC_3.4)(64bit)\n libgcc_s.so.1(GCC_4.2.0)(64bit)\n libm.so.6()(64bit)\n rtld(GNU_HASH)\n\n" }, { "header": "Provides", "text": "sozu:\n config(sozu)\n sozu\n sozu(x86-64)\n\n" } ] }