Skip to content

Releases: rpm-software-management/mock

mock-2.3-1

22 May 09:20
Compare
Choose a tag to compare

mock-core-configs-32.6-1

07 Apr 07:39
Compare
Choose a tag to compare

Full release notes:
https://github.com/rpm-software-management/mock/wiki/Release-Notes-2.2

  • the site-defaults.cfg file moved from mock to mock-core-configs
  • new option config_opts['isolation'], obsoletes 'use_nspawn'
  • declare minimal version of mock, and set this to v2.2 as we use the new
    'isolation' config option now, and we provide site-defaults.cfg file
  • specify amazonlinux bootstrap image, to fix --use-bootstrap-image
  • allow to replace mock-core-configs by packages that 'Provides: mock-configs'
  • rpmlint: remove macro in comment

mock-2.2-1

07 Apr 07:37
Compare
Choose a tag to compare

Full release notes:
https://github.com/rpm-software-management/mock/wiki/Release-Notes-2.2

  • depend on mock-configs, not mock-core-configs so users can pick an alternative
    package with configuration
  • bind-mounting stuff below /tmp into bootstrap is fixed with nspawn (GH#502)
  • don't do util.getAddtlReqs when 'more_buildreqs' not specified
  • implement doOutChroot() abstraction which runs commands either in bootstrap
    or on host, depending on isolation={nspawn|simple}
  • use doOutChroot() for package_state plugin (GH#525)
  • fix for "mock --chroot -- cmd arg1 arg2" use-case
  • site-defaults.cfg moved from /etc to %%doc, and the config file is now
    provided by mock-core-configs (GH#555)
  • bootstrap: expand dnf vars in local repo bind-mounts (rhbz#1815703)
  • bootstrap: bindmount local metalink/mirrorlist (rhbz#1816696)
  • config_opts['isolation'] option invented, replaces 'use_nspawn'
  • 'isolation' is now set to 'auto' (means 'nspawn' with fallback to 'simple',
    (GH#337, otaylor@fishsoup.net)
  • Fedora Toolbox && bootstrap - don't re-bind-mount dev files, and fix
    installation of filesystem.rpm from bootstrap to normal chroot (GH#550)
  • re-define %%python3_pkgversion on el7 (GH#545)
  • docker use-case: use getpass.getuser() instead of os.getlogin() (GH#551)
  • set LANG to C.UTF-8 by default, even if host has different value (GH#451)
  • bootstrap: use configured yum commands (GH#518, paul@city-fan.org)
  • fixup doubled-logs by predictable bootstrap resultdir (GH#539, rhbz#1805631)
  • fix --chain --isolation=simple with external URLs (GH#542)
  • option --orphanskill fixed for --isolation=simple --bootstrap-chroot
  • orphan processes are now also killed "postyum", right after the installation
    trasactions are executed to also kill daemons started from scriptlets (GH#183)
  • EL7 fix - use 'private' mount option for <bootsrap_root>/, not 'rprivate'
  • ceanup rpmdb before checking installed packages (fixes builds against target
    chroots that have different rpmdb backend, e.g. SQLite on F33+)

mock-core-configs-32.5

26 Mar 15:36
Compare
Choose a tag to compare
  • Add Devel repo to CentOS 8 and CentOS Stream
  • Add PowerTools sources repo entry to CentOS 8 and CentOS Stream
  • Fix openSUSE Leap 15.1 aarch64 update repo & package filters
  • Add openSUSE Leap 15.2
  • openSUSE Leap 15.0 is EOL
  • Add OpenMandriva Lx 4.1
  • OpenMandriva Lx 4.0 is EOL

mock-core-configs-32.4-1

11 Mar 08:43
Compare
Choose a tag to compare

Mock-core-configs 32.4

  • Specify CA bundle path for OpenSUSE chroots (#500).

  • EOL Mageia 6 configs.

  • Temporarily disable package_state plugin for openmandriva 4.0 and Cooker (#525).

mock-2.1-1

11 Mar 08:42
Compare
Choose a tag to compare

Mock 2.1 bugfixes:

  • Fixed mock --install <sth> request when <sth> is a file or directory
    in CWD, or an absolute path on host (#474).

  • We do not emit the warning WARNING: Not using '/usr/bin/yum', it is symlink to '/usr/bin/dnf-3' anymore for installing bootstrap chroot (#477,
    rhbz#1802930).

  • The config_opts['dnf.conf'] option is made equivalent to
    config_opts['yum.conf'] (#486).

  • Allow specifying host-local repositories with baseurl=/absolute/path, not
    only with baseurl=file:///absolute/path. This did not work with bootstrap
    mode before (#480).

  • Fixed broken sign plugin (#476, rhbz#1806577).

  • Fixed too deep jinja recursion caused by trailing newlines in dnf.conf
    config option (rhbz#1806482).

  • The mock --scrub with lvm_root plugin enabled did not work (rhbz#1805179).

  • Do not fail when host doesn't provide CA certificates on expected locations
    (#492).

  • Traceback fix for mock --chain with tmpfs keep_mounted enabled (#479).

  • Dnf caches aren't cleaned for consecutive builds with mock --chain (#483).

Mock 2.1 new features:

  • Mock expects that rpmbuild -br (for %generate_buildrequires spec statement,
    aka "dynamic BuildRequires") can return both exit status 0 and 11. Currently
    released RPM always returns 11, but the plan is to fix that to return 0.

  • New option ssl_ca_bundle_path. When specified, the CA certificate bundle
    is copied from host to the specified path in chroot (usually it is enough to
    keep the default behavior when whole /etc/pki/ca-trust/extracted is
    copied, but e.g. OpenSUSE has different path to bundle) (#500).

mock-core-configs-32.3-2

11 Mar 06:37
Compare
Choose a tag to compare
  • fixed improperly templatized opensuse-leap-15.1 config (#484)

mock-core-configs-32.2-1

11 Mar 06:30
Compare
Choose a tag to compare
  • use 'dnf.conf' in mageia, opensuse and openmandriva configs
  • fixes for module platform spec in Fedora 31+ i386 (rhbz#1804415)

mock-core-conifigs-32.1

08 Feb 16:27
Compare
Choose a tag to compare

Bugfix for broken centos-8 and centos-stream configs, s/yum.conf/dnf.conf/.

mock-core-conifigs-32.0-2