cloud-init.s390x: W: explicit-lib-dependency python3-oauthlib You must let rpm find the library dependencies by itself. Do not put unneeded explicit Requires: tags. cloud-init.s390x: W: files-duplicate /etc/cloud/templates/chrony.conf.photon.tmpl /etc/cloud/templates/chrony.conf.fedora.tmpl cloud-init.s390x: W: files-duplicate /etc/cloud/templates/chrony.conf.sles.tmpl /etc/cloud/templates/chrony.conf.opensuse.tmpl cloud-init.s390x: W: files-duplicate /etc/cloud/templates/ntp.conf.opensuse.tmpl /etc/cloud/templates/ntp.conf.sles.tmpl cloud-init.src:251: W: macro-in-comment %defattr cloud-init.src:250: W: macro-in-comment %files cloud-init.src:252: W: macro-in-comment %{python_sitelib} There is a unescaped macro after a shell style comment in the specfile. Macros are expanded everywhere, so check if it can cause a problem in this case and escape the macro with another leading % if appropriate. cloud-init.s390x: W: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. cloud-init-config-suse.s390x: W: no-version-in-last-changelog cloud-init-doc.s390x: W: no-version-in-last-changelog cloud-init.s390x: W: no-version-in-last-changelog cloud-init.src: W: no-version-in-last-changelog The latest changelog entry doesn't contain a version. Please insert the version that is coherent with the version of the package and rebuild it. cloud-init.s390x: W: non-conffile-in-etc /etc/rsyslog.d/21-cloudinit.conf cloud-init.s390x: W: non-conffile-in-etc /etc/systemd/system/sshd-keygen@.service.d/disable-sshd-keygen-if-cloud-init-active.conf A non-executable file in your package is being installed in /etc, but is not a configuration file. All non-executable files in /etc should be configuration files. Mark the file as %config in the spec file. cloud-init.s390x: W: non-executable-script /usr/lib/python3.6/site-packages/cloudinit/distros/photon.py 644 /usr/bin/env python3 cloud-init.s390x: W: non-executable-script /usr/lib/python3.6/site-packages/cloudinit/net/networkd.py 644 /usr/bin/env 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. cloud-init.s390x: W: suse-filelist-forbidden-systemd-userdirs /etc/systemd/system/sshd-keygen@.service.d is not allowed in SUSE cloud-init.s390x: W: suse-filelist-forbidden-systemd-userdirs /etc/systemd/system/sshd-keygen@.service.d/disable-sshd-keygen-if-cloud-init-active.conf is not allowed in SUSE This directory is for user files, use the system directory under /usr/lib cloud-init.s390x: W: suse-missing-rclink cloud-config cloud-init.s390x: W: suse-missing-rclink cloud-final cloud-init.s390x: W: suse-missing-rclink cloud-init cloud-init.s390x: W: suse-missing-rclink cloud-init-local The package contains an init script or systemd service file but lacks the symlink /usr/sbin/rcFOO -> /usr/sbin/service cloud-init.s390x: W: systemd-service-without-service_add_post cloud-config.service cloud-init.s390x: W: systemd-service-without-service_add_post cloud-config.target cloud-init.s390x: W: systemd-service-without-service_add_post cloud-final.service cloud-init.s390x: W: systemd-service-without-service_add_post cloud-init-local.service cloud-init.s390x: W: systemd-service-without-service_add_post cloud-init.service cloud-init.s390x: W: systemd-service-without-service_add_post cloud-init.target The package contains a systemd service but doesn't contain a %post with a call to service_add_post. cloud-init.s390x: W: systemd-service-without-service_add_pre cloud-config.service cloud-init.s390x: W: systemd-service-without-service_add_pre cloud-config.target cloud-init.s390x: W: systemd-service-without-service_add_pre cloud-final.service cloud-init.s390x: W: systemd-service-without-service_add_pre cloud-init-local.service cloud-init.s390x: W: systemd-service-without-service_add_pre cloud-init.service cloud-init.s390x: W: systemd-service-without-service_add_pre cloud-init.target The package contains a systemd service but doesn't contain a %pre with a call to service_add_pre. cloud-init.s390x: W: systemd-service-without-service_del_postun cloud-config.service cloud-init.s390x: W: systemd-service-without-service_del_postun cloud-config.target cloud-init.s390x: W: systemd-service-without-service_del_postun cloud-final.service cloud-init.s390x: W: systemd-service-without-service_del_postun cloud-init-local.service cloud-init.s390x: W: systemd-service-without-service_del_postun cloud-init.service cloud-init.s390x: W: systemd-service-without-service_del_postun cloud-init.target The package contains a systemd service but doesn't contain a %postun with a call to service_del_postun. cloud-init.s390x: W: systemd-service-without-service_del_preun cloud-config.service cloud-init.s390x: W: systemd-service-without-service_del_preun cloud-config.target cloud-init.s390x: W: systemd-service-without-service_del_preun cloud-final.service cloud-init.s390x: W: systemd-service-without-service_del_preun cloud-init-local.service cloud-init.s390x: W: systemd-service-without-service_del_preun cloud-init.service cloud-init.s390x: W: systemd-service-without-service_del_preun cloud-init.target The package contains a systemd service but doesn't contain a %preun with a call to service_del_preun. cloud-init.s390x: W: systemd-unit-in-etc /etc/systemd/system/sshd-keygen@.service.d cloud-init.s390x: W: systemd-unit-in-etc /etc/systemd/system/sshd-keygen@.service.d/disable-sshd-keygen-if-cloud-init-active.conf A systemd unit has been packaged in /etc/systemd/system. These units should be installed in the system unit dir instead. 4 packages and 0 specfiles checked; 0 errors, 48 warnings.