public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Pavel Raiskup <pavel@raiskup.cz>
To: git-commits@fedoraproject.org
Subject: [rpms/mock] main: Update mock to 6.8-1
Date: Tue, 11 Aug 2026 16:52:06 GMT	[thread overview]
Message-ID: <178646712668.1.17952165641562666885.rpms-mock-eed955de2d04@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/mock
Branch : main
Commit : eed955de2d04cc101f3707f4fce806d7b08f102a
Author : Pavel Raiskup <pavel@raiskup.cz>
Date   : 2026-08-11T18:51:26+02:00
Stats  : +69/-11 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/mock/c/eed955de2d04cc101f3707f4fce806d7b08f102a?branch=main

Log:
Update mock to 6.8-1

---
diff --git a/mock.spec b/mock.spec
index 0914c93..d9f9d2d 100644
--- a/mock.spec
+++ b/mock.spec
@@ -1,5 +1,6 @@
 %bcond_with lint
 %bcond_without tests
+%bcond_with polkit
 
 # Modern distributions (using RPM v4.20+; for example, Fedora 42+) do not
 # require the %%pre scriptlet for creating users/groups because the sysusers
@@ -18,8 +19,8 @@
 
 Summary: Builds packages inside chroots
 Name: mock
-Version: 6.7
-Release: 3%{?dist}
+Version: 6.8
+Release: 1%{?dist}
 License: GPL-2.0-or-later
 # Source is created by
 # git clone https://github.com/rpm-software-management/mock.git
@@ -31,16 +32,22 @@ URL: https://github.com/rpm-software-management/mock/
 BuildArch: noarch
 Requires: tar
 Requires: pigz
+%if %{without polkit}
 %if 0%{?mageia}
 Requires: usermode-consoleonly
 %else
 Requires: usermode
 %endif
+%endif
 Requires: createrepo_c
 
+%if %{with polkit}
+Requires: polkit
+%endif
+
 # We know that the current version of mock isn't compatible with older variants,
 # and we want to enforce automatic upgrades.
-Conflicts: mock-core-configs < 33
+Conflicts: mock-core-configs < 45.1
 
 # Requires 'mock-core-configs', or replacement (GitHub PR#544).
 Requires: mock-configs
@@ -185,6 +192,12 @@ for i in docs/mock.1 docs/mock-parse-buildlog.1; do
     perl -p -i -e 's|\@VERSION\@|%{version}"|' $i
 done
 
+%if 0%{?fedora} >= 44 || 0%{?rhel} >= 11
+for i in docs/site-defaults.cfg py/mockbuild/config.py; do
+    perl -p -i -e 's|config_opts\["shadow_utils_isolation_option"\] = .*|config_opts["shadow_utils_isolation_option"] = "--root"|' "$i"
+done
+%endif
+
 ./precompile-bash-completion "mock.complete"
 
 argparse-manpage --pyfile ./py/mock-hermetic-repo.py --function _argparser > mock-hermetic-repo.1
@@ -201,16 +214,29 @@ install mockchain %{buildroot}%{_bindir}/mockchain
 install py/mock-hermetic-repo.py %{buildroot}%{_bindir}/mock-hermetic-repo
 install py/mock-parse-buildlog.py %{buildroot}%{_bindir}/mock-parse-buildlog
 install py/mock.py %{buildroot}%{_libexecdir}/mock/mock
+%if %{with polkit}
+install etc/polkit/mock-pkexec.sh %{buildroot}%{_bindir}/mock
+%else
 ln -s consolehelper %{buildroot}%{_bindir}/mock
