# changelog

author: Miroslav Suchý <msuchy@redhat.com> - 1.2.16-1
changelog:
  - remove old %if statements
  - systemd-nspawn is now in systemd-container package
  - become root user correct way [RHBZ#1312820][RHBZ#1311796]
  - remove the sparc config
  - Let logging format messages on demand
  - tell nspawn which variables it should set [RHBZ#1311796]
  - do not call /bin/su and rather utilize --user of systemd-nspawn [RHBZ#1301953]


author: Miroslav Suchý <msuchy@redhat.com> - 1.2.18-1
changelog:
  - add custom config
  - add Mageia configs
  - copy just content of SRPM not the attributes [RHBZ#1301985]
  - do not fail when we cannot link default.cfg [RHBZ#1305367]
  - Build always fails when using --nocheck [RHBZ#1327594]
  - Escape the escape sequences in PROMPT_COMMAND, improve prompt
  - requires rpm-python
  - Use root name instead config name for backups dir
  - Unconditionally setup resolver config
  - keep machine-id in /etc/machine-id [RHBZ#1344305]
  - use DNF for F24
  - Add MIPS personalities
  - scm plugin: fix handling of submodules


author: Miroslav Suchý <msuchy@redhat.com> - 1.2.19-1
changelog:
  - disable tmpfs plugin for init-clean test
  - pass cwd option to systemd-nspawn [RHBZ#1264508]
  - pass unpriv id to doshell() [RHBZ#1298220]
  - enable package_state plugin by default and create installed_pkgs file [RHBZ#1277187]
  - installed_pkgs can be created even in offline mode
  - Use context manager for drop/restore calls of uid manager [RHBZ#1362478]
  - require /etc/os-release during post section [RHBZ#1358397]
  - use mageia gpg keys from distribution-gpg-keys package
  - use fedora gpg keys from distribution-gpg-keys package
  - use epel gpg keys from distribution-gpg-keys package
  - add F25 configs
  - 'include' statement has been added [RHBZ#1272381]
  - Handle file open/close more with "with", close more eagerly
  - Use logging.warning instead of deprecated warn
  - add chroot_additional_packages to custom chroots
  - chroot_additional_packages: new option


author: Miroslav Suchý <msuchy@redhat.com> - 1.2.21-1
changelog:
  - CVE-2016-6299 - fixed root rights escalation in mock-scm
  - root_cache: Mention _root_ cache being created in state updates
  - Rename mageia pubkey to RPM-GPG-KEY-Mageia
  - require generic system-release rather than fedora-release [RHBZ#1367746]


author: Miroslav Suchý <msuchy@redhat.com> 1.3.1-1
changelog:
  - remove F21 GPG keys
  - remove F22 configs
  - update upstream URL
  - move /usr/sbin/mock to /usr/libexec/mock/mock [RHBZ#1246810]
  - Initialized to use tito.
  - add pylint config


author: Miroslav Suchý 1.3.2-1
changelog:
  - flake8 fixes
  - correctly escape --nocheck [GH#2] (msuchy@redhat.com)
  - change hostname in container [RHBZ#1302040] (msuchy@redhat.com)
  - example how to change hostname in container [RHBZ#1302040]
    (msuchy@redhat.com)
  - skip unshare() if running inside of Docker [RHBZ#1336750] (msuchy@redhat.com)
  - Bring back logging.raiseExceptions = 0 (ville.skytta@iki.fi)
  - Purge no longer needed Python < 2.5 workarounds (ville.skytta@iki.fi)
  - Purge no longer needed six < 1.4.0 workaround (ville.skytta@iki.fi)
  - run pylint during %check phase (msuchy@redhat.com)


author: Miroslav Suchý <msuchy@redhat.com> 1.3.3-1
changelog:
  - use F25 for tests
  - handle cwd directories with spaces [RHBZ#1389663]
  - add config option `hostname` to set hostname
    (constantine.peresypk@rackspace.com)
  - use DNF on RHEL, when it is installed and configured [RHBZ#1405783]
  - use best=1 for DNF
  - error is not iterable [RHBZ#1387895]
  - use best=true for dnf.conf for repos passed to mockchain using -a
  - add epel-7-aarch64 config
  - better naming for tmp directories
  - Remove tmpdirs regardless of buildroot existence (msimacek@redhat.com)
  - clarify examples of using more_buildreqs feature
    (gitDeveloper@bitthinker.com)
  - fix more_buildreqs case: correctly compare if req is basestring
    (gitDeveloper@bitthinker.com)
  - fix formating a bit (gitDeveloper@bitthinker.com)
  - add missing step in 'getting & compiling' part (gitDeveloper@bitthinker.com)
  - Add bash completion for .cfg files outside /etc/mock (#20)
    (github@kayari.org)
  - man: example how to use --plugin-option
  - require most recent distribution-gpg-keys to get F25 keys
  - man: state that shell does not produce logs
  - Delay mounting of user-defined mountpoints (rhbz#1386544)
    (msimacek@redhat.com)
  - man: clarify chroot cleanups


author: Miroslav Suchý <msuchy@redhat.com> 1.3.4-1
changelog:
  - add support for dist-git to scm plugin (clime@redhat.com)
  - preserve mode of files when doing chroot_scan [RHBZ#1297430]
    (msuchy@redhat.com)
  - spec: add to package pycache for subpackages (msuchy@redhat.com)
  - restore permissions on chroot_scan dir (drop to unprivUid, unprivGid)
    (gitDeveloper@bitthinker.com)
  - add fedora 26 configs (msuchy@redhat.com)
  - config: add best=1 also into rawhide configs (praiskup@redhat.com)
  - rename package_state's log to have .log suffix (gitDeveloper@bitthinker.com)
  - systemd-nspawn: run as PID2 #36 (msuchy@redhat.com)
  - fix defaults for yum_builddep_opts (gitDeveloper@bitthinker.com)
  - Support nspawn_args (walters@verbum.org)
  - return exit code 2 when /usr/libexec/mock/mock run directly without
    consolehelper (msuchy@redhat.com)
  - change path of /usr/sbin/mock in error message (msuchy@redhat.com)
  - Fix debuginfo repo naming (msimacek@redhat.com)
  - more examples of PS1 [RHBZ#1183733] (msuchy@redhat.com)
  - simplify PROMPT_COMMAND string (msuchy@redhat.com)
  - "Rawhide" has been changed to "rawhide" in os-release file in current rawhide
    (F26) [RHBZ#1409735] (msuchy@redhat.com)
  - Update local repo URLs for rawhide (mizdebsk@redhat.com)
  - Switch kojipkgs URLs to https (mizdebsk@redhat.com)
  - run pylint on plugins too (msuchy@redhat.com)
  - introduce hw_info plugin (msuchy@redhat.com)
  - remove fedora-23 configs (msuchy@redhat.com)


