============================ rpmlint session starts ============================ rpmlint: 2.6.1 configuration: /opt/testing/lib/python3.11/rpmlint/configdefaults.toml /opt/testing/share/rpmlint/cron-whitelist.toml /opt/testing/share/rpmlint/dbus-services.toml /opt/testing/share/rpmlint/device-files-whitelist.toml /opt/testing/share/rpmlint/licenses.toml /opt/testing/share/rpmlint/opensuse.toml /opt/testing/share/rpmlint/pam-modules.toml /opt/testing/share/rpmlint/permissions-whitelist.toml /opt/testing/share/rpmlint/pie-executables.toml /opt/testing/share/rpmlint/polkit-rules-whitelist.toml /opt/testing/share/rpmlint/scoring.toml /opt/testing/share/rpmlint/security.toml /opt/testing/share/rpmlint/sudoers-whitelist.toml /opt/testing/share/rpmlint/sysctl-whitelist.toml /opt/testing/share/rpmlint/systemd-tmpfiles.toml /opt/testing/share/rpmlint/users-groups.toml /opt/testing/share/rpmlint/world-writable-whitelist.toml /opt/testing/share/rpmlint/zypper-plugins.toml /etc/xdg/rpmlint/scoring-strict.override.toml checks: 41, packages: 17 pagure.noarch: E: zero-length /srv/gitolite/.gitolite/conf/gitolite.conf pagure-milters.noarch: W: tmpfile-not-in-filelist /var/run/pagure Please add the specified file to your %files section as %ghost so users can easily query who created the file, it gets uninstalled on package removal and finally other rpmlint checks see it. pagure.noarch: E: systemd-service-without-service_del_preun pagure_api_key_expire_mail.service pagure.noarch: E: systemd-service-without-service_del_preun pagure_mirror_project_in.service The package contains a systemd service but doesn't contain a %preun with a call to service_del_preun. pagure.noarch: E: systemd-service-without-service_add_pre pagure_api_key_expire_mail.service pagure.noarch: E: systemd-service-without-service_add_pre pagure_authorized_keys_worker.service pagure.noarch: E: systemd-service-without-service_add_pre pagure_gitolite_worker.service pagure.noarch: E: systemd-service-without-service_add_pre pagure_mirror_project_in.service pagure.noarch: E: systemd-service-without-service_add_pre pagure_worker.service pagure-ci.noarch: E: systemd-service-without-service_add_pre pagure_ci.service pagure-ev.noarch: E: systemd-service-without-service_add_pre pagure_ev.service pagure-loadjson.noarch: E: systemd-service-without-service_add_pre pagure_loadjson.service pagure-logcom.noarch: E: systemd-service-without-service_add_pre pagure_logcom.service pagure-milters.noarch: E: systemd-service-without-service_add_pre pagure_milter.service pagure-mirror.noarch: E: systemd-service-without-service_add_pre pagure_mirror.service pagure-web-nginx.noarch: E: systemd-service-without-service_add_pre pagure_docs_web.service pagure-web-nginx.noarch: E: systemd-service-without-service_add_pre pagure_web.service pagure-webhook.noarch: E: systemd-service-without-service_add_pre pagure_webhook.service The package contains a systemd service but doesn't contain a %pre with a call to service_add_pre. pagure.noarch: E: systemd-service-without-service_add_post pagure_api_key_expire_mail.service pagure.noarch: E: systemd-service-without-service_add_post pagure_mirror_project_in.service The package contains a systemd service but doesn't contain a %post with a call to service_add_post. pagure.noarch: E: script-without-shebang /usr/lib/python3.11/site-packages/pagure/static/vendor/emojione/emojione.sprites.css pagure.noarch: E: script-without-shebang /usr/lib/python3.11/site-packages/pagure/static/vendor/emojione/emojione.sprites.min-1.3.1.css pagure.noarch: E: script-without-shebang /usr/lib/python3.11/site-packages/pagure/static/vendor/jstimezonedetect/jstz-1.0.6.min.js pagure.noarch: E: script-without-shebang /usr/lib/python3.11/site-packages/pagure/static/vendor/jstimezonedetect/jstz.min.js This text file has executable bits set or is located in a path dedicated for executables, but lacks a shebang and cannot thus be executed. If the file is meant to be an executable script, add the shebang, otherwise remove the executable bits or move the file elsewhere. pagure.noarch: W: python-missing-require setuptools pagure.noarch: W: python-missing-require six pagure.noarch: W: python-missing-require straight.plugin The python package declare some requirement that's not detected in the rpm package. Please, verify that all dependencies are added as Requires. pagure.noarch: W: python-leftover-require python3-dbm pagure.noarch: W: python-leftover-require python3-pytz pagure.noarch: W: python-leftover-require python3-straight-plugin Some python module Requires can't be found in the python package requirements declaration. Please verify that all dependencies are really needed. pagure.noarch: W: python-doc-in-package /usr/lib/python3.11/site-packages/pagure/doc doc/ or docs/ directory in Python package directory. Documentation should go into %{docdir}, not %{python_sitelib}/ pagure-web-apache-httpd.noarch: W: obsolete-not-provided pagure If a package is obsoleted by a compatible replacement, the obsoleted package should also be provided in order to not cause unnecessary dependency breakage. If the obsoleting package is not a compatible replacement for the old one, leave out the Provides. pagure.noarch: W: non-standard-uid /srv/gitolite/.gitolite git pagure.noarch: W: non-standard-uid /srv/gitolite/.gitolite.rc git pagure.noarch: W: non-standard-uid /srv/gitolite/.gitolite/conf git pagure.noarch: W: non-standard-uid /srv/gitolite/.gitolite/conf/gitolite.conf git pagure.noarch: W: non-standard-uid /srv/gitolite/.gitolite/keydir git pagure.noarch: W: non-standard-uid /srv/gitolite/.gitolite/logs git pagure.noarch: W: non-standard-uid /srv/gitolite/.ssh git pagure.noarch: W: non-standard-uid /srv/gitolite/pseudo git pagure.noarch: W: non-standard-uid /srv/gitolite/remotes git pagure.noarch: W: non-standard-uid /srv/gitolite/repositories git pagure.noarch: W: non-standard-uid /srv/gitolite/repositories/docs git pagure.noarch: W: non-standard-uid /srv/gitolite/repositories/forks git pagure.noarch: W: non-standard-uid /srv/gitolite/repositories/requests git pagure.noarch: W: non-standard-uid /srv/gitolite/repositories/tickets git pagure.noarch: W: non-standard-uid /srv/www/pagure-releases git pagure.noarch: W: non-standard-uid /var/log/pagure git A file in this package is owned by an unregistered user id. To register the user, please make a pull request to the rpmlint config file configs/openSUSE/users-groups.toml in the opensuse branch of the rpmlint repository. pagure.noarch: W: non-standard-gid /srv/gitolite/.gitolite git pagure.noarch: W: non-standard-gid /srv/gitolite/.gitolite.rc git pagure.noarch: W: non-standard-gid /srv/gitolite/.gitolite/conf git pagure.noarch: W: non-standard-gid /srv/gitolite/.gitolite/conf/gitolite.conf git pagure.noarch: W: non-standard-gid /srv/gitolite/.gitolite/keydir git pagure.noarch: W: non-standard-gid /srv/gitolite/.gitolite/logs git pagure.noarch: W: non-standard-gid /srv/gitolite/.ssh git pagure.noarch: W: non-standard-gid /srv/gitolite/pseudo git pagure.noarch: W: non-standard-gid /srv/gitolite/remotes git pagure.noarch: W: non-standard-gid /srv/gitolite/repositories git pagure.noarch: W: non-standard-gid /srv/gitolite/repositories/docs git pagure.noarch: W: non-standard-gid /srv/gitolite/repositories/forks git pagure.noarch: W: non-standard-gid /srv/gitolite/repositories/requests git pagure.noarch: W: non-standard-gid /srv/gitolite/repositories/tickets git pagure.noarch: W: non-standard-gid /srv/www/pagure-releases git pagure.noarch: W: non-standard-gid /var/log/pagure git A file in this package is owned by an unregistered group id. To register the group, please make a pull request to the rpmlint config file configs/openSUSE/users-groups.toml in the opensuse branch of the rpmlint repository. pagure.noarch: E: non-executable-script /usr/share/pagure/api_key_expire_mail.py 644 /usr/bin/python3 pagure.noarch: E: non-executable-script /usr/share/pagure/mirror_project_in.py 644 /usr/bin/python3 pagure.noarch: E: non-executable-script /usr/share/pagure/pagure_createdb.py 644 /usr/bin/python3 pagure-milters.noarch: E: non-executable-script /usr/share/pagure/comment_email_milter.py 644 /usr/bin/python3 This text file contains a shebang or is located in a path dedicated for executables, but lacks the executable bits and cannot thus be executed. If the file is meant to be an executable script, add the executable bits, otherwise remove the shebang or move the file elsewhere. pagure.noarch: W: non-etc-or-var-file-marked-as-conffile /srv/gitolite/.gitolite.rc pagure.noarch: W: non-etc-or-var-file-marked-as-conffile /srv/gitolite/.gitolite/conf/gitolite.conf pagure-web-apache-httpd.noarch: W: non-etc-or-var-file-marked-as-conffile /usr/share/pagure/doc_pagure.wsgi pagure-web-apache-httpd.noarch: W: non-etc-or-var-file-marked-as-conffile /usr/share/pagure/pagure.wsgi A file not in /etc or /var is marked as being a configuration file (%config). Please put your configuration files in /etc or /var. pagure.noarch: E: no-dependency-on python-base 3.11 pagure-theme-chameleon.noarch: E: no-dependency-on python-base 3.11 pagure-theme-pagureio.noarch: E: no-dependency-on python-base 3.11 pagure-theme-srcfpo.noarch: E: no-dependency-on python-base 3.11 pagure-theme-upstream.noarch: E: no-dependency-on python-base 3.11 pagure.spec: W: no-%check-section The spec file does not contain an %check section. Please check if the package has a testsuite and what it takes to enable the testsuite as part of the package build. If it is not possible to run it in the build environment (OBS/koji) or no testsuite exists, then please ignore this warning. You should not insert an empty %check section. pagure.noarch: W: hidden-file-or-dir /srv/gitolite/.gitolite pagure.noarch: W: hidden-file-or-dir /srv/gitolite/.gitolite pagure.noarch: W: hidden-file-or-dir /srv/gitolite/.gitolite.rc pagure.noarch: W: hidden-file-or-dir /srv/gitolite/.ssh pagure.noarch: W: hidden-file-or-dir /srv/gitolite/.ssh The file or directory is hidden. You should see if this is normal, and delete it from the package if not. pagure-theme-chameleon.noarch: E: branding-supplements-missing (pagure and theme-chameleon) pagure-theme-default-openSUSE.noarch: E: branding-supplements-missing (pagure and theme-default-openSUSE) pagure-theme-default-upstream.noarch: E: branding-supplements-missing (pagure and theme-default-upstream) pagure-theme-pagureio.noarch: E: branding-supplements-missing (pagure and theme-pagureio) pagure-theme-srcfpo.noarch: E: branding-supplements-missing (pagure and theme-srcfpo) pagure-theme-upstream.noarch: E: branding-supplements-missing (pagure and theme-upstream) Branding packages should provide a supplement in the form: 'Supplements: (basepackage and branding-)' pagure.noarch: E: branding-requires-specific-flavor pagure-theme-default Packages must not require a specific branding or theme package to allow for different themes. pagure-theme-chameleon.noarch: E: branding-provides-missing pagure-theme-default-openSUSE.noarch: E: branding-provides-missing pagure-theme-default-upstream.noarch: E: branding-provides-missing pagure-theme-pagureio.noarch: E: branding-provides-missing pagure-theme-srcfpo.noarch: E: branding-provides-missing pagure-theme-upstream.noarch: E: branding-provides-missing Please add a provides entry similar to: 'Provides: %name-branding = %version' pagure-theme-default-openSUSE.noarch: W: branding-excessive-enhances (pagure and branding-openSUSE) Branding package should not have additional Enhances, please verify if they really make sense. pagure-theme-chameleon.noarch: E: branding-conflicts-missing pagure-theme pagure-theme-default-openSUSE.noarch: E: branding-conflicts-missing pagure-theme pagure-theme-default-upstream.noarch: E: branding-conflicts-missing pagure-theme pagure-theme-pagureio.noarch: E: branding-conflicts-missing pagure-theme pagure-theme-srcfpo.noarch: E: branding-conflicts-missing pagure-theme pagure-theme-upstream.noarch: E: branding-conflicts-missing pagure-theme Branding packages should conflict with other flavors of the branding package by using: 'Conflicts: pkg-branding = brandingversion' and not directly by listing all the alternative brandings in it. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 0.8 36.5 SignatureCheck 0.3 15.2 SUIDPermissionsCheck 0.3 13.7 BashismsCheck 0.2 8.2 FilesCheck 0.1 6.1 PostCheck 0.1 5.0 BuildRootAndDateCheck 0.1 4.7 TOTAL 2.2 100.0 17 packages and 0 specfiles checked; 51 errors, 52 warnings, 81 filtered, 51 badness; has taken 2.3 s