- 
+%endif
+
 install -d %{buildroot}%{_sysconfdir}/pam.d
 cp -a etc/pam/* %{buildroot}%{_sysconfdir}/pam.d/
 
 install -d %{buildroot}%{_sysconfdir}/mock
 cp -a etc/mock/* %{buildroot}%{_sysconfdir}/mock/
 
+%if %{without polkit}
 install -d %{buildroot}%{_sysconfdir}/security/console.apps/
 cp -a etc/consolehelper/mock %{buildroot}%{_sysconfdir}/security/console.apps/%{name}
+%endif
+
+%if %{with polkit}
+install -d %{buildroot}%{_datadir}/polkit-1/actions
+install -d %{buildroot}%{_datadir}/polkit-1/rules.d
+cp -a etc/polkit/org.rpm.mock.policy %{buildroot}%{_datadir}/polkit-1/actions/org.rpm.mock.policy
+cp -a etc/polkit/org.rpm.mock.rules %{buildroot}%{_datadir}/polkit-1/rules.d/org.rpm.mock.rules
+%endif
 
 install -d %{buildroot}%{_datadir}/bash-completion/completions/
 cp -a etc/bash_completion.d/* %{buildroot}%{_datadir}/bash-completion/completions/
@@ -269,6 +295,11 @@ pylint-3 py/mockbuild/ py/*.py py/mockbuild/plugins/* || :
 %{_datadir}/bash-completion/completions/mock
 %{_datadir}/bash-completion/completions/mock-parse-buildlog
 
+%if %{with polkit}
+%attr(0644,root,root) %{_datadir}/polkit-1/actions/org.rpm.mock.policy
+%attr(0644,root,root) %{_datadir}/polkit-1/rules.d/org.rpm.mock.rules
+%endif
+
 # executables
 %{_bindir}/mock
 %{_bindir}/mockchain
@@ -289,7 +320,9 @@ pylint-3 py/mockbuild/ py/*.py py/mockbuild/plugins/* || :
 %config(noreplace) %{_sysconfdir}/%{name}/*.ini
 %config(noreplace) %{_sysconfdir}/%{name}/hermetic-build.cfg
 %config(noreplace) %{_sysconfdir}/pam.d/%{name}
+%if %{without polkit}
 %config(noreplace) %{_sysconfdir}/security/console.apps/%{name}
+%endif
 
 # directory for personal gpg keys
 %dir %{_sysconfdir}/pki/mock
@@ -330,11 +363,36 @@ pylint-3 py/mockbuild/ py/*.py py/mockbuild/plugins/* || :
 
 
 %changelog
-* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 6.7-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
-
-* Thu Jun 04 2026 Python Maint <python-maint@redhat.com> - 6.7-2
-- Rebuilt for Python 3.15
+* Tue Aug 11 2026 Pavel Raiskup <pavel@raiskup.cz> 6.8-1
+- bump Conflicts to mock-core-configs < 45.1
+- Document oci_platform_map as a temporary workaround
+- Allow --disable-plugin buildroot_lock with --calculate-build-dependencies
+- buildroot_lock: don't inspect bootstrap image when not used
+- No --allowerasing for `dnf5 list`
+- Include support for polkit (rajibade@amazon.com)
+- Add support for isolated %%check phase
+- Add pivot_root_chroot option to enable user namespaces (tkopecek@redhat.com)
+- fix: add HTTP 503 to retry status_forcelist in mock-hermetic-repo (scoheb@gmail.com)
+- unbreq plugin: disable SRPM caching (marian.koncek@mailbox.org)
+- unbreq plugin: do not treat not installed packages as unused (marian.koncek@mailbox.org)
+- Add system monitor plugin  (#1748) (yaneti@declera.com)
+- fix: reload uidManager with chrootuid/chrootgid from config
+- Don't use --allowerasing with 'dnf download' (logans@cottsay.net)
+- fix: add newline at the end of each line of available_pkgs.log (msuchy@redhat.com)
+- feat: remove pkgid from package_state plugin output (msuchy@redhat.com)
+- add rpm as deps to tox tests (msuchy@redhat.com)
+- fix: preserve readable permissions when copying spec files into chroot (#1300) (msuchy@redhat.com)
+- fix: add timeout to podman pull to prevent indefinite hangs (#1680) (msuchy@redhat.com)
+- bash-completion: localrepo takes a directory arg (linux@cmadams.net)
+- bash-completion: chain doesn't take an config arg (linux@cmadams.net)
+- fix: --verbose no longer duplicates build log into root log (#1302) (msuchy@redhat.com)
+- shadow_utils: useradd --root for newer systems (praiskup@redhat.com)
+- generate available_pkgs.log for dnf5/dnf4 package managers (msuchy@redhat.com)
+- fix: preserve dnf.conf/yum.conf timestamps when content is unchanged (msuchy@redhat.com)
+- feat: add OCI platform support for x86_64 sub-architecture containers (andrew.lukoshko@gmail.com)
+- Decode file:// repo paths before bootstrap bind mount (lukas.lipinsky@oracle.com)
+- Fix the tool check (tkopecek@redhat.com)
+- Refactor NS resolver logic for clarity and consistency
 
 * Tue Mar 03 2026 Pavel Raiskup <pavel@raiskup.cz> 6.7-1
 - mock: Use umask 0022 instead of 0002 to avoid strange permissions (ngompa@velocitylimitless.com)
@@ -821,7 +879,7 @@ pylint-3 py/mockbuild/ py/*.py py/mockbuild/plugins/* || :
 - load secondary groups [RHBZ#1264005]
 - pass --allowerasing by default to DNF [GH#251]
 - make include() functional for --chain [GH#263]
-- Removing buildstderr from log - configurable via 
+- Removing buildstderr from log - configurable via
   _mock_stderr_line_prefix (sisi.chlupova@gmail.com)
 - Fixup: Use rpm -qa --root instead of running rpm -qa in chroot
   (miro@hroncok.cz)

diff --git a/sources b/sources
index d722bf2..d0f12dd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (mock-6.7.tar.gz) = bf310743bf3d965f2defee093d88d189be00ee2d9f1a9b78c69f10ae9ccfa3a22671e1589dd79d6c0a6075546b660a0c5672aa782fb34d2334ce7c25b7ed31d1
+SHA512 (mock-6.8.tar.gz) = abebf0744ea5c4247fd3fab3cfc55d38d8d4dfeced99c9b9935515e93169ccf689987c469a8d226e16f125052e9c317765fd28eb87baedd39fa1325a2f3acc05

                 reply	other threads:[~2026-08-11 16:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178646712668.1.17952165641562666885.rpms-mock-eed955de2d04@fedoraproject.org \
    --to=pavel@raiskup.cz \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox