As part of https://github.com/rpm-software-management/mock/issues/382 I found that the very minimal spec file can be built only using: * shadow-utils - mock needs /usr/sbin/useradd from this package * rpm-build - mock needs /usr/bin/rpmbuild * glibc-minimal-langpack - this is optional, but helps to avoid installation of huge glibc-all-langpacks. in buildroot. Everything else is transitively installed. Though the list of those transitive dependencies is quite long (see end of this mail). It may come handy to minimization team. I see there some low-hanging fruits: * why gdb-minimal, quile, dwz (needed for debuginfos) - especially when gcc has to be explicitly stated? * do we really need alternatives in minimal buildroot? * do we really need zip and unzip in minimal buildroot? But every change in minimal buildroot needs lots of administrative work (fesco, fepco, communication with packagers affected by change). I currently do not have will to work on this. So this is merely FYI and for anyone willing to continue to work on this. List of transitive dependencies. alternatives-1.11-6.fc32.x86_64 audit-libs-3.0-0.19.20191104git1c2f876.fc32.x86_64 basesystem-11-9.fc32.noarch bash-5.0.11-2.fc32.x86_64 binutils-gold-2.34-2.fc32.x86_64 binutils-2.34-2.fc32.x86_64 bzip2-libs-1.0.8-2.fc32.x86_64 bzip2-1.0.8-2.fc32.x86_64 ca-certificates-2020.2.40-3.fc32.noarch coreutils-common-8.32-3.fc32.1.x86_64 coreutils-8.32-3.fc32.1.x86_64 cpio-2.13-4.fc32.x86_64 crypto-policies-20191128-5.gitcd267a5.fc32.noarch curl-7.69.1-1.fc32.x86_64 cyrus-sasl-lib-2.1.27-4.fc32.x86_64 diffutils-3.7-4.fc32.x86_64 efi-srpm-macros-4-4.fc32.noarch elfutils-default-yama-scope-0.179-1.fc32.noarch elfutils-libelf-0.179-1.fc32.x86_64 elfutils-libs-0.179-1.fc32.x86_64 elfutils-0.179-1.fc32.x86_64 expat-2.2.8-2.fc32.x86_64 fedora-gpg-keys-32-1.noarch fedora-release-common-32-1.noarch fedora-release-32-1.noarch fedora-repos-32-1.noarch file-libs-5.38-2.fc32.x86_64 filesystem-3.14-2.fc32.x86_64 file-5.38-2.fc32.x86_64 findutils-4.7.0-3.fc32.x86_64 fonts-srpm-macros-2.0.3-1.fc32.noarch fpc-srpm-macros-1.3-1.fc32.noarch gawk-5.0.1-7.fc32.x86_64 gc-8.0.4-3.fc32.x86_64 gdb-minimal-9.1-3.fc32.x86_64 ghc-srpm-macros-1.5.0-2.fc32.noarch glibc-all-langpacks-2.31-2.fc32.x86_64 glibc-common-2.31-2.fc32.x86_64 glibc-2.31-2.fc32.x86_64 gmp-6.1.2-13.fc32.x86_64 gnat-srpm-macros-4-11.fc32.noarch go-srpm-macros-3.0.8-5.fc32.noarch grep-3.3-4.fc32.x86_64 guile-2.0.14-19.fc32.x86_64 gzip-1.10-2.fc32.x86_64 keyutils-libs-1.6-4.fc32.x86_64 krb5-libs-1.18-1.fc32.x86_64 libacl-2.2.53-5.fc32.x86_64 libarchive-3.4.2-1.fc32.x86_64 libattr-2.4.48-8.fc32.x86_64 libbrotli-1.0.7-10.fc32.x86_64 libcap-ng-0.7.10-2.fc32.x86_64 libcap-2.26-7.fc32.x86_64 libcom_err-1.45.5-3.fc32.x86_64 libcurl-7.69.1-1.fc32.x86_64 libdb-utils-5.3.28-40.fc32.x86_64 libdb-5.3.28-40.fc32.x86_64 libffi-3.1-24.fc32.x86_64 libgcc-10.0.1-0.11.fc32.x86_64 libgomp-10.0.1-0.11.fc32.x86_64 libidn2-2.3.0-2.fc32.x86_64 libmetalink-0.1.3-10.fc32.x86_64 libnghttp2-1.40.0-2.fc32.x86_64 libpkgconf-1.6.3-3.fc32.x86_64 libpsl-0.21.0-4.fc32.x86_64 libselinux-3.0-3.fc32.x86_64 libsemanage-3.0-3.fc32.x86_64 libsepol-3.0-3.fc32.x86_64 libsigsegv-2.11-10.fc32.x86_64 libssh-config-0.9.3-2.fc32.noarch libssh-0.9.3-2.fc32.x86_64 libstdc++-10.0.1-0.11.fc32.x86_64 libtasn1-4.16.0-1.fc32.x86_64 libtool-ltdl-2.4.6-33.fc32.x86_64 libunistring-0.9.10-7.fc32.x86_64 libverto-0.3.0-9.fc32.x86_64 libxcrypt-4.4.16-1.fc32.x86_64 libxml2-2.9.10-3.fc32.x86_64 libzstd-1.4.4-2.fc32.x86_64 lua-libs-5.3.5-7.fc32.x86_64 lz4-libs-1.9.1-2.fc32.x86_64 mpfr-4.0.2-3.fc32.x86_64 ncurses-base-6.1-15.20191109.fc32.noarch ncurses-libs-6.1-15.20191109.fc32.x86_64 ncurses-6.1-15.20191109.fc32.x86_64 nim-srpm-macros-3-2.fc32.noarch ocaml-srpm-macros-6-2.fc32.noarch openblas-srpm-macros-2-7.fc32.noarch openldap-2.4.47-4.fc32.x86_64 openssl-libs-1.1.1d-7.fc32.x86_64 patch-2.7.6-12.fc32.x86_64 pcre2-syntax-10.34-9.fc32.noarch pcre2-10.34-9.fc32.x86_64 pcre-8.44-1.fc32.x86_64 perl-srpm-macros-1-34.fc32.noarch pkgconf-m4-1.6.3-3.fc32.noarch pkgconf-pkg-config-1.6.3-3.fc32.x86_64 pkgconf-1.6.3-3.fc32.x86_64 popt-1.16-19.fc32.x86_64 publicsuffix-list-dafsa-20190417-3.fc32.noarch python-srpm-macros-3-55.fc32.noarch p11-kit-trust-0.23.20-1.fc32.x86_64 p11-kit-0.23.20-1.fc32.x86_64 qt5-srpm-macros-5.13.2-2.fc32.noarch readline-8.0-4.fc32.x86_64 redhat-rpm-config-150-1.fc32.noarch rpm-build-libs-4.15.1-2.fc32.1.x86_64 rpm-build-4.15.1-2.fc32.1.x86_64 rpm-libs-4.15.1-2.fc32.1.x86_64 rpm-4.15.1-2.fc32.1.x86_64 rust-srpm-macros-13-2.fc32.noarch sed-4.5-5.fc32.x86_64 setup-2.13.6-2.fc32.noarch shadow-utils-4.8.1-2.fc32.x86_64 tar-1.32-4.fc32.x86_64 tzdata-2019c-3.fc32.noarch unzip-6.0-47.fc32.x86_64 xxhash-libs-0.7.3-1.fc32.x86_64 xz-libs-5.2.5-1.fc32.x86_64 xz-5.2.5-1.fc32.x86_64 zip-3.0-26.fc32.x86_64 zlib-1.2.11-21.fc32.x86_64 zstd-1.4.4-2.fc32.x86_64 -- Miroslav Suchy, RHCA Red Hat, Associate Manager ABRT/Copr, #brno, #fedora-buildsys _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx