openSUSEway icon indicating copy to clipboard operation
openSUSEway copied to clipboard

package Errors

Open denisok opened this issue 2 years ago • 5 comments

while building a package there are some errors reported:

[    6s] RPMLINT report:
[    6s] ===============
[    7s] ============================ rpmlint session starts ============================
[    7s] rpmlint: 2.4.0
[    7s] configuration:
[    7s]     /opt/testing/lib64/python3.10/rpmlint/configdefaults.toml
[    7s]     /opt/testing/share/rpmlint/cron-whitelist.toml
[    7s]     /opt/testing/share/rpmlint/dbus-services.toml
[    7s]     /opt/testing/share/rpmlint/device-files-whitelist.toml
[    7s]     /opt/testing/share/rpmlint/licenses.toml
[    7s]     /opt/testing/share/rpmlint/opensuse.toml
[    7s]     /opt/testing/share/rpmlint/pam-modules.toml
[    7s]     /opt/testing/share/rpmlint/permissions-whitelist.toml
[    7s]     /opt/testing/share/rpmlint/pie-executables.toml
[    7s]     /opt/testing/share/rpmlint/polkit-rules-whitelist.toml
[    7s]     /opt/testing/share/rpmlint/scoring.toml
[    7s]     /opt/testing/share/rpmlint/security.toml
[    7s]     /opt/testing/share/rpmlint/sudoers-whitelist.toml
[    7s]     /opt/testing/share/rpmlint/sysctl-whitelist.toml
[    7s]     /opt/testing/share/rpmlint/systemd-tmpfiles.toml
[    7s]     /opt/testing/share/rpmlint/users-groups.toml
[    7s]     /opt/testing/share/rpmlint/world-writable-whitelist.toml
[    7s]     /opt/testing/share/rpmlint/zypper-plugins.toml
[    7s] checks: 41, packages: 5
[    7s] 
[    7s] sway-branding-openSUSE.noarch: E: systemd-service-without-service_del_preun sway-session.target
[    7s] sway-branding-openSUSE.noarch: E: systemd-service-without-service_del_preun sway.service
[    7s] The package contains a systemd service but doesn't contain a %preun with a
[    7s] call to service_del_preun.
[    7s] 
[    7s] sway-branding-openSUSE.noarch: E: systemd-service-without-service_del_postun sway-session.target
[    7s] sway-branding-openSUSE.noarch: E: systemd-service-without-service_del_postun sway.service
[    7s] The package contains a systemd service but doesn't contain a %postun with a
[    7s] call to service_del_postun.
[    7s] 
[    7s] sway-branding-openSUSE.noarch: E: systemd-service-without-service_add_pre sway-session.target
[    7s] sway-branding-openSUSE.noarch: E: systemd-service-without-service_add_pre sway.service
[    7s] The package contains a systemd service but doesn't contain a %pre with a call
[    7s] to service_add_pre.
[    7s] 
[    7s] sway-branding-openSUSE.noarch: E: systemd-service-without-service_add_post sway-session.target
[    7s] sway-branding-openSUSE.noarch: E: systemd-service-without-service_add_post sway.service
[    7s] The package contains a systemd service but doesn't contain a %post with a call
[    7s] to service_add_post.
[    7s] 
[    7s] sway-branding-openSUSE.noarch: E: suse-zypp-packageand packageand(sway:branding-openSUSE)
[    7s] waybar-branding-openSUSE.noarch: E: suse-zypp-packageand packageand(waybar:branding-openSUSE)
[    7s] The 'packageand(package1:package2)' syntax is obsolete, please use boolean
[    7s] dependencies like: 'Supplements: (package1 and package2)'
[    7s] 
[    7s] sway-branding-openSUSE.noarch: E: suse-zypp-otherproviders otherproviders(sway-branding)
[    7s] waybar-branding-openSUSE.noarch: E: suse-zypp-otherproviders otherproviders(waybar-branding)
[    7s] The 'otherproviders(symbol)' syntax is obsolete, it is not needed and you can
[    7s] use the 'symbol' directly: 'Conflicts: symbol'
[    7s] 
[    7s] openSUSEway.noarch: W: non-standard-uid /etc/greetd/config.toml.way greeter
[    7s] openSUSEway.noarch: W: non-standard-uid /etc/greetd/environments greeter
[    7s] openSUSEway.noarch: W: non-standard-uid /etc/greetd/sway-config greeter
[    7s] A file in this package is owned by an unregistered user id. To register the
[    7s] user, please make a pull request to the rpmlint config file
[    7s] configs/openSUSE/users-groups.toml in the rpmlint repository.
[    7s] 
[    7s] openSUSEway.noarch: W: non-standard-gid /etc/greetd/config.toml.way greeter
[    7s] openSUSEway.noarch: W: non-standard-gid /etc/greetd/environments greeter
[    7s] openSUSEway.noarch: W: non-standard-gid /etc/greetd/sway-config greeter
[    7s] A file in this package is owned by an unregistered group id. To register the
[    7s] group, please make a pull request to the rpmlint config file
[    7s] configs/openSUSE/users-groups.toml in the rpmlint repository.
[    7s] 
[    7s] openSUSEway.noarch: W: name-repeated-in-summary openSUSEway
[    7s] openSUSEway.src: W: name-repeated-in-summary openSUSEway
[    7s] The name of the package is repeated in its summary. Make the summary brief and
[    7s] to the point without including redundant information in it.
[    7s] 
[    7s] sway-branding-openSUSE.noarch: E: branding-supplements-missing (sway and branding-openSUSE)
[    7s] waybar-branding-openSUSE.noarch: E: branding-supplements-missing (waybar and branding-openSUSE)
[    7s] Branding packages should provide a supplement in the form: 'Supplements:
[    7s] (basepackage and branding-<flavor>)'
[    7s] 
[    7s] openSUSEway.noarch: E: branding-requires-specific-flavor gfxboot-branding-openSUSE
[    7s] openSUSEway.noarch: E: branding-requires-specific-flavor sway-branding-openSUSE
[    7s] openSUSEway.noarch: E: branding-requires-specific-flavor waybar-branding-openSUSE
[    7s] Packages must not require a specific branding or theme package to allow for
[    7s] different themes.
[    7s] 
[    7s] sway-branding-openSUSE.noarch: E: branding-conflicts-missing sway-branding
[    7s] waybar-branding-openSUSE.noarch: E: branding-conflicts-missing waybar-branding
[    7s] Branding packages should conflict with other flavors of the branding package
[    7s] by using: 'Conflicts: pkg-branding = brandingversion' and not directly by
[    7s] listing all the alternative brandings in it.
[    7s] 
[    7s] Check time report (>1% & >0.1s):
[    7s]     Check                            Duration (in s)   Fraction (in %)  Checked files
[    7s]     TOTAL                                        0.2             100.0             30
[    7s] 
[    7s]  5 packages and 0 specfiles checked; 19 errors, 8 warnings, 32 filtered, 19 badness; has taken 0.2 s 

denisok avatar Jan 24 '23 22:01 denisok