Spec URL: https://carlwgeorge.fedorapeople.org/containerd.spec SRPM URL: https://carlwgeorge.fedorapeople.org/containerd-1.0.0-0.3.beta.2.fc28.src.rpm COPR: https://copr.fedorainfracloud.org/coprs/carlwgeorge/containerd/ Scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=22402803 Description: containerd is an industry-standard container runtime with an emphasis on simplicity, robustness and portability. It is available as a daemon for Linux and Windows, which can manage the complete container lifecycle of its host system: image transfer and storage, container execution and supervision, low-level storage and network attachments, etc. Fedora Account System Username: carlwgeorge
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 ===== MUST items ===== C/C++: [ ]: Package does not contain kernel modules. [ ]: Package contains no static executables. [x]: Package does not contain any libtool archives (.la) [x]: Rpath absent or only used for internal libs. Generic: [ ]: 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: "Apache (v2.0)", "CC by-sa (v4.0)", "*No copyright* BSD (2 clause)", "Unknown or generated", "MIT/X11 (BSD like)", "ISC", "BSD (3 clause)", "BSD (2 clause)", "do What The Fuck you want to Public License (v2)", "*No copyright* Apache (v2.0)". 1241 files have unknown license. Detailed output of licensecheck in /home/lsm5/reviews/1501500-containerd/licensecheck.txt [ ]: Package requires other packages for directories it uses. Note: No known owner of /etc/containerd [ ]: Package must own all directories that it creates. Note: Directories without known owners: /etc/containerd [ ]: Package does not own files or directories owned by other packages. Note: Dirs in package are owned also by: /usr/lib/.build-id(iputils, gc, libtomcrypt, gdbm, gpgme, rpm-plugin-selinux, libnfsidmap, gdb- headless, trousers, bzip2-libs, unzip, libdb-utils, libcom_err, pycryptopp, libseccomp, gnutls, npth, p11-kit, libyaml, iptables-libs, rpm-build, device-mapper-persistent-data, cryptsetup-libs, python2-krbv, libselinux-utils, perl-Scalar-List-Utils, parted, zstd, mozjs17, libxslt, libpkgconf, libunistring, keyutils-libs, perl- Encode, elfutils, python2-cryptography, libgpg-error, lvm2-libs, perl- Digest-SHA, perl-Data-Dumper, gawk, python2-rpm, libbasicobjects, c-ares, python2-sqlalchemy, jansson, e2fsprogs-libs, apr, libsss_nss_idmap, deltarpm, file-libs, trousers-lib, libyubikey, python3-pycurl, zip, libnetfilter_conntrack, libtommath, libusbx, compat-openssl10, qrencode-libs, drpm, createrepo_c-libs, libtasn1, openssh, python3-dbus, sqlite, http-parser, tar, sudo, dhcp-client, libgomp, gcc, systemd-bootchart, dwz, python2-psutil, ebtables, libsmartcols, NetworkManager, pyliblzma, ncurses-libs, polkit, pigz, libpsl, python3-rpm, libini_config, openssh-clients, libuser, perl- libs, kbd, python3-cryptography, systemd, libacl, libnl3, libcap-ng, policycoreutils, libidn, grubby, lzo, libss, libbabeltrace, nspr, dbus, polkit-libs, perl-threads, perl-Params-Validate, libsss_certmap, python2-libcomps, rpm-plugin-systemd-inhibit, python2-pyyaml, audit- libs, nss-sysinit, python2-saslwrapper, libgcc, gettext-libs, p11-kit- trust, golang-github-cpuguy83-go-md2man, ykpers, python3-cffi, dbus- libs, libcrypt-nss, usermode, bash, glibc-common, linux-atm-libs, libedit, libidn2, python3-librepo, libuuid, subversion-libs, openssl, libarchive, isl, lvm2, libatomic_ops, xz, vim-minimal, NetworkManager- libnm, python2-libs, zeromq, groff-base, authconfig, libusb, dhcp- libs, python2-cccolutils, libtalloc, libldb, grep, guile, pcre-utf16, gnupg, cronie-anacron, libserf, xfsprogs, man-db, libcroco, python2-zmq, xz-libs, dbus-glib, timedatex, perl-Package-Stash-XS, skopeo, which, libcap, sssd-nfs-idmap, libdb, saslwrapper, passwd, kmod-libs, desktop-file-utils, cronie, rpm-libs, nettle, createrepo_c, fakeroot, python2-markupsafe, nss-tools, libpipeline, iproute, python2-gpg, findutils, popt, fakeroot-libs, libsss_idmap, gobject- introspection, libpwquality, krb5-workstation, python3-hawkey, iptables, iproute-tc, systemd-libs, cpio, lz4-libs, util-linux, patch, krb5-libs, sqlite-libs, enchant, pkgconf, pcre-cpp, python3-libselinux, rhash, sed, libipt, libsss_autofs, perl-threads- shared, libaio, kmod, nss-util, python2-zope-interface, device-mapper, python2-librepo, kpartx, hunspell, sssd-client, GeoIP, hardlink, libcollection, libgcrypt, libpcap, libxkbcommon, perl-Unicode-UTF8, libzstd, nss-softokn, binutils, libattr, python2-systemd, perl- Variable-Magic, gnupg2-smime, rpm, libssh2, python3-libcomps, gnupg2, perl-IO, libverto, gpgme-devel, dracut, glib2-devel, cracklib, procps- ng, plymouth-core-libs, openpgm, ncurses, libdnf, python3-libs, python3-kerberos, perl-version, perl-PathTools, libtdb, ipset-libs, zlib, cvs, libselinux, libassuan, python3-gpg, libxml2, expat, perl- interpreter, chkconfig, libcurl, make, hostname, libseccomp-devel, coreutils, libsecret, pam, python2-cffi, pinentry, m2crypto, openldap, perl-Net-SSLeay, perl-Filter, librepo, audit, ipcalc, libsepol, gzip, libuv, libtevent, nss-pem, vim-common, python2-kerberos, less, libfdisk, rpm-build-libs, libnghttp2, python2-lxml, openssl-libs, ostree-libs, libsolv, subversion, gmp, perl-Unicode-Normalize, ipset, perl-Socket, apr-util, polkit-pkla-compat, pcre2, python3, python2, cyrus-sasl-lib, gpm-libs, libpath_utils, fuse-libs, python3-gobject- base, perl-TermReadKey, perl-MIME-Base64, shared-mime-info, python2-crypto, libblkid, python2-twisted, libsigsegv, libsss_sudo, sssd-common, glibc, btrfs-progs, shadow-utils, bind99-libs, perl- Params-Util, fipscheck, vim-enhanced, elfutils-libs, acl, libmount, libkadm5, glib2, libstdc++, libffi, libmnl, nss, pcre, git, ima-evm- utils, tcp_wrappers-libs, systemd-pam, git-core, perl-Storable, perl- Digest-MD5, libmpc, openssh-server, pcre-utf32, info, libnfnetlink, godep, ustr, perl-Sort-Key, device-mapper-event-libs, initscripts, plymouth, device-mapper-event, lua-libs, libsemanage, python2-m2ext, libndp, systemd-container, libcomps, systemd-udev, golang, file, curl, jsoncpp, bzip2, cmake, gettext, elfutils-libelf, nss-softokn-freebl, fipscheck-lib, python2-pycurl, libutempter, device-mapper-libs, libmetalink, libtool-ltdl, readline, libref_array, python2-hawkey, diffutils, cryptopp, e2fsprogs, chrony, grub2-tools-minimal, libdhash, cpp, libksba, mpfr), /usr/lib/.build-id/05(nss-pem, libpath_utils, glibc, systemd, shadow-utils, coreutils, util-linux, pam), /usr/lib /.build-id/11(procps-ng, iptables, ebtables, sssd-common, glibc, coreutils, usermode), /usr/lib/.build-id/ed(procps-ng, iptables, systemd, nspr, coreutils, gdbm) [ ]: %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. [ ]: Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 20480 bytes in 1 files. [ ]: Package complies to the Packaging Guidelines [x]: Package successfully compiles and builds into binary rpms on at least one supported primary architecture. [x]: Package installs properly. [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]: All build dependencies are listed in BuildRequires, except for any that are listed in the exceptions section of Packaging Guidelines. [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]: %config files are marked noreplace or the reason is justified. [x]: Macros in Summary, %description expandable at SRPM build time. [x]: Dist tag is present. Note: Multiple Release: tags found [x]: Package does not contain duplicates in %files. [x]: Permissions on files are set properly. [x]: Package use %makeinstall only when make install DESTDIR=... doesn't work. [x]: Package is named using only allowed ASCII characters. [x]: No %config files under /usr. [x]: Package does not use a name that already exists. [x]: Package is not relocatable. [x]: Sources used to build the package match the upstream source, as provided in the spec URL. [x]: Spec file name must match the spec package %{name}, in the format %{name}.spec. [x]: File names are valid UTF-8. [x]: Packages must not store files under /srv, /opt or /usr/local ===== SHOULD items ===== Generic: [ ]: 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). [ ]: Package functions as described. [ ]: Latest version is packaged. [ ]: Package does not include license text files separate from upstream. [ ]: Description and summary sections in the package spec file contains translations for supported Non-English languages, if available. [ ]: %check is present and all tests pass. [ ]: Packages should try to preserve timestamps of original installed files. [ ]: Spec use %global instead of %define unless justified. Note: %define requiring justification: %define gobuild(o:) go build -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n')" -a -v -x %{?**}; [x]: Reviewer should test that the package builds in mock. [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. [x]: Package should compile and build into binary rpms on all supported architectures. ===== EXTRA items ===== Generic: [x]: Rpmlint is run on all installed packages. Note: There are rpmlint messages (see attachment). [x]: Large data in /usr/share should live in a noarch subpackage if package is arched. [x]: Spec file according to URL is the same as in SRPM. Rpmlint ------- Checking: containerd-1.0.0-0.3.beta.2.fc28.x86_64.rpm containerd-1.0.0-0.3.beta.2.fc28.src.rpm containerd.x86_64: W: spelling-error Summary(en_US) runtime -> run time, run-time, rudiment containerd.x86_64: W: spelling-error %description -l en_US runtime -> run time, run-time, rudiment containerd.x86_64: W: spelling-error %description -l en_US lifecycle -> life cycle, life-cycle, Wycliffe containerd.x86_64: W: unstripped-binary-or-object /usr/bin/containerd containerd.x86_64: W: unstripped-binary-or-object /usr/bin/containerd-shim containerd.x86_64: W: unstripped-binary-or-object /usr/bin/ctr containerd.x86_64: W: no-manual-page-for-binary containerd containerd.x86_64: W: no-manual-page-for-binary containerd-shim containerd.x86_64: W: no-manual-page-for-binary ctr containerd.src: W: spelling-error Summary(en_US) runtime -> run time, run-time, rudiment containerd.src: W: spelling-error %description -l en_US runtime -> run time, run-time, rudiment containerd.src: W: spelling-error %description -l en_US lifecycle -> life cycle, life-cycle, Wycliffe 2 packages and 0 specfiles checked; 0 errors, 12 warnings. Rpmlint (installed packages) ---------------------------- sh: /usr/bin/python: No such file or directory containerd.x86_64: W: spelling-error Summary(en_US) runtime -> run time, run-time, rudiment containerd.x86_64: W: spelling-error %description -l en_US runtime -> run time, run-time, rudiment containerd.x86_64: W: spelling-error %description -l en_US lifecycle -> life cycle, life-cycle, Wycliffe containerd.x86_64: W: invalid-url URL: https://containerd.io <urlopen error [Errno -2] Name or service not known> containerd.x86_64: W: unstripped-binary-or-object /usr/bin/containerd containerd.x86_64: W: unstripped-binary-or-object /usr/bin/containerd-shim containerd.x86_64: W: unstripped-binary-or-object /usr/bin/ctr containerd.x86_64: W: no-manual-page-for-binary containerd containerd.x86_64: W: no-manual-page-for-binary containerd-shim containerd.x86_64: W: no-manual-page-for-binary ctr 1 packages and 0 specfiles checked; 0 errors, 10 warnings. Requires -------- containerd (rpmlib, GLIBC filtered): /bin/sh config(containerd) libc.so.6()(64bit) libdl.so.2()(64bit) libpthread.so.0()(64bit) rtld(GNU_HASH) runc systemd Provides -------- containerd: bundled(golang(github.com/BurntSushi/toml)) bundled(golang(github.com/Microsoft/go-winio)) bundled(golang(github.com/Microsoft/hcsshim)) bundled(golang(github.com/Microsoft/opengcs)) bundled(golang(github.com/beorn7/perks)) bundled(golang(github.com/boltdb/bolt)) bundled(golang(github.com/containerd/btrfs)) bundled(golang(github.com/containerd/cgroups)) bundled(golang(github.com/containerd/console)) bundled(golang(github.com/containerd/continuity)) bundled(golang(github.com/containerd/fifo)) bundled(golang(github.com/containerd/go-runc)) bundled(golang(github.com/containerd/typeurl)) bundled(golang(github.com/coreos/go-systemd)) bundled(golang(github.com/davecgh/go-spew)) bundled(golang(github.com/dmcgowan/go-tar)) bundled(golang(github.com/docker/go-events)) bundled(golang(github.com/docker/go-metrics)) bundled(golang(github.com/docker/go-units)) bundled(golang(github.com/godbus/dbus)) bundled(golang(github.com/gogo/protobuf)) bundled(golang(github.com/golang/protobuf)) bundled(golang(github.com/grpc-ecosystem/go-grpc-prometheus)) bundled(golang(github.com/matttproud/golang_protobuf_extensions)) bundled(golang(github.com/opencontainers/go-digest)) bundled(golang(github.com/opencontainers/image-spec)) bundled(golang(github.com/opencontainers/runc)) bundled(golang(github.com/opencontainers/runtime-spec)) bundled(golang(github.com/pkg/errors)) bundled(golang(github.com/pmezard/go-difflib)) bundled(golang(github.com/prometheus/client_golang)) bundled(golang(github.com/prometheus/client_model)) bundled(golang(github.com/prometheus/common)) bundled(golang(github.com/prometheus/procfs)) bundled(golang(github.com/sirupsen/logrus)) bundled(golang(github.com/stretchr/testify)) bundled(golang(github.com/urfave/cli)) bundled(golang(golang.org/x/net)) bundled(golang(golang.org/x/sync)) bundled(golang(golang.org/x/sys)) bundled(golang(golang.org/x/text)) bundled(golang(google.golang.org/genproto)) bundled(golang(google.golang.org/grpc)) config(containerd) containerd containerd(x86-64) Source checksums ---------------- https://github.com/containerd/containerd/archive/v1.0.0-beta.2/containerd-1.0.0-beta.2.tar.gz : CHECKSUM(SHA256) this package : 3130384a814bc0a43fe3b76e2bbb2db2372fdc96490b76f8b278362ebc0d3fb1 CHECKSUM(SHA256) upstream package : 3130384a814bc0a43fe3b76e2bbb2db2372fdc96490b76f8b278362ebc0d3fb1 Generated by fedora-review 0.6.1 (f03e4e7) last change: 2016-05-02 Command line :/usr/bin/fedora-review -m fedora-rawhide-x86_64 -b 1501500 Buildroot used: fedora-rawhide-x86_64 Active plugins: Generic, Shell-api, C/C++ Disabled plugins: Java, Python, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP Disabled flags: EXARCH, DISTTAG, EPEL5, BATCH, EPEL6
===== MUST items ===== C/C++: [-]: Package does not contain kernel modules. [-]: Package contains no static executables. Generic: [x]: Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines. [x]: License field in the package spec file matches the actual license. Note: Checking patched sources after %prep for licenses. Licenses found: "Apache (v2.0)", "CC by-sa (v4.0)", "*No copyright* BSD (2 clause)", "Unknown or generated", "MIT/X11 (BSD like)", "ISC", "BSD (3 clause)", "BSD (2 clause)", "do What The Fuck you want to Public License (v2)", "*No copyright* Apache (v2.0)". 1241 files have unknown license. Detailed output of licensecheck in /home/lsm5/reviews/1501500-containerd/licensecheck.txt [!]: Package requires other packages for directories it uses. Note: No known owner of /etc/containerd [!]: Package must own all directories that it creates. Note: Directories without known owners: /etc/containerd Owning /etc/containerd should make these two go away. [x]: %build honors applicable compiler flags or justifies otherwise. [x]: Package contains no bundled libraries without FPC exception. [x]: Changelog in prescribed format. [x]: 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 [x]: Package uses nothing in %doc for runtime. [x]: Package consistently uses macros (instead of hard-coded directory names). [x]: Package is named according to the Package Naming Guidelines. [x]: Package does not generate any conflict. [x]: 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. See the Requires section below. [x]: Spec file is legible and written in American English. [x]: Package contains systemd file(s) if in need. [x]: Useful -debuginfo package or justification otherwise. [x]: Package is not known to require an ExcludeArch tag. [-]: Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 20480 bytes in 1 files. [x]: Package complies to the Packaging Guidelines Requires -------- containerd (rpmlib, GLIBC filtered): /bin/sh config(containerd) libc.so.6()(64bit) libdl.so.2()(64bit) libpthread.so.0()(64bit) rtld(GNU_HASH) runc systemd You'll need to include systemd as a Requires since you're shipping a unitfile. Also, probably need to include runc in there as well. Rest of them should be automatically handled IIUC.
Also, looking at the spec, might wanna change golang to be >= 1.9, doesn't matter if that means it won't build for f26.
I'll add /etc/containerd added to %files, thanks for catching that. systemd and runc are both already requirements in the spec file. Regarding the minimum golang version to build, I'm hoping for more feedback from upstream first. I like to keep it at 1.8 if possible so that this can be added to EPEL. https://github.com/containerd/containerd/issues/1508#issuecomment-336200953
whoops my bad RE: runc and systemd. RE: epel, you'll have a much less frustrating time doing this on Virt SIG than EPEL as I mentioned on the github issue, but anyway, that's not really a blocker to package review. So, let me know once the /etc/containerd ownership is updated.
Spec URL: https://carlwgeorge.fedorapeople.org/containerd.spec SRPM URL: https://carlwgeorge.fedorapeople.org/containerd-1.0.0-0.4.beta.2.fc28.src.rpm * Thu Oct 19 2017 Carl George <carl> - 1.0.0-0.4.beta.2 - Own /etc/containerd
[x]: Package requires other packages for directories it uses. [x]: Package must own all directories that it creates. [x]: Requires correct, justified where necessary. package spec conforms to current golang packaging draft. Mandatory review items taken care of as mentioned above. package approved. Enjoy!
(fedrepo-req-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/containerd