public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Packit <hello@packit.dev>
To: git-commits@fedoraproject.org
Subject: [rpms/bootc] f43: Update to 1.17.4 upstream release
Date: Thu, 05 Nov 2026 15:06:37 GMT [thread overview]
Message-ID: <179389119727.1.3064050956480674541.rpms-bootc-6955c2ecab77@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/bootc
Branch : f43
Commit : 6955c2ecab771af73830698a02035145d081661e
Author : Packit <hello@packit.dev>
Date : 2026-11-04T20:32:37+00:00
Stats : +48/-13 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/bootc/c/6955c2ecab771af73830698a02035145d081661e?branch=f43
Log:
Update to 1.17.4 upstream release
Upstream tag: v1.17.4
Upstream commit: 7cde7bbe
Commit authored by Packit automation (https://packit.dev/)
---
diff --git a/.gitignore b/.gitignore
index 07b36b9..8152547 100644
--- a/.gitignore
+++ b/.gitignore
@@ -108,3 +108,5 @@
/bootc-1.16.13-vendor.tar.zstd
/bootc-1.17.1.tar.zstd
/bootc-1.17.1-vendor.tar.zstd
+/bootc-1.17.4.tar.zstd
+/bootc-1.17.4-vendor.tar.zstd
diff --git a/.packit.yaml b/.packit.yaml
index e2f7430..4ad6464 100644
--- a/.packit.yaml
+++ b/.packit.yaml
@@ -128,6 +128,12 @@ jobs:
trigger: release
dist_git_branches:
- fedora-all
+ files_to_sync:
+ - src: contrib/packaging/bootc.spec
+ dest: bootc.spec
+ - src: contrib/packaging/bootc.rpmlintrc
+ dest: bootc.rpmlintrc
+ - .packit.yaml
- job: koji_build
trigger: commit
diff --git a/README.packit b/README.packit
index 41bc266..3fdb131 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
-The file was generated using packit 1.16.3.post1.dev11+g14b012ef4.
+The file was generated using packit 1.17.0.post1.dev6+g30c4cb512.
diff --git a/bootc.rpmlintrc b/bootc.rpmlintrc
new file mode 100644
index 0000000..291607e
--- /dev/null
+++ b/bootc.rpmlintrc
@@ -0,0 +1,13 @@
+# "Bootable" is a legitimate term here
+addFilter(r"spelling-error .*Bootable")
+
+# These point into /sysroot, which only exists on a booted bootc system
+addFilter(r"dangling-relative-symlink /usr/lib/bootc/storage ")
+addFilter(r"dangling-relative-symlink /usr/share/doc/bootc/baseimage/base/ostree ")
+
+# A made up provides so that rpm-ostree can depend on it
+addFilter(r"unversioned-explicit-provides ostree-cli\(ostree-container\)")
+
+# Placeholder to preserve an otherwise empty directory,
+# see https://github.com/coreos/rpm-ostree/issues/5420
+addFilter(r"hidden-file-or-dir /usr/share/doc/bootc/baseimage/base/sysroot/\.keepdir")
diff --git a/bootc.spec b/bootc.spec
index 09f6ba5..b6567f0 100644
--- a/bootc.spec
+++ b/bootc.spec
@@ -20,7 +20,7 @@
%bcond_with rhel9
%endif
-%global rust_minor %(rustc --version | cut -f2 -d" " | cut -f2 -d".")
+%global rust_minor %(rustc --version 2>/dev/null | cut -f2 -d" " | cut -f2 -d".")
# https://github.com/bootc-dev/bootc/issues/1640
%if 0%{?fedora} || 0%{?rhel} >= 10 || 0%{?rust_minor} >= 89
@@ -31,7 +31,7 @@
Name: bootc
# Ensure this local build overrides anything else.
-Version: 1.17.1
+Version: 1.17.4
Release: %{autorelease}
Summary: Bootable container system
@@ -95,7 +95,8 @@ Recommends: podman
# The reinstall subpackage intentionally does not require bootc, as it pulls in many unnecessary dependencies
%description -n system-reinstall-bootc
-This package provides a utility to simplify reinstalling the current system to a given bootc image.
+This package provides a utility to simplify reinstalling the current system
+to a given bootc image.
%if %{with tests}
%package tests
@@ -123,8 +124,8 @@ cat vendor-config.toml >> .cargo/config.toml
rm vendor-config.toml
%else
# Container build: source already at _builddir (/src), nothing to extract
-# RPM's %mkbuilddir creates a subdirectory; symlink it back to the source.
-# F45+ RPM also creates rpmbuild.env in the subdir that %build will source,
+# RPM's %%mkbuilddir creates a subdirectory; symlink it back to the source.
+# F45+ RPM also creates rpmbuild.env in the subdir that %%build will source,
# so preserve it before replacing the directory with a symlink.
cd ..
if [ -f %{name}-%{version}-build/rpmbuild.env ]; then
@@ -137,8 +138,6 @@ cd %{name}-%{version}-build
%build
export SYSTEM_REINSTALL_BOOTC_INSTALL_PODMAN_PATH=%{system_reinstall_bootc_install_podman_path}
-# Build this first to avoid feature skew
-make manpages
# Build all binaries
%if 0%{?container_build}
@@ -156,6 +155,17 @@ cargo build -j%{_smp_build_ncpus} --release %{?with_rhsm:--features rhsm} %{?wit
%endif
%endif
+# The generated CLI sections in the man page sources are kept in sync by CI,
+# so just convert them; this avoids building bootc a second time.
+# Outside of container builds, use the same cargo environment and profile as
+# %%cargo_build/%%cargo_test, so xtask doesn't invalidate their shared state
+# (target/release is a symlink to target/rpm, created by %%cargo_prep).
+%if 0%{?container_build}
+make manpages-no-sync
+%else
+make manpages-no-sync XTASK_PROFILE=rpm CARGO="%{__cargo}"
+%endif
+
%if ! 0%{?container_build}
%cargo_vendor_manifest
# https://pagure.io/fedora-rust/rust-packaging/issue/33
@@ -165,8 +175,10 @@ sed -i -e '/https:\/\//d' cargo-vendor.txt
%endif
%install
-# Pass CARGO_FEATURES explicitly to prevent auto-detection rebuild in install environment
-%make_install INSTALL="install -p -c" CARGO_FEATURES="%{?with_rhsm:rhsm} %{?with_rhel9:rhel9}"
+# Everything was built in %%build; SKIP_BUILD=1 keeps make from invoking cargo
+# again (which would also overwrite the %%cargo_build output in target/rpm via
+# the target/release symlink created by %%cargo_prep).
+%make_install INSTALL="install -p -c" SKIP_BUILD=1
%if %{with ostree_ext}
make install-ostree-hooks DESTDIR=%{?buildroot}
%endif
@@ -181,7 +193,7 @@ EOF
chmod +x %{?buildroot}/%{system_reinstall_bootc_install_podman_path}
# generate doc file list excluding directories; workaround for
# https://github.com/coreos/rpm-ostree/issues/5420
-touch %{?buildroot}/%{_docdir}/bootc/baseimage/base/sysroot/.keepdir
+echo "Placeholder to preserve this directory, see https://github.com/coreos/rpm-ostree/issues/5420" > %{?buildroot}/%{_docdir}/bootc/baseimage/base/sysroot/.keepdir
find %{?buildroot}/%{_docdir} ! -type d -printf '%{_docdir}/%%P\n' | sort > bootcdoclist.txt
rm -f %{buildroot}/%{_datadir}/elvish/lib/bootc.elv
@@ -213,6 +225,7 @@ fi
%endif
%{_unitdir}/*
%{_mandir}/man*/*bootc*
+%exclude %{_mandir}/man8/system-reinstall-bootc.8*
%if 0%{?rhel} && 0%{?rhel} <= 9
%{_datadir}/bash-completion/completions/bootc
%{_datadir}/zsh/site-functions/_bootc
@@ -226,6 +239,7 @@ fi
%files -n system-reinstall-bootc
%{_bindir}/system-reinstall-bootc
%{system_reinstall_bootc_install_podman_path}
+%{_mandir}/man8/system-reinstall-bootc.8*
%if %{with tests}
%files tests
diff --git a/sources b/sources
index 69490f2..0e5f286 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (bootc-1.17.1.tar.zstd) = 691daec0192e6d9eac3239268d971460f02036ba85184861c1f2d197931049bc3e96c4fb88a619fdc441928bbf3ca4f993db36ff53cc408a7a6221d89e90145b
-SHA512 (bootc-1.17.1-vendor.tar.zstd) = 79616da598d3c6972674deae3aa5b05b2c50dc792d72b4f3a025c6508ee9f3c4362301bbfa6bac5f39d5ecc50843c0ac53be9c0531648a79903084c119e3cb7f
+SHA512 (bootc-1.17.4.tar.zstd) = a91689025bfdf9d368ac23bf67be6f81168e96c60d77a7cf7cb10eed5fca884aec561c509676bf70aa302835d5879fdeb1267e14b2e253468547bed93b5992ce
+SHA512 (bootc-1.17.4-vendor.tar.zstd) = f0d827eb07ea6dc726841d5488f2dc2c6d091964e508ddec77204481905d1292ae06e224a52081002a79105fae309ee33a3801bbafc114966d3eab41db15d076
reply other threads:[~2026-11-05 15:06 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=179389119727.1.3064050956480674541.rpms-bootc-6955c2ecab77@fedoraproject.org \
--to=hello@packit.dev \
--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