This is a review *template*. Besides handling the [ ]-marked tests you are also supposed to fix the template before pasting into bugzilla: - Add issues you find to the list of issues on top. If there isn't such a list, create one. - Add your own remarks to the template checks. - Add new lines marked [!] or [?] when you discover new things not listed by fedora-review. - Change or remove any text in the template which is plain wrong. In this case you could also file a bug against fedora-review - Remove the "[ ] Manual check required", you will not have any such lines in what you paste. - Remove attachments which you deem not really useful (the rpmlint ones are mandatory, though) - Remove this text Package Review ============== Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated [ ] = Manual review needed Issues: ======= - Package installs properly. Note: Installation errors (see attachment) See: https://docs.fedoraproject.org/en-US/packaging-guidelines/ - Dist tag is present. - Sources used to build the package match the upstream source, as provided in the spec URL. Note: Upstream MD5sum check error, diff is in /var/lib/copr- rpmbuild/results/microshift/diff.txt See: https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/ - 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 microshift, microshift-containerized See: https://docs.fedoraproject.org/en-US/packaging- guidelines/Scriptlets/#_scriptlets ===== MUST items ===== C/C++: [ ]: Package does not contain kernel modules. [ ]: Package contains no static executables. [x]: If your application is a C or C++ application you must list a BuildRequires against gcc, gcc-c++ or clang. [x]: Package does not contain any libtool archives (.la) [x]: Rpath absent or only used for internal libs. Generic: [ ]: Package successfully compiles and builds into binary rpms on at least one supported primary architecture. Note: Using prebuilt packages [ ]: Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines. [ ]: License field in the package spec file matches the actual license. Note: Checking patched sources after %prep for licenses. Licenses found: "Unknown or generated", "*No copyright* Apache License 2.0", "Apache License 2.0", "BSD (3 clause)", "MIT License", "*No copyright* MIT License", "BSD (2 clause)", "MIT License Apache License 2.0", "MIT License BSD (3 clause)", "*No copyright* [generated file]", "ISC License", "*No copyright* Creative Commons CC0 Universal 1.0 Public Domain Dedication", "*No copyright* Mozilla Public License 2.0", "GNU General Public License, Version 2", "GNU Lesser General Public License, Version 3", "MIT License BSD (2 clause)", "Creative Commons CC0 Universal 1.0 Public Domain Dedication", "Creative Commons Attribution 4.0 International License Apache License 2.0", "OpenSSL License", "Apache License 2.0 [generated file]", "*No copyright* Public domain", "*No copyright* GNU Lesser General Public License, Version 3". 6468 files have unknown license. Detailed output of licensecheck in /var/lib/copr- rpmbuild/results/microshift/licensecheck.txt [ ]: License file installed when any subpackage combination is installed. [ ]: Package requires other packages for directories it uses. Note: No known owner of /usr/share/selinux/packages/targeted, /var/lib/selinux/targeted/active/modules/200, /var/run/secrets/kubernetes.io, /etc/crio, /var/run/secrets, /etc/crio/crio.conf.d [ ]: Package must own all directories that it creates. Note: Directories without known owners: /var/run/secrets/kubernetes.io, /usr/share/selinux/packages/targeted, /var/lib/selinux/targeted/active/modules/200, /etc/crio, /var/run/secrets, /etc/crio/crio.conf.d, /usr/lib/systemd/system, /usr/lib/systemd, /var/lib/kubelet [ ]: %build honors applicable compiler flags or justifies otherwise. [ ]: Package contains no bundled libraries without FPC exception. [ ]: Changelog in prescribed format. [ ]: Sources contain only permissible code or content. [ ]: Package contains desktop file if it is a GUI application. [ ]: Development files must be in a -devel package [ ]: Package uses nothing in %doc for runtime. [ ]: Package consistently uses macros (instead of hard-coded directory names). [ ]: Package is named according to the Package Naming Guidelines. [ ]: Package does not generate any conflict. [ ]: Package obeys FHS, except libexecdir and /usr/target. [ ]: If the package is a rename of another package, proper Obsoletes and Provides are present. [ ]: Requires correct, justified where necessary. [ ]: Spec file is legible and written in American English. [ ]: Package contains systemd file(s) if in need. [ ]: Useful -debuginfo package or justification otherwise. [ ]: Package is not known to require an ExcludeArch tag. [ ]: Package complies to the Packaging Guidelines [x]: Rpmlint is run on all rpms the build produces. Note: There are rpmlint messages (see attachment). [x]: 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. [x]: Package does not own files or directories owned by other packages. [x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT [x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the beginning of %install. [x]: Macros in Summary, %description expandable at SRPM build time. [x]: Package does not contain duplicates in %files. [x]: Permissions on files are set properly. [x]: Package must not depend on deprecated() packages. [x]: Package use %makeinstall only when make install DESTDIR=... doesn't work. [x]: Package is named using only allowed ASCII characters. [x]: Package does not use a name that already exists. [x]: Package is not relocatable. [x]: Spec file name must match the spec package %{name}, in the format %{name}.spec. [x]: File names are valid UTF-8. [x]: 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. [x]: Packages must not store files under /srv, /opt or /usr/local ===== SHOULD items ===== Generic: [!]: Reviewer should test that the package builds in mock. [!]: Uses parallel make %{?_smp_mflags} macro. [ ]: If the source package does not include license text(s) as a separate file from upstream, the packager SHOULD query upstream to include it. [ ]: Final provides and requires are sane (see attachments). [ ]: Fully versioned dependency in subpackages if applicable. Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in microshift-containerized , microshift-selinux [ ]: Package functions as described. [ ]: Latest version is packaged. [ ]: Package does not include license text files separate from upstream. [ ]: Scriptlets must be sane, if used. [ ]: Sources are verified with gpgverify first in %prep if upstream publishes signatures. Note: gpgverify is not used. [ ]: Description and summary sections in the package spec file contains translations for supported Non-English languages, if available. [ ]: Package should compile and build into binary rpms on all supported architectures. [ ]: %check is present and all tests pass. [ ]: Packages should try to preserve timestamps of original installed files. [ ]: Files in /run, var/run and /var/lock uses tmpfiles.d when appropriate [ ]: Spec use %global instead of %define unless justified. Note: %define requiring justification: %define microshift_relabel_files() restorecon -R /var/hpvolumes [x]: Buildroot is not present [x]: Package has no %clean section with rm -rf %{buildroot} (or $RPM_BUILD_ROOT) [x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin. [x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file [x]: Sources can be downloaded from URI in Source: tag [x]: SourceX is a working URL. ===== EXTRA items ===== Generic: [!]: Rpmlint is run on all installed packages. Note: Mock build failed See: https://docs.fedoraproject.org/en-US/packaging- guidelines/#_use_rpmlint [x]: Large data in /usr/share should live in a noarch subpackage if package is arched. Installation errors ------------------- INFO: mock.py version 2.15 starting (python version = 3.9.7, NVR = mock-2.15-1.fc34)... Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-x86_64/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin Mock Version: 2.15 INFO: Mock Version: 2.15 Finish: chroot init INFO: installing package(s): /var/lib/copr-rpmbuild/results/microshift-containerized-4.8.0-2022_01_06_210147_4_g5bc5fed2.fc36.noarch.rpm /var/lib/copr-rpmbuild/results/microshift-4.8.0-2022_01_06_210147_4_g5bc5fed2.fc36.x86_64.rpm /var/lib/copr-rpmbuild/results/microshift-selinux-4.8.0-2022_01_06_210147_4_g5bc5fed2.fc36.noarch.rpm WARNING: Dnf command failed, retrying, attempt #2, sleeping 10s WARNING: Dnf command failed, retrying, attempt #3, sleeping 10s ERROR: Command failed: # /usr/bin/dnf --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ --releasever 36 --setopt=deltarpm=False --allowerasing --disableplugin=local --disableplugin=spacewalk --disableplugin=versionlock install /var/lib/copr-rpmbuild/results/microshift-containerized-4.8.0-2022_01_06_210147_4_g5bc5fed2.fc36.noarch.rpm /var/lib/copr-rpmbuild/results/microshift-4.8.0-2022_01_06_210147_4_g5bc5fed2.fc36.x86_64.rpm /var/lib/copr-rpmbuild/results/microshift-selinux-4.8.0-2022_01_06_210147_4_g5bc5fed2.fc36.noarch.rpm --setopt=tsflags=nocontexts --setopt=tsflags=nocontexts --setopt=tsflags=nocontexts Rpmlint ------- Checking: microshift-4.8.0-2022_01_06_210147_4_g5bc5fed2.fc36.x86_64.rpm microshift-containerized-4.8.0-2022_01_06_210147_4_g5bc5fed2.fc36.noarch.rpm microshift-selinux-4.8.0-2022_01_06_210147_4_g5bc5fed2.fc36.noarch.rpm microshift-4.8.0-2022_01_06_210147_4_g5bc5fed2.fc36.src.rpm microshift.x86_64: W: name-repeated-in-summary C MicroShift microshift.x86_64: E: description-line-too-long C and integrate cleanly with edge-optimized OSes like Fedora IoT and RHEL for Edge, microshift.x86_64: E: description-line-too-long C systems, scale testing, and provisioning of lightweight Kubernetes control planes. microshift.x86_64: W: incoherent-version-in-changelog 4.8.0-nightly-14-g973b9c78 ['4.8.0-2022_01_06_210147_4_g5bc5fed2.fc36', '4.8.0-2022_01_06_210147_4_g5bc5fed2'] microshift.x86_64: W: no-documentation microshift.x86_64: W: non-conffile-in-etc /etc/crio/crio.conf.d/microshift.conf microshift.x86_64: W: no-manual-page-for-binary cleanup-all-microshift-data microshift.x86_64: W: no-manual-page-for-binary microshift microshift-containerized.noarch: E: description-line-too-long C and integrate cleanly with edge-optimized OSes like Fedora IoT and RHEL for Edge, microshift-containerized.noarch: E: description-line-too-long C systems, scale testing, and provisioning of lightweight Kubernetes control planes. microshift-containerized.noarch: W: no-documentation microshift-containerized.noarch: W: dangerous-command-in-%post mv microshift-selinux.noarch: W: no-documentation microshift-selinux.noarch: E: non-readable /var/lib/selinux/targeted/active/modules/200/microshift 0 microshift-selinux.noarch: E: dir-or-file-in-var-run /var/run/flannel microshift-selinux.noarch: E: dir-or-file-in-var-run /var/run/kubelet microshift-selinux.noarch: E: dir-or-file-in-var-run /var/run/secrets/kubernetes.io/serviceaccount microshift-selinux.noarch: W: dangerous-command-in-%posttrans rm microshift.src: W: name-repeated-in-summary C MicroShift microshift.src: E: description-line-too-long C and integrate cleanly with edge-optimized OSes like Fedora IoT and RHEL for Edge, microshift.src: E: description-line-too-long C systems, scale testing, and provisioning of lightweight Kubernetes control planes. microshift.src:30: W: macro-in-comment %{timestamp} microshift.src:30: W: macro-in-comment %{short_hash} microshift.src:140: W: setup-not-quiet microshift.src:145: W: setup-not-quiet 4 packages and 0 specfiles checked; 10 errors, 15 warnings. Source checksums ---------------- https://github.com/redhat-et/microshift/archive/5bc5fed29e575c228ace9c809f6ed131ad397445/microshift-5bc5fed.tar.gz : CHECKSUM(SHA256) this package : 7f386a08f2ec8440fe3a5acd15e9e2be07f8b636f940c63dd2526fa3c784d36c CHECKSUM(SHA256) upstream package : 0326469e1badad73fcd48e0ae51a083ffeba326d97e40f7a0ee29cfe72e61090 diff -r also reports differences Requires -------- microshift (rpmlib, GLIBC filtered): /bin/sh cri-o cri-tools iptables libc.so.6()(64bit) microshift-selinux rtld(GNU_HASH) systemd microshift-containerized (rpmlib, GLIBC filtered): /bin/sh cri-tools crio libselinux-utils microshift-selinux podman policycoreutils policycoreutils-python-utils selinux-policy selinux-policy-base microshift-selinux (rpmlib, GLIBC filtered): /bin/sh container-selinux libselinux-utils policycoreutils policycoreutils-python-utils selinux-policy selinux-policy-base Provides -------- microshift: microshift microshift(x86-64) microshift-containerized: microshift-containerized microshift-selinux: microshift-selinux Generated by fedora-review 0.7.6 (b083f91) last change: 2020-11-10 Command line :/usr/bin/fedora-review --no-colors --prebuilt --rpm-spec --name microshift --mock-config /var/lib/copr-rpmbuild/results/configs/child.cfg Buildroot used: fedora-rawhide-x86_64 Active plugins: C/C++, Shell-api, Generic Disabled plugins: R, Haskell, Perl, PHP, Python, Ocaml, fonts, Java, SugarActivity Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH